mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-12 23:05:07 +00:00
update gas value in test app
This commit is contained in:
parent
be1c5badd8
commit
273834ec39
@ -56,8 +56,8 @@ $(document).ready(function() {
|
||||
|
||||
// If web3.js 1.0 is being used
|
||||
if (EmbarkJS.isNewWeb3()) {
|
||||
SimpleStorage.methods.set(value).send({from: web3.eth.defaultAccount});
|
||||
addToLog("#blockchain", "SimpleStorage.methods.set(value).send({from: web3.eth.defaultAccount})");
|
||||
SimpleStorage.methods.set(value).send({from: web3.eth.defaultAccount, gas: 5300000});
|
||||
addToLog("#blockchain", "SimpleStorage.methods.set(value).send({from: web3.eth.defaultAccount, gas: 5300000})");
|
||||
} else {
|
||||
SimpleStorage.set(value);
|
||||
addToLog("#blockchain", "SimpleStorage.set(" + value + ")");
|
||||
|
Loading…
x
Reference in New Issue
Block a user