Skip to content

Commit

Permalink
Fixed base unit tests after
Browse files Browse the repository at this point in the history
Fix upgrade script of OETHBase
  • Loading branch information
naddison36 committed Jan 9, 2025
1 parent 98056a1 commit d820044
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 1 addition & 3 deletions contracts/deploy/base/000_mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,8 @@ const deployCore = async () => {
// Init OETHb
const resolution = ethers.utils.parseUnits("1", 27);
const initDataOETHb = cOETHb.interface.encodeFunctionData(
"initialize(string,string,address,uint256)",
"initialize(address,uint256)",
[
"Super OETH",
"superOETHb", // Token Symbol
cOETHbVaultProxy.address, // OETHb Vault
resolution, // HighRes
]
Expand Down
7 changes: 6 additions & 1 deletion contracts/deploy/base/021_upgrade_oeth.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ module.exports = deployOnBaseWithGuardian(
deployName: "021_upgrade_oeth",
},
async ({ ethers }) => {
const dOETHb = await deployWithConfirmation("OETHBase");
const dOETHb = await deployWithConfirmation(
"OETHBase",
[],
undefined,
true
);

const cOETHbProxy = await ethers.getContract("OETHBaseProxy");

Expand Down

0 comments on commit d820044

Please sign in to comment.