Closed PietroAnsidei closed 2 years ago
While describing the command to upgrade a node to validator, both for testnet and mainnet, the following parameters appear:
--gas="auto" --gas-adjustment="1.2" --gas-prices="0.025udsm"
Probably due to a wrong setting on the automatic gas calculation, the transaction fails (in both testnet and mainnet) with the following log:
raw_log: 'out of gas in location: ReadFlat; gasWanted: 0, gasUsed: 1000: out of gas'
By removing the mentioned parameters from the call, the transaction works, both in testnet and in mainnet.
It seems as well that the correct syntax for the parameters should be --gas-adjustment=1.2 as a number instead of a string.
--gas-adjustment=1.2
While describing the command to upgrade a node to validator, both for testnet and mainnet, the following parameters appear:
--gas="auto" --gas-adjustment="1.2" --gas-prices="0.025udsm"
Probably due to a wrong setting on the automatic gas calculation, the transaction fails (in both testnet and mainnet) with the following log:
raw_log: 'out of gas in location: ReadFlat; gasWanted: 0, gasUsed: 1000: out of gas'
By removing the mentioned parameters from the call, the transaction works, both in testnet and in mainnet.
It seems as well that the correct syntax for the parameters should be
--gas-adjustment=1.2
as a number instead of a string.