chore: reduce batch size for goerli arbitrum/optimism
This commit is contained in:
parent
0ae7aa44f0
commit
21d9d17cdc
|
@ -42,11 +42,13 @@ var (
|
|||
binanceChainMaxInitialRange = big.NewInt(500000)
|
||||
binanceChainErc20BatchSize = big.NewInt(5000)
|
||||
goerliErc20BatchSize = big.NewInt(100000)
|
||||
goerliErc20ArbitrumBatchSize = big.NewInt(100000)
|
||||
goerliErc20ArbitrumBatchSize = big.NewInt(10000)
|
||||
goerliErc20OptimismBatchSize = big.NewInt(10000)
|
||||
erc20BatchSize = big.NewInt(500000)
|
||||
binancChainID = uint64(56)
|
||||
goerliChainID = uint64(5)
|
||||
goerliArbitrumChainID = uint64(421613)
|
||||
goerliOptimismChainID = uint64(420)
|
||||
binanceTestChainID = uint64(97)
|
||||
)
|
||||
|
||||
|
@ -132,6 +134,10 @@ func getErc20BatchSize(chainID uint64) *big.Int {
|
|||
return goerliErc20BatchSize
|
||||
}
|
||||
|
||||
if chainID == goerliOptimismChainID {
|
||||
return goerliErc20OptimismBatchSize
|
||||
}
|
||||
|
||||
if chainID == goerliArbitrumChainID {
|
||||
return goerliErc20ArbitrumBatchSize
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue