Skip to content

Commit

Permalink
chore: decrease ARB_LENGTH further
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-llimos committed Dec 18, 2024
1 parent 88dddea commit dd79b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bouncer/shared/swapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const MAX_CCM_ADDITIONAL_DATA_LENGTH = 1000;
// In Arbitrum's localnet extremely large messages end up with large gas estimations
// of >70M gas, surpassing our hardcoded gas limit (25M) and Arbitrum's block gas
// gas limit (32M). We cap it to a lower value than Ethereum to work around that.
const ARB_MAX_CCM_MSG_LENGTH = MAX_CCM_MSG_LENGTH / 5;
const ARB_MAX_CCM_MSG_LENGTH = MAX_CCM_MSG_LENGTH / 6;

// Solana transactions have a length of 1232. Cappig it to some reasonable values
// that when construction the call the Solana length is not exceeded.
Expand Down

0 comments on commit dd79b73

Please sign in to comment.