• Mark Tyneway's avatar
    contracts: add set-l2-gasprice task · 694cf429
    Mark Tyneway authored
    This task allows a user to update the L2 gas price using hardhat.
    An example of doing so would be:
    
    ```bash
    $ export CONTRACTS_DEPLOYER_KEY=0x..
    $ CONTRACTS_RPC_URL=https://kovan.optimism.io npx hardhat set-l2-gasprice \
        --l2-gas-price 1
    ```
    
    This hardcodes the predeploy address of the `OVM_GasPriceOracle` smart
    contract and the Owner must be used to do the updating, otherwise the
    transaction will revert.
    694cf429
Name
Last commit
Last update
..
README.md Loading commit data...
big-bags-grow.md Loading commit data...
config.json Loading commit data...
gorgeous-starfishes-laugh.md Loading commit data...
loud-hounds-double.md Loading commit data...
thick-birds-jog.md Loading commit data...
wicked-gifts-try.md Loading commit data...