mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-03 19:51:15 +00:00
params: update regular per auth cost
This commit is contained in:
parent
22470f9617
commit
64d77794a7
1 changed files with 1 additions and 7 deletions
|
|
@ -101,13 +101,7 @@ const (
|
|||
TxAccessListStorageKeyGas uint64 = 1900 // Per storage key specified in EIP 2930 access list
|
||||
TxAuthTupleGas uint64 = 12500 // Per auth tuple code specified in EIP-7702
|
||||
|
||||
// RegularPerAuthBaseCost is defined in EIP-8037 as the sum of:
|
||||
//
|
||||
// - Calldata cost: 1,616 (101 bytes × 16)
|
||||
// - Recovering authority address (ecRecover)
|
||||
// - Reading nonce and code of authority (cold access)
|
||||
// - Storing values in already warm account: 2 x WARM_ACCESS
|
||||
RegularPerAuthBaseCost uint64 = 7500
|
||||
RegularPerAuthBaseCost uint64 = 7816 // As defined by EIP-8037 and EIP-8038
|
||||
|
||||
// EIP-2780: resource-based intrinsic transaction gas.
|
||||
TxBaseCost2780 uint64 = 12000
|
||||
|
|
|
|||
Loading…
Reference in a new issue