Comments (9)
Awesome! We will release these patches soon, making them available via pypi directly.
Meanwhile, please reach out to us for any other help 🙂
from atomkraft.
It looks like provenanced init
doesn't generate any JSON output, which was expected on Atomkraft's side.
Anyway, I created a branch for its fix. But looks like the wallet addresses are not matching. I get this error finally.
...
Validators
-----------------------------------------
pb1y5pe60nx2yxv50663ys5yw0a943hu6fvpnzf0l
pb1zc0jpd7wu630h6tpu4qe7l2z3nfqlgd5xq73zu
pb10cwldaae2svl69uvffhmjgfph0nlzct6p9m4qz
Accounts
-----------------------------------------
pb120kuy85e0nvqr4n8d9l22u8e06dj70ef6g0njh
pb12ptlggsgsmf0za5j52uu0fm7axyvytfjc4vtpa
Non-zero return code 1
Error: failed to validate account in genesis: account pb12dwqnqvfumd3cjn6tdef5rdjufqs9wapywpk8l does not have a balance in the genesis state
...
Atomkraft uses the standard key-derivation used in cosmos-SDK. Can you share what is being used at Provenance?
I also created a personal Atomkraft repo for provenance binary - https://github.com/rnbguy/atomkraft-provenance
from atomkraft.
@rnbguy Thank you for quick response.
I think this line is also causing issues: https://github.com/informalsystems/atomkraft/blob/dev/atomkraft/chain/node.py#L71
I wonder if python-hdwallet
needs to be updated as well since HASH
does not exist in symbols.py: https://github.com/meherett/python-hdwallet/blob/master/hdwallet/symbols.py
from atomkraft.
Yes, you're right. I fixed it in the PR 🙂
You can install the fixes directly from Github
pip uninstall atomkraft -y
pip install git+https://github.com/informalsystems/atomkraft@rano/provenance
from atomkraft.
Oh nice. I think it worked 🙏
from atomkraft.
Thank you for looking into this.
Atomkraft uses the standard key-derivation used in cosmos-SDK. Can you share what is being used at Provenance?
Provenance uses the same thing.
I did make some progress using the following chain.toml and hardcoding a flag for testnet in provenance.
....
hrp_prefix = "tp"
denom = "nhash"
coin_type = 1
[config_node.app]
minimum-gas-prices = "1905nhash"
...
And I get the following error:
node id: ac96cd5cce97158d7b9b1a9c6dbf9321bb8b31be
Using testnet defaults
Genesis file created: .atomkraft/validator_nodes/val_dl5tl0lh/node_0/config/genesis.json
Writing app config to: .atomkraft/validator_nodes/val_dl5tl0lh/node_0/config/app.toml ... Done.
Writing tendermint config to: .atomkraft/validator_nodes/val_dl5tl0lh/node_0/config/config.toml ... Done.
Writing client config to: .atomkraft/validator_nodes/val_dl5tl0lh/node_0/config/client.toml ... Done.
Error: failed to get address from Keybase: tp1y5pe60nx2yxv50663ys5yw0a943hu6fvjc89d4.info: key not found [cosmos/[email protected]/crypto/keyring/keyring.go:489], could not use address as bech32 string: invalid Bech32 prefix; expected pb, got tp
Usage:
provenanced add-genesis-account [address_or_key_name] [coin][,[coin]] [flags]
Examples:
$ provenanced add-genesis-account mykey 10000000hash
Is there anyway to pass in flags to provenance binary during startup e.g. provenanced -t
for testnet.
from atomkraft.
I pulled your changes and installed the package locally. Reproduced the above error that you got as well. But not sure yet how to go about it
from atomkraft.
Hey, @llama-del-rey 🙂 thanks for reporting the issue 🙌
It was indeed a bug. Looks like Atomkraft was not setting up the custom coin type from chain.toml
.
PR is coming 🚀
from atomkraft.
Thank you for quick fixes.
from atomkraft.
Related Issues (20)
- Adopt async runtime
- Failed GRPC connections with reduced block time
- Populate `.github` directory with useful templates and standard practices
- Installation instruction for pip are missing HOT 1
- Stuck at broadcasting when transaction fails
- MDX tests are failing non-deterministically on macOS runner HOT 2
- Upon starting testnet from Atomkraft " unsupported hash type ripemd160" error is received HOT 1
- Update existing .tla examples to follow the changes in the Apalache typesystem
- Support for custom modules in Atomkraft HOT 1
- vscode plugins question HOT 1
- Fix report directory
- Improve location of test files for `test` command
- Improving CONTRIBUTING.md
- can't run `atomkraft` without `.atomkraft` directory HOT 4
- `atomkraft init` should generate a `.gitignore` file
- `atomkraft init` should generate a hello world project instead of an empty one
- "None" parsing error HOT 3
- Atomkraft gives Parsing error when apalache not installed HOT 1
- Bech32 address derivation failing on Ethermint chains
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atomkraft.