It appears that we will need to provide a gas value in the sendTransaction()
method when pointing BUIDL to Ethereum networks (Ropsten TestNet included).
The simple storage contract compiles successfully in BUIDL but when it is deployed to Ropsten the following error is displayed in the BUIDL log output
Error: exceeds block gas limit
If we alter the sendTransaction
code which executes at [1] then this contract may successfully deploy on the Ropsten TestNet.
There is a section of BUIDL code which has the potential to add the appropriate Ethereum gas parameters to the raw BUIDL transaction [2].
To ensure that this is not hard coded, perhaps we could have a button/switch in the BUIDL web console which allows us to toggle ETH gas on and off.
[1]
|
this.lity.sendTransaction = (transactionObject: any, callback?: Function) => { |
[2]