Skip to content

Commit

Permalink
fix evm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed May 31, 2024
1 parent 78b22de commit 8c504d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/services/relay/evm/write_target_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestEvmWrite(t *testing.T) {
require.NoError(t, err)
require.Equal(t, []byte{0x1, 0x2, 0x3}, payload["rawReport"])
require.Equal(t, [][]byte{}, payload["signatures"])
}).Twice()
}).Once()

t.Run("succeeds with valid report", func(t *testing.T) {
ctx := testutils.Context(t)
Expand Down Expand Up @@ -127,7 +127,9 @@ func TestEvmWrite(t *testing.T) {
require.NoError(t, err)

inputs, err := values.NewMap(map[string]any{
"report": nil,
"signed_report": map[string]any{
"report": nil,
},
})
require.NoError(t, err)

Expand Down

0 comments on commit 8c504d1

Please sign in to comment.