Skip to content

Commit

Permalink
node: doubled solana governor limits
Browse files Browse the repository at this point in the history
  • Loading branch information
kev1n-peters authored and evan-gray committed Sep 13, 2022
1 parent f49c862 commit 002de06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node/pkg/governor/mainnet_chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func chainList() []chainConfigEntry {
return []chainConfigEntry{
chainConfigEntry{emitterChainID: vaa.ChainIDSolana, dailyLimit: 50_000_000, bigTransactionSize: 10_000_000},
chainConfigEntry{emitterChainID: vaa.ChainIDSolana, dailyLimit: 100_000_000, bigTransactionSize: 10_000_000},
chainConfigEntry{emitterChainID: vaa.ChainIDEthereum, dailyLimit: 50_000_000, bigTransactionSize: 5_000_000},
chainConfigEntry{emitterChainID: vaa.ChainIDTerra, dailyLimit: 5_000_000, bigTransactionSize: 500_000},
chainConfigEntry{emitterChainID: vaa.ChainIDBSC, dailyLimit: 5_000_000, bigTransactionSize: 500_000},
Expand Down
4 changes: 2 additions & 2 deletions node/pkg/governor/mainnet_chains_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ func TestChainDailyLimitRange(t *testing.T) {
min_daily_limit := uint64(0)

/* This IS NOT a hard limit, we can adjust it up as we see fit,
but setting something sane such that if we accidentially go
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(50000001)
max_daily_limit := uint64(100_000_001)

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

0 comments on commit 002de06

Please sign in to comment.