Skip to content

Commit 789c187

Browse files
authored
Fix Ethereum fork tests (#2661)
1 parent 792eaf1 commit 789c187

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

contracts/test/safe-modules/bridge-helper.mainnet.fork-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ describe("ForkTest: Bridge Helper Safe Module (Ethereum)", function () {
2020
});
2121

2222
const _mintOETH = async (amount, user) => {
23+
await weth.connect(user).approve(oethVault.address, amount);
2324
await oethVault.connect(user).mint(weth.address, amount, amount);
2425
};
2526

contracts/test/vault/oeth-vault.mainnet.fork-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ describe("ForkTest: OETH Vault", function () {
175175

176176
// Send a heap of WETH to the vault so it can be redeemed
177177
await weth.connect(matt).transfer(oethVault.address, oethUnits("1000"));
178+
await weth.connect(matt).transfer(strategist.address, oethUnits("100"));
178179

179180
const amount = oethUnits("10");
180181

0 commit comments

Comments
 (0)