rename to AuthorizationList

This commit is contained in:
Sina Mahmoodi 2025-04-23 18:42:33 +02:00
parent 4c793dafd6
commit ac9313deea
3 changed files with 5 additions and 5 deletions

View file

@ -754,8 +754,8 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
if msg.BlobHashes != nil { if msg.BlobHashes != nil {
arg["blobVersionedHashes"] = msg.BlobHashes arg["blobVersionedHashes"] = msg.BlobHashes
} }
if msg.AuthList != nil { if msg.AuthorizationList != nil {
arg["authorizationList"] = msg.AuthList arg["authorizationList"] = msg.AuthorizationList
} }
return arg return arg
} }

View file

@ -251,8 +251,8 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
if msg.BlobHashes != nil { if msg.BlobHashes != nil {
arg["blobVersionedHashes"] = msg.BlobHashes arg["blobVersionedHashes"] = msg.BlobHashes
} }
if msg.AuthList != nil { if msg.AuthorizationList != nil {
arg["authorizationList"] = msg.AuthList arg["authorizationList"] = msg.AuthorizationList
} }
return arg return arg
} }

View file

@ -158,7 +158,7 @@ type CallMsg struct {
BlobHashes []common.Hash BlobHashes []common.Hash
// For SetCodeTxType // For SetCodeTxType
AuthList []types.SetCodeAuthorization AuthorizationList []types.SetCodeAuthorization
} }
// A ContractCaller provides contract calls, essentially transactions that are executed by // A ContractCaller provides contract calls, essentially transactions that are executed by