Skip to content

Commit

Permalink
Add bytes type to abi_type (smartcontractkit#12029)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolag authored Feb 14, 2024
1 parent 9a687b0 commit 1e6b42e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/services/relay/evm/types/abi_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ var typeMap = map[string]*ABIEncodingType{
native: reflect.TypeOf(common.Address{}),
checked: reflect.TypeOf(common.Address{}),
},
"bytes": {
native: reflect.TypeOf([]byte{}),
checked: reflect.TypeOf([]byte{}),
},
}

type ABIEncodingType struct {
Expand Down

0 comments on commit 1e6b42e

Please sign in to comment.