Skip to main content

SESSION_OPEN_FEE_PAYER_GAS_LIMIT

Constant SESSION_OPEN_FEE_PAYER_GAS_LIMIT 

Source
const SESSION_OPEN_FEE_PAYER_GAS_LIMIT: u64 = 2_000_000;
Expand description

Gas limit for session open transactions when the sponsor pays (feePayer: true). Set to the mpp-rs FeePayerPolicy::max_gas ceiling (MAX_FEE_PAYER_GAS_LIMIT = 2_000_000, inclusive); exceeding it causes the sponsor to reject the tx with verification-failed. The previous value of 1M was too tight for Tempo mainnet passkey-wallet escrow.open, which together with the inner approve consumes ~1.2M gas and ran out of gas on-chain (tx reverted, sponsor returned generic verification-failed).