Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Feb 29, 2024
1 parent 2d40511 commit 209b4aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion loadtest/helpers/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function fundTestAccounts(client, root_address) {
// fund each account with some coins
var tx = {
to: tacc.address,
value: Number(1000 * 1e18),
value: Number(10000 * 1e18),
gas_price: client.gasPrice(),
nonce: nonce,
};
Expand Down
2 changes: 1 addition & 1 deletion loadtest/scenarios/multiple_EOA.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function (data) {
const tx = {
to: "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF",
value: Number(0.00000001 * 1e18),
gas_price: client.gasPrice()*1.5,
gas_price: client.gasPrice()*1.2,
nonce: userData.nonce,
};

Expand Down
2 changes: 1 addition & 1 deletion loadtest/scenarios/multiple_ERC20.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function (data) {

console.log(acc.address);
const con = client.newContract(data.contract_address, JSON.stringify(ZexCoin.abi));
const res = con.txn("transfer", { gas_limit: 100000, nonce: acc.nonce, gas_price: client.gasPrice()*1.8 }, acc.address, 1);
const res = con.txn("transfer", { gas_limit: 100000, nonce: acc.nonce, gas_price: client.gasPrice()*1.3 }, acc.address, 1);
console.log("sender => " + acc.address + " tx hash => " + res + " nonce => " + acc.nonce);

acc.nonce++;
Expand Down

0 comments on commit 209b4aa

Please sign in to comment.