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
4c71963d
Commit
4c71963d
authored
Dec 17, 2025
by
Developer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update evm test
parent
d3018005
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
9 deletions
+24
-9
testevm.js
scripts/testevm.js
+24
-9
No files found.
scripts/testevm.js
View file @
4c71963d
...
@@ -20,13 +20,24 @@ async function test() {
...
@@ -20,13 +20,24 @@ async function test() {
await
ttest
.
waitForDeployment
();
await
ttest
.
waitForDeployment
();
console
.
log
(
"
Deployed TTest at address:
"
,
ttest
.
target
);
console
.
log
(
"
Deployed TTest at address:
"
,
ttest
.
target
);
console
.
log
(
"
Calling TTest.testBASEFEE()
"
);
try
{
const
basefee
=
await
ttest
.
testBASEFEE
();
console
.
log
(
"
Calling TTest.testBASEFEE()
"
);
console
.
log
(
"
Result:
"
,
basefee
.
toString
());
const
basefee
=
await
ttest
.
testBASEFEE
();
console
.
log
(
"
Result:
"
,
basefee
.
toString
());
}
catch
(
error
)
{
console
.
error
(
"
Error calling testBASEFEE:
"
,
error
.
message
);
}
try
{
console
.
log
(
"
Calling TTest.testPREVRANDAO()
"
);
const
prevrandao
=
await
ttest
.
testPREVRANDAO
();
console
.
log
(
"
Result:
"
,
prevrandao
.
toString
());
}
catch
(
error
)
{
console
.
error
(
"
Error calling testPREVRANDAO:
"
,
error
.
message
);
}
console
.
log
(
"
Calling TTest.testPREVRANDAO()
"
);
const
prevrandao
=
await
ttest
.
testPREVRANDAO
();
console
.
log
(
"
Result:
"
,
prevrandao
.
toString
());
try
{
try
{
console
.
log
(
"
Calling TTest.testBLOBHASH()
"
);
console
.
log
(
"
Calling TTest.testBLOBHASH()
"
);
...
@@ -36,9 +47,13 @@ async function test() {
...
@@ -36,9 +47,13 @@ async function test() {
console
.
error
(
"
Error calling testBLOBHASH:
"
,
error
.
message
);
console
.
error
(
"
Error calling testBLOBHASH:
"
,
error
.
message
);
}
}
console
.
log
(
"
Calling TTest.testBLOBFEE()
"
);
try
{
const
blobfee
=
await
ttest
.
testBLOBFEE
();
console
.
log
(
"
Calling TTest.testBLOBFEE()
"
);
console
.
log
(
"
Result:
"
,
blobfee
.
toString
());
const
blobfee
=
await
ttest
.
testBLOBFEE
();
console
.
log
(
"
Result:
"
,
blobfee
.
toString
());
}
catch
(
error
)
{
console
.
error
(
"
Error calling test:
"
,
error
.
message
);
}
try
{
try
{
console
.
log
(
"
Calling TTest.test()
"
);
console
.
log
(
"
Calling TTest.test()
"
);
...
...
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