Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
172cf4aa
Commit
172cf4aa
authored
Jul 28, 2021
by
yann300
Committed by
Aniket
Aug 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix libs unit tests
parent
455d0cf0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vmCall.ts
libs/remix-debug/test/decoder/vmCall.ts
+1
-1
vmCall.ts
libs/remix-debug/test/vmCall.ts
+1
-1
No files found.
libs/remix-debug/test/decoder/vmCall.ts
View file @
172cf4aa
...
@@ -11,7 +11,7 @@ export function sendTx (vm, from, to, value, data, cb?) {
...
@@ -11,7 +11,7 @@ export function sendTx (vm, from, to, value, data, cb?) {
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
var
tx
=
new
Tx
({
var
tx
=
new
Tx
({
nonce
:
new
BN
(
from
.
nonce
++
),
nonce
:
new
BN
(
from
.
nonce
++
),
gasPrice
:
new
BN
(
1
),
//
gasPrice: new BN(1),
gasLimit
:
new
BN
(
3000000
,
10
),
gasLimit
:
new
BN
(
3000000
,
10
),
to
:
to
,
to
:
to
,
value
:
new
BN
(
value
,
10
),
value
:
new
BN
(
value
,
10
),
...
...
libs/remix-debug/test/vmCall.ts
View file @
172cf4aa
...
@@ -9,7 +9,7 @@ var remixLib = require('@remix-project/remix-lib')
...
@@ -9,7 +9,7 @@ var remixLib = require('@remix-project/remix-lib')
function
sendTx
(
vm
,
from
,
to
,
value
,
data
,
cb
)
{
function
sendTx
(
vm
,
from
,
to
,
value
,
data
,
cb
)
{
var
tx
=
new
Tx
({
var
tx
=
new
Tx
({
nonce
:
new
BN
(
from
.
nonce
++
),
nonce
:
new
BN
(
from
.
nonce
++
),
gasPrice
:
new
BN
(
1
),
//
gasPrice: new BN(1),
gasLimit
:
new
BN
(
3000000
,
10
),
gasLimit
:
new
BN
(
3000000
,
10
),
to
:
to
,
to
:
to
,
value
:
new
BN
(
value
,
10
),
value
:
new
BN
(
value
,
10
),
...
...
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