From ac9313deea7f660ebfa76d2025215adcecf111b2 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Wed, 23 Apr 2025 18:42:33 +0200 Subject: [PATCH] rename to AuthorizationList --- ethclient/ethclient.go | 4 ++-- ethclient/gethclient/gethclient.go | 4 ++-- interfaces.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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