diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index c662ed13c5..352e6abc2c 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -754,8 +754,8 @@ func toCallArg(msg ethereum.CallMsg) interface{} { if msg.BlobHashes != nil { arg["blobVersionedHashes"] = msg.BlobHashes } - if msg.AuthList != nil { - arg["authorizationList"] = msg.AuthList + if msg.AuthorizationList != nil { + arg["authorizationList"] = msg.AuthorizationList } return arg } diff --git a/ethclient/gethclient/gethclient.go b/ethclient/gethclient/gethclient.go index e74f335a17..39ac4ff20f 100644 --- a/ethclient/gethclient/gethclient.go +++ b/ethclient/gethclient/gethclient.go @@ -251,8 +251,8 @@ func toCallArg(msg ethereum.CallMsg) interface{} { if msg.BlobHashes != nil { arg["blobVersionedHashes"] = msg.BlobHashes } - if msg.AuthList != nil { - arg["authorizationList"] = msg.AuthList + if msg.AuthorizationList != nil { + arg["authorizationList"] = msg.AuthorizationList } return arg } diff --git a/interfaces.go b/interfaces.go index e7ccb93c15..54a215d6e7 100644 --- a/interfaces.go +++ b/interfaces.go @@ -158,7 +158,7 @@ type CallMsg struct { BlobHashes []common.Hash // For SetCodeTxType - AuthList []types.SetCodeAuthorization + AuthorizationList []types.SetCodeAuthorization } // A ContractCaller provides contract calls, essentially transactions that are executed by