Skip to content

Commit 883d94a

Browse files
authored
Double the limits on Ethereum and Solana (#4225)
* Double the limits on Ethereum and Solana Due to high network volumes on Ethereum and Solana, the limits are being doubled for these 2 chains * Fixed the hardcoded max daily limit in the tests
1 parent 8cf8650 commit 883d94a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

node/pkg/governor/mainnet_chains.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
func chainList() []chainConfigEntry {
1212
return []chainConfigEntry{
13-
{emitterChainID: vaa.ChainIDSolana, dailyLimit: 50_000_000, bigTransactionSize: 2_500_000},
14-
{emitterChainID: vaa.ChainIDEthereum, dailyLimit: 100_000_000, bigTransactionSize: 5_000_000},
13+
{emitterChainID: vaa.ChainIDSolana, dailyLimit: 100_000_000, bigTransactionSize: 5_000_000},
14+
{emitterChainID: vaa.ChainIDEthereum, dailyLimit: 200_000_000, bigTransactionSize: 10_000_000},
1515
{emitterChainID: vaa.ChainIDTerra, dailyLimit: 150_000, bigTransactionSize: 15_000},
1616
{emitterChainID: vaa.ChainIDBSC, dailyLimit: 5_000_000, bigTransactionSize: 500_000},
1717
{emitterChainID: vaa.ChainIDPolygon, dailyLimit: 5_000_000, bigTransactionSize: 500_000},

node/pkg/governor/mainnet_chains_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func TestChainDailyLimitRange(t *testing.T) {
3131
but setting something sane such that if we accidentally go
3232
too high that the unit tests will make sure it's
3333
intentional */
34-
max_daily_limit := uint64(100_000_001)
34+
max_daily_limit := uint64(200_000_001)
3535

3636
// Do not remove this assertion
3737
assert.NotEqual(t, max_daily_limit, uint64(0))

0 commit comments

Comments
 (0)