From dd08059b119d15bfa71efd3765b1a928c3df9b94 Mon Sep 17 00:00:00 2001 From: Henry Harder Date: Mon, 23 Sep 2019 15:18:45 -0700 Subject: [PATCH 1/3] v0.3.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b38e6f8..7dd059b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zaidan-dealer-client", - "version": "0.3.9", + "version": "0.3.10", "main": "dist/index.js", "repository": "https://github.com/ParadigmFoundation/zaidan-dealer-client", "license": "MIT", From a79ec8f629c26d476fb7b5efe14e4088ea770858 Mon Sep 17 00:00:00 2001 From: Henry Harder Date: Mon, 23 Sep 2019 15:54:55 -0700 Subject: [PATCH 2/3] fixing missing gas price conversion --- src/DealerClient.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DealerClient.ts b/src/DealerClient.ts index 2e2f500..c4697f9 100644 --- a/src/DealerClient.ts +++ b/src/DealerClient.ts @@ -366,7 +366,9 @@ export class DealerClient { tokenAddress, { from: this.coinbase, - gasPrice: this.GAS_PRICE, + + // convert to wei + gasPrice: this.GAS_PRICE.multipliedBy("1e9"), }, ); return this.web3Wrapper.awaitTransactionSuccessAsync(txId); From b2540696c853abc2e0880bfc37b8e62b5e712b85 Mon Sep 17 00:00:00 2001 From: Henry Harder Date: Mon, 23 Sep 2019 15:54:59 -0700 Subject: [PATCH 3/3] publish --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7dd059b..417a66a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zaidan-dealer-client", - "version": "0.3.10", + "version": "0.3.11", "main": "dist/index.js", "repository": "https://github.com/ParadigmFoundation/zaidan-dealer-client", "license": "MIT", @@ -66,4 +66,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file