@@ -78,18 +78,19 @@ const (
7878)
7979
8080const (
81- payloadLengthBytes = 4
82- calldataNonZeroByteGas = 16
83- coldSloadGas = 2100
84- coldAddressAccessGas = 2600
85- warmAddressAccessGas = 100
86- warmSloadGas = 100
87- baseTxGas = 21000
88- sstoreGas = 20000
89- extraGasCost = 100000 // over-estimate the gas cost for ops like _getAdmin, _implementation, _requireNotPaused, etc
90- skippedL1MessageBitmapByteSize = 32
91- functionSignatureBytes = 4
92- defaultParameterBytes = 32
81+ payloadLengthBytes = 4
82+ calldataNonZeroByteGas = 16
83+ coldSloadGas = 2100
84+ coldAddressAccessGas = 2600
85+ warmAddressAccessGas = 100
86+ warmSloadGas = 100
87+ baseTxGas = 21000
88+ sstoreGas = 20000
89+ extraGasCost = 100000 // over-estimate the gas cost for ops like _getAdmin, _implementation, _requireNotPaused, etc
90+ blobTxPointEvaluationPrecompileGas = 50000
91+ skippedL1MessageBitmapByteSize = 32
92+ functionSignatureBytes = 4
93+ defaultParameterBytes = 32
9394)
9495
9596// Block represents an L2 block.
@@ -628,9 +629,9 @@ func GetHardforkName(config *params.ChainConfig, blockHeight, blockTimestamp uin
628629 return "homestead"
629630 } else if ! config .IsCurie (blockHeightBigInt ) {
630631 return "bernoulli"
631- } else if ! config .IsDarwin (blockHeightBigInt , blockTimestamp ) {
632+ } else if ! config .IsDarwin (blockTimestamp ) {
632633 return "curie"
633- } else if ! config .IsDarwinV2 (blockHeightBigInt , blockTimestamp ) {
634+ } else if ! config .IsDarwinV2 (blockTimestamp ) {
634635 return "darwin"
635636 } else {
636637 return "darwinV2"
@@ -644,9 +645,9 @@ func GetCodecVersion(config *params.ChainConfig, blockHeight, blockTimestamp uin
644645 return CodecV0
645646 } else if ! config .IsCurie (blockHeightBigInt ) {
646647 return CodecV1
647- } else if ! config .IsDarwin (blockHeightBigInt , blockTimestamp ) {
648+ } else if ! config .IsDarwin (blockTimestamp ) {
648649 return CodecV2
649- } else if ! config .IsDarwinV2 (blockHeightBigInt , blockTimestamp ) {
650+ } else if ! config .IsDarwinV2 (blockTimestamp ) {
650651 return CodecV3
651652 } else {
652653 return CodecV4
0 commit comments