-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
roflROFL related CLI issuesROFL related CLI issues
Description
Noticed this behaviour:
$ oasis rofl machine top-up --deployment testnet --term hour --term-count 7
Using provider: oasis1qp2ens0hsp7gh23wajxa4hpetkdek3swyyulyrmz (oasis1qp2ens0hsp7gh23wajxa4hpetkdek3swyyulyrmz)
Top-up machine: default [00000000000002b6]
Top-up term: 7 x hour
You are about to sign the following transaction:
Format: plain
Method: roflmarket.InstanceTopUp
Body:
{
"provider": "oasis1qp2ens0hsp7gh23wajxa4hpetkdek3swyyulyrmz",
"id": "00000000000002b6",
"term": 1,
"term_count": 7
}
Authorized signer(s):
1. AwF6GNjbybMzhi3XRj5R1oTiMMkO1nAwB7NZAlH1X4BE (secp256k1eth)
Nonce: 284
Fee:
Amount: 0.0013614 TEST
Gas limit: 13614
(gas price: 0.0000001 TEST per gas unit)
Network: testnet
ParaTime: sapphire
Account: test:dave
? Sign this transaction? Yes
(In case you are using a hardware-based signer you may need to confirm on device.)
Broadcasting transaction...
Transaction included in block successfully.
Round: 13506521
Transaction hash: 6904d3672e51abf7c033773ee39b9048da7d15806cff7ab3107a47189165dd28
Error: Execution failed with error: module: core code: 12 message: out of gas (limit: 13614 wanted: 13845)
Any --term-count value greater or equal 7 will fail with this error. Smaller values work fine.
Passing --gas-limit 13845 parameter works.
rube-de
Metadata
Metadata
Assignees
Labels
roflROFL related CLI issuesROFL related CLI issues