Skip to content

0.1.4

Compare
Choose a tag to compare
@mfornet mfornet released this 23 Jul 20:12
· 79 commits to master since this release
0035d83

Update gas parameters

/// Gas to initialize BridgeToken contract.
const BRIDGE_TOKEN_NEW: Gas = 10_000_000_000_000;

/// Gas to call mint method on bridge token.
const MINT_GAS: Gas = 10_000_000_000_000;

/// Gas to call ft_transfer_call when the target of deposit is a contract
const FT_TRANSFER_CALL_GAS: Gas = 50_000_000_000_000;

/// Gas to call finish deposit method.
/// This doesn't cover the gas required for calling mint method.
const FINISH_DEPOSIT_GAS: Gas = 30_000_000_000_000;

/// Gas to call verify_log_entry on prover.
const VERIFY_LOG_ENTRY_GAS: Gas = 50_000_000_000_000;