File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
ethereum-blockchain-client/src Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,7 @@ class EthereumBlockchainClient {
7070 }
7171
7272 if ( ! contract . gasPrice ) {
73- const gasPrice = await web3 . eth . getGasPrice ( ) ;
74- contract . gasPrice = contract . gasPrice || gasPrice ;
73+ contract . gasPrice = await web3 . eth . getGasPrice ( ) ;
7574 }
7675
7776 embarkJsUtils . secureSend ( web3 , contractObject , {
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ class Ganache {
22 constructor ( embark ) {
33 embark . events . request ( 'blockchain:vm:register' , ( ) => {
44 const ganache = require ( 'ganache-cli' ) ;
5- return ganache . provider ( ) ;
5+ // Default to 8000000, which is the server default
6+ // Somehow, the provider default is 6721975
7+ return ganache . provider ( { gasLimit : '0x7A1200' } ) ;
68 } ) ;
79 }
810}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const Web3 = require('web3');
77
88const Reporter = require ( './reporter' ) ;
99
10- const GAS_LIMIT = 6000000 ;
10+ const GAS_LIMIT = 8000000 ;
1111const JAVASCRIPT_TEST_MATCH = / ^ .+ \. j s $ / i;
1212const TEST_TIMEOUT = 15000 ; // 15 seconds in milliseconds
1313
You can’t perform that action at this time.
0 commit comments