Closed cmjc closed 1 year ago
In develop
and contract-updates
branches, this appears to be fixed:
$ aut validator bond --validator 0x9f793D2c7E1D5a72A020281F383bfc5e3086AcA9 --keyfile tests/data/alice.key 0.000000000000000001 --gas 1
{"value": 0, "maxFeePerGas": 1500000000, "maxPriorityFeePerGas": 500000000, "chainId": 65100000, "from": "0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf", "gas": 1000000000000000000, "to": "0xBd770416a3345F91E4B34576cb804a576fa48EB1", "data": "0xa515366a0000000000000000000000009f793d2c7e1d5a72a020281f383bfc5e3086aca90000000000000000000000000000000000000000000000000000000000000001", "nonce": 43}
(notice the call data ends with 000000000000000000001 meaning 10^-18 NTN)
$ aut validator bond --validator 0x9f793D2c7E1D5a72A020281F383bfc5e3086AcA9 --keyfile tests/data/alice.key 1 --gas 1
{"value": 0, "maxFeePerGas": 1500000000, "maxPriorityFeePerGas": 500000000, "chainId": 65100000, "from": "0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf", "gas": 1000000000000000000, "to": "0xBd770416a3345F91E4B34576cb804a576fa48EB1", "data": "0xa515366a0000000000000000000000009f793d2c7e1d5a72a020281f383bfc5e3086aca90000000000000000000000000000000000000000000000000de0b6b3a7640000", "nonce": 43}
(notice the call data ends with de0b6b3a7640000" meaning 1 NTN or 10^18 units).
@cmjs If you get a chance to check against a running network could you let me know. Thanks.
Sure, will when I get some test NTN funds.
Closign as I believe this was not an aut
cli issue in the end. Please reopen if that's not correct.
If I bond
1
then my NTN balance decrements in wei not whole Auton:The
validator info
only shows the amount in whole auton, so the dust amount of.000000000000010002
is not showing in either the liquid_supply or the bonded_stake amount, either.