Skip to content

Commit 5ae3071

Browse files
committed
rm dead testnets
1 parent 3b5a6de commit 5ae3071

18 files changed

Lines changed: 5 additions & 313 deletions

pkg/automation/v21/logprovider/factory.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (o *LogTriggersOptions) Defaults(finalityDepth int64) {
7272

7373
func (o *LogTriggersOptions) defaultBlockRate() uint32 {
7474
switch o.chainID.Int64() {
75-
case 42161, 421613, 421614: // Arbitrum, Arb Goerli, Arb Sepolia
75+
case 42161, 421614: // Arbitrum, Arb Sepolia
7676
return 2
7777
default:
7878
return 1
@@ -81,9 +81,9 @@ func (o *LogTriggersOptions) defaultBlockRate() uint32 {
8181

8282
func (o *LogTriggersOptions) defaultLogLimit() uint32 {
8383
switch o.chainID.Int64() {
84-
case 1, 4, 5, 42, 11155111: // Eth, Rinkeby, Goerli, Kovan, Sepolia
84+
case 1, 11155111: // Eth, Sepolia
8585
return 20
86-
case 10, 420, 11155420, 56, 97, 137, 80001, 80002, 43114, 43113, 8453, 84531, 84532: // Optimism, OP Goerli, OP Sepolia, BSC, BSC Test, Polygon, Mumbai, Amoy, Avax, Avax Fuji, Base, Base Goerli, Base Sepolia
86+
case 10, 11155420, 56, 97, 137, 80002, 43114, 43113, 8453, 84532: // Optimism, OP Sepolia, BSC, BSC Test, Polygon, Amoy, Avax, Avax Fuji, Base, Base Sepolia
8787
return 4
8888
default:
8989
return 1

pkg/block/block_translator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ func Test_BlockTranslator(t *testing.T) {
4343
bt := block.NewBlockTranslator(ChainArbitrumMainnet(t).EVM().ChainType(), ethClient, lggr)
4444
assert.IsType(t, &block.ArbitrumBlockTranslator{}, bt)
4545

46-
bt = block.NewBlockTranslator(ChainArbitrumRinkeby(t).EVM().ChainType(), ethClient, lggr)
46+
bt = block.NewBlockTranslator(ChainArbitrumSepolia(t).EVM().ChainType(), ethClient, lggr)
4747
assert.IsType(t, &block.ArbitrumBlockTranslator{}, bt)
4848
})
4949
}
5050

5151
func ChainEthMainnet(t *testing.T) config.ChainScopedConfig { return scopedConfig(t, 1) }
5252
func ChainOptimismMainnet(t *testing.T) config.ChainScopedConfig { return scopedConfig(t, 10) }
5353
func ChainArbitrumMainnet(t *testing.T) config.ChainScopedConfig { return scopedConfig(t, 42161) }
54-
func ChainArbitrumRinkeby(t *testing.T) config.ChainScopedConfig { return scopedConfig(t, 421611) }
54+
func ChainArbitrumSepolia(t *testing.T) config.ChainScopedConfig { return scopedConfig(t, 421614) }
5555

5656
func scopedConfig(t *testing.T, chainID int64) config.ChainScopedConfig {
5757
id := sqlutil.NewI(chainID)

pkg/config/config_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,14 +308,11 @@ func TestChainScopedConfig_Profiles(t *testing.T) {
308308
}{
309309
{"default", 0, 500000, "0.00001"},
310310
{"mainnet", 1, 500000, "0.1"},
311-
{"kovan", 42, 500000, "0.1"},
312311

313312
{"optimism", 10, 500000, "0.00001"},
314313
{"optimism", 69, 500000, "0.00001"},
315-
{"optimism", 420, 500000, "0.00001"},
316314

317315
{"bscMainnet", 56, 500000, "0.00001"},
318-
{"hecoMainnet", 128, 500000, "0.00001"},
319316
{"fantomMainnet", 250, 500000, "0.00001"},
320317
{"fantomTestnet", 4002, 500000, "0.00001"},
321318
{"polygonMatic", 800001, 500000, "0.00001"},

pkg/config/toml/defaults/Arbitrum_Goerli.toml

Lines changed: 0 additions & 29 deletions
This file was deleted.

pkg/config/toml/defaults/Arbitrum_Rinkeby.toml

Lines changed: 0 additions & 26 deletions
This file was deleted.

pkg/config/toml/defaults/Base_Goerli.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

pkg/config/toml/defaults/Ethereum_Goerli.toml

Lines changed: 0 additions & 10 deletions
This file was deleted.

pkg/config/toml/defaults/Ethereum_Holesky.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

pkg/config/toml/defaults/Ethereum_Kovan.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

pkg/config/toml/defaults/Ethereum_Rinkeby.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)