• Mark Tyneway's avatar
    contracts-bedrock: update portal min gas limit · ee5c0ed1
    Mark Tyneway authored
    Prevent users from sending cross domain messages with too small
    of a gas limit. Users must pay for resources they consume. The
    L2 network must store deposit transactions in their history and
    they are also included in the p2p gossip of unsafe blocks.
    A linearly increasing requirement based on the calldata size
    is introduced. A base of 21k minimum gas limit is required when
    there is no gas limit, the formula `calldata.length * 16 + 21000`
    is used to enforce a min gas limit.
    
    The larger the gaslimit, the more ether that is burnt on L1.
    ee5c0ed1
Name
Last commit
Last update
..
actor-tests Loading commit data...
atst Loading commit data...
balance-monitor Loading commit data...
chain-mon Loading commit data...
common-ts Loading commit data...
contracts Loading commit data...
contracts-bedrock Loading commit data...
contracts-periphery Loading commit data...
core-utils Loading commit data...
data-transport-layer Loading commit data...
fault-detector Loading commit data...
hardhat-deploy-config Loading commit data...
message-relayer Loading commit data...
migration-data Loading commit data...
replica-healthcheck Loading commit data...
sdk Loading commit data...