Skip to content

Commit a243fdd

Browse files
author
John Letey
committed
feat: add a gas multiplier flag
1 parent 3a1ea9c commit a243fdd

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kyve/evm",
3-
"version": "0.0.9",
3+
"version": "0.0.10",
44
"license": "MIT",
55
"scripts": {
66
"build": "tsc",
@@ -9,7 +9,7 @@
99
"format": "prettier --write ."
1010
},
1111
"dependencies": {
12-
"@kyve/core": "^0.0.11",
12+
"@kyve/core": "^0.0.12",
1313
"commander": "^8.2.0",
1414
"ethers": "^5.5.1",
1515
"object-hash": "^2.2.0"

src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ cli.option(
3030
"-e, --endpoint <string>",
3131
"A custom Moonbase Alpha endpoint. [optional]"
3232
);
33+
cli.option(
34+
"-g, --gas-multiplier <string>",
35+
"The amount that you want to multiply the default gas price by. [optional]"
36+
);
3337
cli.option(
3438
"-st, --send-statistics <boolean>",
3539
"Send statistics. [optional, default = true]",
@@ -50,7 +54,8 @@ cli.version(version, "-v, --version");
5054
options.privateKey,
5155
options.keyfile && JSON.parse(readFileSync(options.keyfile, "utf-8")),
5256
options.name,
53-
options.endpoint
57+
options.endpoint,
58+
options.gasMultiplier
5459
);
5560

5661
node.run(uploadFunction, validateFunction);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@
361361
"@ethersproject/properties" "^5.5.0"
362362
"@ethersproject/strings" "^5.5.0"
363363

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

0 commit comments

Comments
 (0)