Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
nolag committed Jan 8, 2024
1 parent 6b86362 commit 30d2c26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/services/relay/evm/chain_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ func (it *chainReaderInterfaceTester) Setup(t *testing.T) {
MethodReturningSeenStruct: {
ChainSpecificName: "ReturnSeen",
InputModifications: codec.ModifiersConfig{
&codec.HardCodeConfig{
&codec.HardCodeModifierConfig{
OnChainValues: map[string]any{
"BigField": testStruct.BigField.String(),
"Account": hexutil.Encode(testStruct.Account),
},
},
},
OutputModifications: codec.ModifiersConfig{
&codec.HardCodeConfig{
&codec.HardCodeModifierConfig{
OffChainValues: map[string]any{"ExtraField": anyExtraValue}},
},
},
Expand Down
2 changes: 1 addition & 1 deletion core/services/relay/evm/codec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (it *codecInterfaceTester) GetCodec(t *testing.T) commontypes.Codec {
entry.TypeAbi = string(defBytes)
if k == TestItemWithConfigExtra {
entry.ModifierConfigs = codec.ModifiersConfig{
&codec.HardCodeConfig{
&codec.HardCodeModifierConfig{
OnChainValues: map[string]any{
"BigField": testStruct.BigField.String(),
"Account": hexutil.Encode(testStruct.Account),
Expand Down

0 comments on commit 30d2c26

Please sign in to comment.