Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node: Revert #4225 (Double the limits on Ethereum and Solana) #4247

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 100_000_000, bigTransactionSize: 5_000_000},
{emitterChainID: vaa.ChainIDEthereum, dailyLimit: 200_000_000, bigTransactionSize: 10_000_000},
{emitterChainID: vaa.ChainIDSolana, dailyLimit: 50_000_000, bigTransactionSize: 2_500_000},
{emitterChainID: vaa.ChainIDEthereum, dailyLimit: 100_000_000, bigTransactionSize: 5_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(200_000_001)
max_daily_limit := uint64(100_000_001)

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