This repository was archived by the owner on Oct 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ package config
3
3
import "math/big"
4
4
5
5
var (
6
- EthereumChainID = big .NewInt (1 )
7
- GoerliChainID = big .NewInt (5 )
8
- ArbitrumOneChainID = big .NewInt (42161 )
9
- ArbitrumGoerliChainID = big .NewInt (421613 )
10
- OptimismChainID = big .NewInt (10 )
11
- OptimismGoerliChainID = big .NewInt (420 )
12
- BaseChainID = big .NewInt (8453 )
13
- BaseGoerliChainID = big .NewInt (84531 )
6
+ EthereumChainID = big .NewInt (1 )
7
+ GoerliChainID = big .NewInt (5 )
8
+ ArbitrumOneChainID = big .NewInt (42161 )
9
+ ArbitrumGoerliChainID = big .NewInt (421613 )
10
+ ArbitrumSepoliaChainID = big .NewInt (421614 )
11
+ OptimismChainID = big .NewInt (10 )
12
+ OptimismGoerliChainID = big .NewInt (420 )
13
+ BaseChainID = big .NewInt (8453 )
14
+ BaseGoerliChainID = big .NewInt (84531 )
14
15
)
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ func PrivateMode() {
82
82
}
83
83
84
84
ov := gas .NewDefaultOverhead ()
85
- if chain .Cmp (config .ArbitrumOneChainID ) == 0 || chain .Cmp (config .ArbitrumGoerliChainID ) == 0 {
85
+ if chain .Cmp (config .ArbitrumOneChainID ) == 0 || chain .Cmp (config .ArbitrumGoerliChainID ) == 0 ||
86
+ chain .Cmp (config .ArbitrumSepoliaChainID ) == 0 {
86
87
ov .SetCalcPreVerificationGasFunc (gas .CalcArbitrumPVGWithEthClient (rpc , conf .SupportedEntryPoints [0 ]))
87
88
ov .SetPreVerificationGasBufferFactor (16 )
88
89
}
You can’t perform that action at this time.
0 commit comments