fix libs unit tests

default_london
yann300 3 years ago
parent d21172dc40
commit 362857a262
  1. 2
      libs/remix-debug/test/decoder/vmCall.ts
  2. 2
      libs/remix-debug/test/vmCall.ts

@ -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),

@ -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),

Loading…
Cancel
Save