Skip to content

Commit

Permalink
Merge branch 'shah/deploy-tooling-updates' into shah/deploy-13
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Jun 7, 2024
2 parents 34b23f2 + 3595c6d commit e0238fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion contracts/utils/GovFive.sol
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ library GovFive {
console.log("Scheduling...");
(bool success, bytes memory data) = receiver.call(payload);

if (!success || !timelock.isOperationDone(opHash)) {
if (!success || !timelock.isOperation(opHash)) {
revert("Failed to schedule");
}

Expand Down
7 changes: 2 additions & 5 deletions script/deploy/mainnet/014_xOGNGovernanceScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import {Governance} from "contracts/Governance.sol";

import {GovFive} from "contracts/utils/GovFive.sol";

import "OpenZeppelin/[email protected]/contracts/token/ERC20/extensions/ERC20Votes.sol";
import "OpenZeppelin/[email protected]/contracts/governance/TimelockController.sol";
import {ERC20Votes} from "OpenZeppelin/[email protected]/contracts/token/ERC20/extensions/ERC20Votes.sol";
import {TimelockController} from "OpenZeppelin/[email protected]/contracts/governance/TimelockController.sol";

contract XOGNGovernanceScript is BaseMainnetScript {
using GovFive for GovFive.GovFiveProposal;
Expand Down Expand Up @@ -43,9 +43,6 @@ contract XOGNGovernanceScript is BaseMainnetScript {

address xognGov = deployedContracts["XOGN_GOV"];

address ognRewardsSourceProxy = deployedContracts["OGN_REWARDS_SOURCE"];
address veOgvImpl = deployedContracts["VEOGV_IMPL"];

govProposal.setName("Grant access to OGN Governance");

govProposal.setDescription("Grant access to OGN Governance");
Expand Down
2 changes: 1 addition & 1 deletion tests/staking/ZapperForkTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract ZapperForkTest is Test {
IMintableERC20 public ogv;
IMintableERC20 public ogn;

address public ogvWhale = 0x24dD9AEAf497c11eE3A0ac2E6E6e014e12799c4E;
address public ogvWhale = 0x12D7EF3C933D091210cD931224Ead45D9cFdDdE0;

constructor() {
deployManager = new DeployManager();
Expand Down

0 comments on commit e0238fd

Please sign in to comment.