Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Gas price type number for 1 Gwei
  • Loading branch information
jdevcs committed Jul 16, 2021
commit 9d0aa3e3cc4891c8a785ab2665c0de5a9a271980
2 changes: 1 addition & 1 deletion scripts/js/ens.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function setupENS(web3) {

const options = {
bytecode: undefined,
gasPrice: '1000000000', // Default gasPrice set by Geth
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 5500000
}

Expand Down
6 changes: 3 additions & 3 deletions test/e2e.contract.deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ describe('contract.deploy [ @E2E ]', function() {

var basicOptions = {
data: Basic.bytecode,
gasPrice: '1000000000', // Default gasPrice set by Geth
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000
};

var revertsOptions = {
data: Reverts.bytecode,
gasPrice: '1000000000', // Default gasPrice set by Geth
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000
}

var noBytecodeOptions = {
data: '0x',
gasPrice: '1000000000', // Default gasPrice set by Geth
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000
}

Expand Down
4 changes: 2 additions & 2 deletions test/e2e.method.call.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ describe('method.call [ @E2E ]', function () {

var basicOptions = {
data: Basic.bytecode,
gasPrice: '1000000000', // Default gasPrice set by Geth
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000
};

var miscOptions = {
data: Misc.bytecode,
gasPrice: '1000000000', // Default gasPrice set by Geth
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000
};

Expand Down
4 changes: 2 additions & 2 deletions test/e2e.method.signing.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('transaction and message signing [ @E2E ]', function() {

const basicOptions = {
data: Basic.bytecode,
gasPrice: '1000000000', // Default gasPrice set by Geth
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000
};

Expand Down Expand Up @@ -445,7 +445,7 @@ describe('transaction and message signing [ @E2E ]', function() {
from: wallet[0],
to: instance.options.address,
data: data,
gasPrice: '1000000000',
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000
}

Expand Down
2 changes: 1 addition & 1 deletion test/helpers/test.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var mine = async function(web3, account) {
await web3.eth.sendTransaction({
from: account,
to: account,
gasPrice: '1',
gasPrice: 1000000000, // Default gasPrice set by Geth
gas: 4000000,
value: web3.utils.toWei('0', 'ether'),
});
Expand Down