node: doubled solana governor limits

This commit is contained in:
Kevin Peters 2022-09-13 12:05:51 +00:00 committed by Evan Gray
parent f49c86208b
commit 002de06ab5
2 changed files with 3 additions and 3 deletions

View File

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

View File

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