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

Cross-chain TX error on fresh Local Network #186

Open
miracatici opened this issue Nov 2, 2022 · 2 comments
Open

Cross-chain TX error on fresh Local Network #186

miracatici opened this issue Nov 2, 2022 · 2 comments

Comments

@miracatici
Copy link

miracatici commented Nov 2, 2022

Hello everyone, I would like to create my own local test network. I bootstrap my network with 5 nodes via official documents (here) config.json and genesis.json files are kept default except http-host IP and port. I can use all APIs with no problem.

I also would like to use the wallet service, but here comes the problem. It seems that genesis.json file is working and my initial funds are on the newly created address. When I try to make cross-chain txs I've got two different errors. If I try to make transaction from X-Chain to P-Chain it gives me Error: insufficient funds [1] error. If I try C-Chain to P-Chain it gives Error: couldn't issue tx: tx produces more unlocked %q (%d) than it consumes (%d) [2] If I try to make these transactions with API, done successfully with no errors.

It seems that the errors are caused by wallet-sdk or a bug on a client-side. I think reproduction is easy. You can deploy the local network with default configs, and run the wallet service.

1
2

@LeoFraq
Copy link

LeoFraq commented Jul 18, 2023

Hi @miracatici, I'm following up on this as I'm facing a similar issue. Did you ever manage to solve this? Or did you just work around it with the APIs?

@miracatici
Copy link
Author

Hi @LeoFraq, I have not tested it in a while. We did workarounds at that time.

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

2 participants