• Karl Floersch's avatar
    feat: set gpo task · 4736eb2e
    Karl Floersch authored
    Creates a task that can set the owner of any contract that is `Ownable`.
    It defaults to attempting to set the address of the `OVM_GasPriceOracle`
    on L2. The following config options must be set:
    
    - `CONTRACTS_RPC_URL`
    - `CONTRACTS_DEPLOYER_KEY`
    
    It can be invoked like so:
    
    ```
    $ npx hardhat set-owner --owner 0x..
    ```
    
    On L2 networks that do not enforce transaction fees, the
    `--transaction-gas-price 0` config option may be used for
    convenience.
    
    This script also supports Ledger with the `--use-ledger` flag.
    It defaults to deriving a key at the `ethers.utils.defaultPath`.
    4736eb2e
Name
Last commit
Last update
.changeset Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
examples Loading commit data...
go Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
specs Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...