aeternity / aepp-sdk-go

Golang SDK to interact with the Æternity blockchain
ISC License
18 stars 10 forks source link

Setting GasLimit, Fee for Contract transactions is a bad user experience #122

Closed randomshinichi closed 4 years ago

randomshinichi commented 5 years ago

There is no way to actually know if the parameters you put in are enough for the miner until you actually submit it to the node! And sometimes it is accepted and not actually mined.

See the fixed BigInt values in api_test.go for ContractCreate/ContractCall Txs. Somehow, setting GasLimit to 1e5 instead of 1e9 makes the contract call tx work?!!