Skip to content

Commit

Permalink
Revertal get Receipt before eth_call
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchengzhu committed Dec 6, 2023
1 parent d4082a6 commit 752e25f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/test/Revertal.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ describe("Revertal", function () {
let contractAddr;

before(async function () {
revertalContract = await ethers.deployContract("Revertal");
const Revertal = await ethers.getContractFactory("Revertal");
const deployTransaction = await Revertal.deploy();
revertalContract = await deployTransaction.waitForDeployment();
contractAddr = await revertalContract.getAddress();
});

Expand Down

0 comments on commit 752e25f

Please sign in to comment.