mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
fix
This commit is contained in:
parent
359a6d040a
commit
f7695cc94c
|
@ -360,8 +360,8 @@ contract InstaGovernorBravoDelegate is GovernorBravoDelegateStorageV1, GovernorB
|
|||
// Store admin with value pendingAdmin
|
||||
admin = pendingAdmin;
|
||||
// Store timelock with value pendingAdmin
|
||||
emit NewTimelock(timelock, pendingAdmin);
|
||||
timelock = pendingAdmin;
|
||||
emit NewTimelock(address(timelock), pendingAdmin);
|
||||
timelock = TimelockInterface(pendingAdmin);
|
||||
|
||||
// Clear the pending value
|
||||
pendingAdmin = address(0);
|
||||
|
|
|
@ -26,15 +26,14 @@ module.exports = {
|
|||
networks: {
|
||||
hardhat: {
|
||||
forking: {
|
||||
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||
url: `https://1rpc.io/eth`,
|
||||
blockNumber: 12308027,
|
||||
},
|
||||
blockGasLimit: 12000000,
|
||||
},
|
||||
kovan: {
|
||||
url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||
accounts: [`0x${PRIVATE_KEY}`],
|
||||
gas: 12500000,
|
||||
mainnet: {
|
||||
url: `https://1rpc.io/eth`,
|
||||
accounts: !PRIVATE_KEY ? [] : [ `0x${PRIVATE_KEY}`],
|
||||
},
|
||||
},
|
||||
etherscan: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user