File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,13 @@ export class MultiTokenNttAutomaticRoute<N extends Network>
57
57
static NATIVE_GAS_DROPOFF_SUPPORTED : boolean = false ;
58
58
59
59
// Standard Relayer gas limits for transfers
60
- // These default gas limits should be high enough to cover the gas usage of delivery or the delivery will fail.
61
- static SR_GAS_LIMIT : bigint = 300_000n ;
60
+ // The gas limit can vary depending on the complexity of the token contract and the specific EVM chain.
61
+ // A good upper bound for gas limits to accommodate most ERC-20 token transfers across multiple EVM chains
62
+ // should be used. This limit should cover the majority of tokens, including those with additional logic
63
+ // such as hooks or complex state changes.
64
+ static SR_GAS_LIMIT : bigint = 375_000n ;
62
65
// More gas is needed to create a token if it doesn't exist on the destination chain yet (unattested).
63
- static SR_GAS_LIMIT_CREATE_TOKEN : bigint = 1_000_000n ;
66
+ static SR_GAS_LIMIT_CREATE_TOKEN : bigint = 1_250_000n ;
64
67
65
68
// @ts -ignore
66
69
// Since we set the config on the static class, access it with this param
You can’t perform that action at this time.
0 commit comments