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

(autonomi) Cannot create Vault on local network #2616

Closed
loziniak opened this issue Jan 9, 2025 · 4 comments
Closed

(autonomi) Cannot create Vault on local network #2616

loziniak opened this issue Jan 9, 2025 · 4 comments

Comments

@loziniak
Copy link
Contributor

loziniak commented Jan 9, 2025

I'm successfully connecting to the network, uploading 5 bytes of data (data_put_public), and creating a Transaction (transaction_put). Next instruction is to create a Vault (write_bytes_to_vault), and it fails with a payment problem: Payment unexpectedly invalid for NetworkAddress::ScratchpadAddress(8b1138 - a110dd00c4bd1f2790b66428f0d3264289993a395a4203a981d363faee0e25ff)

Logs:
vault_issue.log.zip

I'm trying this on a local test network with local evm:

cargo run --release --bin evm-testnet
cargo run --release --bin antctl --features=local -- local run --build --clean --interval 2000 --count 6 --rewards-address 0xf7348a9F5bd42Aa698B4398f71D7E99d20437EC0

And latest stable codebase (70154a0).

My system is Manjaro Linux.

@mickvandijke
Copy link
Contributor

Hi @loziniak , I did just accept your Org invite. However, I wasn't sure which code led to the error. Could you please refer me to the relevant code?

@loziniak
Copy link
Contributor Author

loziniak commented Jan 12, 2025

Hello @mickvandijke . It's the code introduced in this commit: https://github.com/JAMSplayer/safe/commit/079d6493b90b71f4bbeb869f7a3d141e745d11ee , function reg_create.

@loziniak
Copy link
Contributor Author

@mickvandijke are you able to reproduce the issue?

@loziniak
Copy link
Contributor Author

I managed to fix the problem. It was probably on my side, I was creating Vault on the address I already used to create a Transaction.

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