Skip to content

Commit

Permalink
Print tx data only on mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed May 19, 2024
1 parent 383f2df commit e5582e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion script/deploy/mainnet/011_OgnOgvMigrationScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ contract OgnOgvMigrationScript is BaseMainnetScript {
govFive.action(Addresses.OETH_BUYBACK, "upgradeTo(address)", abi.encode(Addresses.OETH_BUYBACK_IMPL)); // Todo, use latest deployed address
govFive.action(Addresses.OETH_BUYBACK, "setRewardsSource(address)", abi.encode(ognRewardsSourceProxy));

govFive.printTxData();
if (!isForked) {
govFive.printTxData();
}
}

function _fork() internal override {
Expand Down
4 changes: 3 additions & 1 deletion script/deploy/mainnet/012_xOGNGovernanceScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ contract XOGNGovernanceScript is BaseMainnetScript {
abi.encode(uint192(REWARDS_PER_SECOND))
);

govFive.printTxData();
if (!isForked) {
govFive.printTxData();
}
}

function _fork() internal override {
Expand Down

0 comments on commit e5582e1

Please sign in to comment.