From 8a4f94f534678a146d4079d58034b54a17b1d40e Mon Sep 17 00:00:00 2001 From: Uros Kukic Date: Mon, 26 Oct 2020 13:57:33 +0100 Subject: [PATCH 1/2] Make testnet gas priced fixed --- modules/service/pricing-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/service/pricing-service.js b/modules/service/pricing-service.js index 14c2eaaae..054534a98 100644 --- a/modules/service/pricing-service.js +++ b/modules/service/pricing-service.js @@ -47,7 +47,7 @@ class PricingService { } async getGasPrice() { - if (process.env.NODE_ENV === 'development') { + if (process.env.NODE_ENV !== 'mainnet') { this.logger.trace(`Using default gas price from configuration: ${this.config.blockchain.gas_price}`); return this.config.blockchain.gas_price; } From ca8729e3f918750815da48505cb519622f08517d Mon Sep 17 00:00:00 2001 From: Uros Kukic Date: Mon, 26 Oct 2020 14:00:52 +0100 Subject: [PATCH 2/2] Bump the version to v4.1.12 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bfde61620..2b17ead74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "origintrail_node", - "version": "4.1.11", + "version": "4.1.12", "description": "OriginTrail node", "main": ".eslintrc.js", "config": {