cassini icon indicating copy to clipboard operation
cassini copied to clipboard

Fees consumed and transaction not performed using cronosd CLI

Open ahmedsabriz opened this issue 4 years ago • 2 comments

I am testing with a node on ubuntu (WSL2) and all transactions using cronosd CLI require 1tcro in fees. At first, I thought it was intended to combat spamming. Regardless, when fee is paid, gas is consumed, yet transaction is never performed.

Reproduction: $cronosd query bank balances tcrc1qe9efupn8am0kn9m9nvgv567xsqkxf2a8egqxu | jq '.balances[].amount' "53895000000000000000"

$cronosd tx bank send tcrc1qe9efupn8am0kn9m9nvgv567xsqkxf2a8egqxu tcrc1ap0anlca2hm6ujjhahw0njah03ngvy3mkpwmd0 1tcro --chain-id "cassini_339-1" -y {"height":"0","txhash":"CD033D9B43F617FD28079D847A0BEEEAF7C51DB3E346E0775DC09C44E9A54005","codespace":"sdk","code":13,"data":"","raw_log":"insufficient fees; got: required: 1000000000000000000basetcro: insufficient fee","logs":[],"info":"","gas_wanted":"0","gas_used":"0","tx":null,"timestamp":""}

$cronosd tx bank send tcrc1qe9efupn8am0kn9m9nvgv567xsqkxf2a8egqxu tcrc1ap0anlca2hm6ujjhahw0njah03ngvy3mkpwmd0 1tcro --chain-id "cassini_339-1" --fees 1000000000000000000basetcro -y {"height":"0","txhash":"F83415B9AFB18E7B4B5735EEA4D157C6E5C4D9F5C3E6C667E0882667E8CFFD2A","codespace":"","code":0,"data":"","raw_log":"[]","logs":[],"info":"","gas_wanted":"0","gas_used":"0","tx":null,"timestamp":""}

$cronosd query bank balances tcrc1qe9efupn8am0kn9m9nvgv567xsqkxf2a8egqxu | jq '.balances[].amount' "52895000000000000000"

I can only transfer using metamask for now. Not sure it is a bug, a disabled feature, or a misconfiguration of my node.

ahmedsabriz avatar Oct 08 '21 03:10 ahmedsabriz

Transfer basetcro is disabled in bank params

giansalex avatar Oct 08 '21 20:10 giansalex

And what would be the alternative (if any in bash)?

raulillo82 avatar Oct 08 '21 20:10 raulillo82