• Mark Tyneway's avatar
    contracts-bedrock: seize and split gas management · 4440ecbf
    Mark Tyneway authored
    Ensure that a constant amount of gas is passed to each account
    when splitting up the seized bond. We can assume that the recipients
    will be able to receive ether with 30,000 gas. It is the end user's
    fault if they do funny business in a fallback function and cannot
    receive the ether. We also cannot revert if the transfer fails
    because a malicious entity could prevent all other entities from
    receiving their funds. Previously, the amount of gas sent to each
    recipient was different and also based on the amount of gasleft
    in the execution. The problem with using gasleft here is that
    gas estimation will result in enough gas being used for the most
    gas guzzling call to be used for each of the calls.
    4440ecbf
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...