Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
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
exchain
nebula
Commits
bfa00658
Commit
bfa00658
authored
Apr 12, 2021
by
Mark Tyneway
Committed by
Liam Horne
Apr 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: estimate gas for wETH transfer
parent
0a708824
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
fee-payment.spec.ts
integration-tests/test/fee-payment.spec.ts
+6
-0
No files found.
integration-tests/test/fee-payment.spec.ts
View file @
bfa00658
...
...
@@ -12,6 +12,12 @@ describe('Fee Payment Integration Tests', async () => {
env
=
await
OptimismEnv
.
new
()
})
it
(
'
Should estimate gas for wETH transfer
'
,
async
()
=>
{
const
amount
=
utils
.
parseEther
(
'
0.5
'
)
const
gas
=
await
env
.
ovmEth
.
estimateGas
.
transfer
(
other
,
amount
)
expect
(
gas
).
is
.
instanceof
(
BigNumber
)
})
it
(
'
Paying a nonzero but acceptable gasPrice fee
'
,
async
()
=>
{
const
amount
=
utils
.
parseEther
(
'
0.5
'
)
...
...
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