Commit d3018005 authored by Developer's avatar Developer

add script for test evm

parent 5e86d963
...@@ -9,6 +9,7 @@ async function test() { ...@@ -9,6 +9,7 @@ async function test() {
const TestMCOPY = await ethers.getContractFactory("TestMCOPY"); const TestMCOPY = await ethers.getContractFactory("TestMCOPY");
testMCOPY = await TestMCOPY.deploy(); testMCOPY = await TestMCOPY.deploy();
await testMCOPY.waitForDeployment(); await testMCOPY.waitForDeployment();
console.log("Deployed TestMCOPY at address:", testMCOPY.target);
console.log("Calling TestMCOPY.testExplicitMCopy()"); console.log("Calling TestMCOPY.testExplicitMCopy()");
const result = await testMCOPY.testExplicitMCopy(); const result = await testMCOPY.testExplicitMCopy();
...@@ -17,6 +18,7 @@ async function test() { ...@@ -17,6 +18,7 @@ async function test() {
const TTest = await ethers.getContractFactory("TTest"); const TTest = await ethers.getContractFactory("TTest");
ttest = await TTest.deploy(); ttest = await TTest.deploy();
await ttest.waitForDeployment(); await ttest.waitForDeployment();
console.log("Deployed TTest at address:", ttest.target);
console.log("Calling TTest.testBASEFEE()"); console.log("Calling TTest.testBASEFEE()");
const basefee = await ttest.testBASEFEE(); const basefee = await ttest.testBASEFEE();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment