Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cmp20test
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
explorer-for-cmp20
cmp20test
Commits
d3018005
Commit
d3018005
authored
Dec 16, 2025
by
Developer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add script for test evm
parent
5e86d963
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
testevm.js
scripts/testevm.js
+2
-0
No files found.
scripts/testevm.js
View file @
d3018005
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment