EmpowerPlastic / empowerchain

Empowerchain is a global platform to revolutionize waste management and recycling, creating a transparent and efficient circular economy.
https://empowerchain.io
77 stars 431 forks source link

empowerd tx authz grant #881

Closed AlexITProf closed 1 year ago

AlexITProf commented 1 year ago

when creating Grant authorization to my secondary wallet, a zero balance error occurs

log:

alex@server:~$ empowerd keys list

alex@server:~$ empowerd q bank balances empower18ztk0s0dfxd664spnnya0wgd2v7846tkeh9rvr balances:

toolfun commented 1 year ago

It's not an issue, just read the docs. The command is incomplete you were even given a hint.

AlexITProf commented 1 year ago

I understand that the full if you specify the size of the grant, then the error of more arguments:

alex@server:~$ empowerd tx authz grant empower1ayze7z7sn2sv8ql3aqwdl9r2aht23dqnw6n4j8 send 200umpwr --from AlexIT --fees 200umpwr Error: accepts 2 arg(s), received 3

I completed the task grand/revoke using the authorization_type=delegate thank you)

blntbytk commented 1 year ago

i hava enough balances for both granter and grantee wallets but stil i had the message as out of gas at the explorer . https://empowerchain.exploreme.pro/transaction/8209A371B79A63270A3DAC3108BAA431E2BA4F2F3D37B28E170FB29F2364B527 empowerd tx authz grant empower1kupjfgt43uzuwc9v4lja4a4x3jl4wkqceh7n9k send --from blntbytk --chain-id circulus-1 --gas auto --gas-adjustment 1.5 --spend-limit 100umpwr --gas-prices 0.1umpwr

toolfun commented 1 year ago

@blntbytk It's more about --gas --fees flags. You may try this empowerd tx authz grant empower1kupjfgt43uzuwc9v4lja4a4x3jl4wkqceh7n9k send --spend-limit=100umpwr --chain-id circulus-1 --from blntbytk --fees 200umpwr

blntbytk commented 1 year ago

Thx as you mentioned this is related to the gas , thx for your support

xAlex @.***>, 18 Haz 2023 Paz, 18:38 tarihinde şunu yazdı:

@blntbytk https://github.com/blntbytk It's more about --gas --fees flags. You may try this empowerd tx authz grant empower1kupjfgt43uzuwc9v4lja4a4x3jl4wkqceh7n9k send --spend-limit=100umpwr --chain-id circulus-1 --from blntbytk --fees 200umpwr

— Reply to this email directly, view it on GitHub https://github.com/EmpowerPlastic/empowerchain/issues/881#issuecomment-1596185942, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZEIE4BVBHEUQP5JA7JTNMDXL4OFXANCNFSM6AAAAAAZGA5MKU . You are receiving this because you were mentioned.Message ID: @.***>