aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-29 02:13:50 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-29 02:13:50 +0800
commit9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080 (patch)
tree6524c6a27d4d3353a2b7629621e5d5c987558305
parent50bf6a991d75fab76fd5d5e2078d805528a32b45 (diff)
downloaddexon-sol-tools-9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080.tar
dexon-sol-tools-9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080.tar.gz
dexon-sol-tools-9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080.tar.bz2
dexon-sol-tools-9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080.tar.lz
dexon-sol-tools-9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080.tar.xz
dexon-sol-tools-9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080.tar.zst
dexon-sol-tools-9f5e724aec9c7fcc3ab2de4fff6d4ef8a1782080.zip
Add a HACK comment
-rw-r--r--packages/0x.js/test/utils/subproviders/fake_gas_estimate_subprovider.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/0x.js/test/utils/subproviders/fake_gas_estimate_subprovider.ts b/packages/0x.js/test/utils/subproviders/fake_gas_estimate_subprovider.ts
index 14a6b33cf..059163f2e 100644
--- a/packages/0x.js/test/utils/subproviders/fake_gas_estimate_subprovider.ts
+++ b/packages/0x.js/test/utils/subproviders/fake_gas_estimate_subprovider.ts
@@ -3,6 +3,9 @@ import {JSONRPCPayload} from '../../../src/types';
/*
* This class implements the web3-provider-engine subprovider interface and returns
* the constant gas estimate when queried.
+ * HACK: We need this so that our tests don't use testrpc gas estimation which sometimes kills the node.
+ * Source: https://github.com/trufflesuite/ganache-cli/issues/417
+ * Source: https://github.com/trufflesuite/ganache-cli/issues/437
* Source: https://github.com/MetaMask/provider-engine/blob/master/subproviders/subprovider.js
*/
export class FakeGasEstimateSubprovider {