Browse Source

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
Sebastian Banescu 10 months ago
parent
commit
883d94a92c
2 changed files with 3 additions and 3 deletions
  1. 2 2
      node/pkg/governor/mainnet_chains.go
  2. 1 1
      node/pkg/governor/mainnet_chains_test.go

+ 2 - 2
node/pkg/governor/mainnet_chains.go

@@ -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},

+ 1 - 1
node/pkg/governor/mainnet_chains_test.go

@@ -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))