diff --git a/core/services/relay/evm/chain_reader.go b/core/services/relay/evm/chain_reader.go index c33a942166a..c9cc18e34a7 100644 --- a/core/services/relay/evm/chain_reader.go +++ b/core/services/relay/evm/chain_reader.go @@ -309,6 +309,7 @@ func (cr *chainReader) getEventInput(def types.ChainReaderDefinition, contractNa types.CodecEntry, commoncodec.Modifier, error) { inputInfo := cr.parsed.EncoderDefs[WrapItemType(contractName, eventName, true)] + // TODO can this be simplified? Isn't this same as inputInfo.Modifier()? BCI-3909 inMod, err := def.InputModifications.ToModifier(codec.DecoderHooks...) if err != nil { return nil, nil, err @@ -324,7 +325,6 @@ func (cr *chainReader) getEventInput(def types.ChainReaderDefinition, contractNa func (cr *chainReader) addEncoderDef(contractName, itemType string, args abi.Arguments, prefix []byte, inputModifications commoncodec.ModifiersConfig) error { // ABI.Pack prepends the method.ID to the encodings, we'll need the encoder to do the same. - // TODO can this be simplified? Isn't this same as inputInfo.Modifier()? BCI-3909 inputMod, err := inputModifications.ToModifier(codec.DecoderHooks...) if err != nil { return err diff --git a/core/services/relay/evm/evmtesting/run_tests.go b/core/services/relay/evm/evmtesting/run_tests.go index 9f9347448f8..85ed9f86758 100644 --- a/core/services/relay/evm/evmtesting/run_tests.go +++ b/core/services/relay/evm/evmtesting/run_tests.go @@ -1,7 +1,6 @@ package evmtesting import ( - "log" "math/big" "reflect" "time" @@ -42,7 +41,6 @@ func RunContractReaderEvmTests[T TestingT[T]](t T, it *EVMChainComponentsInterfa } SubmitTransactionToCW(t, it, "triggerEventWithDynamicTopic", DynamicEvent{Field: anyString}, bindings[0], types.Unconfirmed) - log.Println("TRACE: setup complete") input := struct{ Field string }{Field: anyString} tp := cr.(clcommontypes.ContractTypeProvider)