-
Notifications
You must be signed in to change notification settings - Fork 217
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
[BUG] - autogenerated genesis file can't be parsed by cardano-wallet. Error parsing activeSlotsCoeff
#2296
Comments
Hi @jbax, what are you trying to do here? When running The byron genesis file doesn't have activeSlotsCoeff, so it probably doesn't matter whether or not we can parse numbers in that format. |
Yeah I noticed that few minutes ago. Sorry for wasting your time.
Is there any way to start the wallet without a Byron genesis file? I got a
cardano node running locally with shelley genesis only.
…On Thu, Nov 5, 2020, 6:12 PM Rodney Lorrimar ***@***.***> wrote:
Hi @jbax <https://github.com/jbax>, what are you trying to do here?
When running cardano-wallet serve --testnet, you need to provide the
*Byron-era* genesis json file for the testnet. Shelley genesis parameters
are fetched from the chain.
The byron genesis file doesn't have activeSlotsCoeff, so it probably
doesn't matter whether or not we can parse numbers in that format.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABWFQPVCKCBAVC4RGZ4WBCDSOJJOTANCNFSM4TK3USUA>
.
|
@jbax No. Not anymore. |
thanks! |
Ran into the same issue. The error message could be more specific in this came imo. |
2413: Clarify 'MsgFailedToParseGenesis' with regards to which genesis file is expected. r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue that this PR relates to and which requirements it tackles. Jira issues of the form ADP- will be auto-linked. --> #2296 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - 21da8b6 📍 **clarify 'MsgFailedToParseGenesis' with regards to which genesis file is expected** We wrote that message a while ago when there was only Byron and therefore a single genesis file. With Shelley (and later Goguen), there's now an ambiguity when speaking about 'a genesis file' so it is better called out explicitly. # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Jira will detect and link to this PR once created, but you can also link this PR in the description of the corresponding ticket ✓ Acknowledge any changes required to the Wiki ✓ Finally, in the PR description delete any empty sections and all text commented in <!--, so that this text does not appear in merge commit messages. --> Co-authored-by: KtorZ <[email protected]>
Context
Using command
cardano-node shelley genesis create ...
the resultinggenesis.json
file comes out with the following:When running the
cardano-wallet
process against that genesis.json file, the following exception is raised:It seems like the cardano-wallet is unable to parse this double value
5.0e-2
however the JSON is valid.Expected behavior
The cardano wallet should not raise any errors parsing the genesis.json file.
System info :
The text was updated successfully, but these errors were encountered: