avalanche-wallet
avalanche-wallet copied to clipboard
Cross-chain TX error on fresh Local Network
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.