Skip to content

Commit

Permalink
feat: add a gas multiplier flag
Browse files Browse the repository at this point in the history
  • Loading branch information
John Letey committed Oct 27, 2021
1 parent 3a1ea9c commit a243fdd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kyve/evm",
"version": "0.0.9",
"version": "0.0.10",
"license": "MIT",
"scripts": {
"build": "tsc",
Expand All @@ -9,7 +9,7 @@
"format": "prettier --write ."
},
"dependencies": {
"@kyve/core": "^0.0.11",
"@kyve/core": "^0.0.12",
"commander": "^8.2.0",
"ethers": "^5.5.1",
"object-hash": "^2.2.0"
Expand Down
7 changes: 6 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ cli.option(
"-e, --endpoint <string>",
"A custom Moonbase Alpha endpoint. [optional]"
);
cli.option(
"-g, --gas-multiplier <string>",
"The amount that you want to multiply the default gas price by. [optional]"
);
cli.option(
"-st, --send-statistics <boolean>",
"Send statistics. [optional, default = true]",
Expand All @@ -50,7 +54,8 @@ cli.version(version, "-v, --version");
options.privateKey,
options.keyfile && JSON.parse(readFileSync(options.keyfile, "utf-8")),
options.name,
options.endpoint
options.endpoint,
options.gasMultiplier
);

node.run(uploadFunction, validateFunction);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@
"@ethersproject/properties" "^5.5.0"
"@ethersproject/strings" "^5.5.0"

"@kyve/core@^0.0.11":
version "0.0.11"
resolved "https://registry.yarnpkg.com/@kyve/core/-/core-0.0.11.tgz#6e89d060ce895eb1def454a7b7106e84da79b43f"
integrity sha512-2eC7R8/+gIuODPacYX9pAZrNIafbtV8/+kym7oYMF9/4NTcbSmOTewZ0+0t/hCemx9ZrDlKzAjJjGf1pTBEWlg==
"@kyve/core@^0.0.12":
version "0.0.12"
resolved "https://registry.yarnpkg.com/@kyve/core/-/core-0.0.12.tgz#332a3e47e920683957beac8617e8759aa414b5d7"
integrity sha512-gbDCWKUB5tKqim/SkLFPFeKTCGbvY4gGx+YwTwJqRxsnL2AhxE++mhNkysddiJweKSLeYdrzsgjJ7hocVfnQkg==
dependencies:
arweave "^1.10.17"
base64url "^3.0.1"
Expand Down

0 comments on commit a243fdd

Please sign in to comment.