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

Generate pre-funded accounts in Polkadot format #33

Closed
bernardoaraujor opened this issue Oct 30, 2022 · 0 comments · Fixed by #55
Closed

Generate pre-funded accounts in Polkadot format #33

bernardoaraujor opened this issue Oct 30, 2022 · 0 comments · Fixed by #55

Comments

@bernardoaraujor
Copy link
Contributor

Currently, the funder module generates pre-funded addresses in generic Substrate format (5...).

As soon as

"chain": "rococo-local",
is switched to polkadot-dev, the setup breaks with:

thread 'main' panicked at 'Account has insufficient funds', src/pre/mod.rs:49:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
rust process exited with code 101
...
Error: Rpc(Request("{\"jsonrpc\":\"2.0\",\"error\":{\"code\":1010,\"message\":\"Invalid Transaction\",\"data\":\"Inability to pay some fees (e.g. account balance too low)\"},\"id\":4}"))
rust process exited with code 1

In order to fulfil #15, the funder module needs to be adapted so it generates addresses in Polkadot format (1...).

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

Successfully merging a pull request may close this issue.

1 participant