This commit is contained in:
Thrilok kumar 2024-02-06 02:11:01 +05:30
parent 359a6d040a
commit f7695cc94c
2 changed files with 6 additions and 7 deletions

View File

@ -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);

View File

@ -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: {