Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to prepare the transaction #120

Open
SagalVanderklok opened this issue Feb 28, 2023 · 7 comments
Open

Failed to prepare the transaction #120

SagalVanderklok opened this issue Feb 28, 2023 · 7 comments

Comments

@SagalVanderklok
Copy link

SagalVanderklok commented Feb 28, 2023

Hello!

I'm trying to deploy a node. I've configured the container, sent 5000 DVPN to the account address, but when I start the container I get the error:
2023-02-28T10:53:14Z INF Querying the account address=sent1xucttyzmsjmzjza00pyrzlqweevz3gxrgusw7t
2023-02-28T10:53:15Z ERR Failed to prepare the transaction error="rpc error: code = Unknown desc = rpc error: code = Unknown desc = 0dvpn is smaller than 1dvpn: insufficient funds: insufficient funds [cosmos/cosmos-sdk@v0.45.11/x/auth/ante/fee.go:139] With gas wanted: '0' and gas used: '20605' : unknown request"

My gas settings:

gas_adjustment = 1.05
gas = 200000
gas_prices = "0.000001dvpn"

The balance is not zero - https://atomscan.com/sentinel/accounts/sent1xucttyzmsjmzjza00pyrzlqweevz3gxrgusw7t

The same error occurs both on WireGuard and V2Ray nodes

@bsrinivas8687
Copy link
Contributor

bsrinivas8687 commented Mar 1, 2023

Please set the gas prices in udvpn. Additionally, it is recommended to set the gas prices to be no less than 0.1udvpn.

@SagalVanderklok
Copy link
Author

When I specify the gas price in udvpn I get another error:
2023-03-01T06:32:11Z INF Querying the account address=sent1n5znlfehd02ycknqy2pkp6fnasurl58u3pen0z
2023-03-01T06:32:12Z ERR Failed to prepare the transaction error="rpc error: code = Unknown desc = rpc error: code = Unknown desc = failed to execute message; message index: 0: invalid price [cosmos/cosmos-sdk@v0.45.11/baseapp/baseapp.go:781] With gas wanted: '0' and gas used: '67781' : unknown request"
(here I used 0.2udvpn as gas price)

@bsrinivas8687
Copy link
Contributor

This is because you might be having incorrect price value under the node section.
The following should work:

105000ibc/31FEE1A2A9F9C01113F90BD0BBCCE8FD6BBB8585FAF109A2101827DD1D5B95B8,6000ibc/A8C2D23A1E6F95DA4E48BA349667E322BD7A6C996D8A4AAE8BA72E190F3D1477,800000ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783,80000ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518,11000000udvpn

@SagalVanderklok
Copy link
Author

SagalVanderklok commented Mar 1, 2023

I tried specify price = "11000000udvpn" in config.toml. The same "invalid price" error occured

@bsrinivas8687
Copy link
Contributor

Please specify all the denominations

@SagalVanderklok
Copy link
Author

SagalVanderklok commented Mar 1, 2023

I specified that value (as a single string) and everything works now. But what does that value mean? How can I adjust the price?

@ple91
Copy link

ple91 commented Mar 24, 2023

I've got the same problem... If I make any change in this string, node will not start...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants