Skip to content

Commit

Permalink
Double the limits on Ethereum and Solana (wormhole-foundation#4225)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
banescusebi authored Jan 19, 2025
1 parent 8cf8650 commit 883d94a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions node/pkg/governor/mainnet_chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

func chainList() []chainConfigEntry {
return []chainConfigEntry{
{emitterChainID: vaa.ChainIDSolana, dailyLimit: 50_000_000, bigTransactionSize: 2_500_000},
{emitterChainID: vaa.ChainIDEthereum, dailyLimit: 100_000_000, bigTransactionSize: 5_000_000},
{emitterChainID: vaa.ChainIDSolana, dailyLimit: 100_000_000, bigTransactionSize: 5_000_000},
{emitterChainID: vaa.ChainIDEthereum, dailyLimit: 200_000_000, bigTransactionSize: 10_000_000},
{emitterChainID: vaa.ChainIDTerra, dailyLimit: 150_000, bigTransactionSize: 15_000},
{emitterChainID: vaa.ChainIDBSC, dailyLimit: 5_000_000, bigTransactionSize: 500_000},
{emitterChainID: vaa.ChainIDPolygon, dailyLimit: 5_000_000, bigTransactionSize: 500_000},
Expand Down
2 changes: 1 addition & 1 deletion node/pkg/governor/mainnet_chains_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestChainDailyLimitRange(t *testing.T) {
but setting something sane such that if we accidentally go
too high that the unit tests will make sure it's
intentional */
max_daily_limit := uint64(100_000_001)
max_daily_limit := uint64(200_000_001)

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

0 comments on commit 883d94a

Please sign in to comment.