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 // Store admin with value pendingAdmin
admin = pendingAdmin; admin = pendingAdmin;
// Store timelock with value pendingAdmin // Store timelock with value pendingAdmin
emit NewTimelock(timelock, pendingAdmin); emit NewTimelock(address(timelock), pendingAdmin);
timelock = pendingAdmin; timelock = TimelockInterface(pendingAdmin);
// Clear the pending value // Clear the pending value
pendingAdmin = address(0); pendingAdmin = address(0);

View File

@ -26,15 +26,14 @@ module.exports = {
networks: { networks: {
hardhat: { hardhat: {
forking: { forking: {
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`, url: `https://1rpc.io/eth`,
blockNumber: 12308027, blockNumber: 12308027,
}, },
blockGasLimit: 12000000, blockGasLimit: 12000000,
}, },
kovan: { mainnet: {
url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`, url: `https://1rpc.io/eth`,
accounts: [`0x${PRIVATE_KEY}`], accounts: !PRIVATE_KEY ? [] : [ `0x${PRIVATE_KEY}`],
gas: 12500000,
}, },
}, },
etherscan: { etherscan: {