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

[META] [Genesis] genesis verify #1229

Closed
zivkovicmilos opened this issue Oct 11, 2023 · 1 comment · Fixed by #1254
Closed

[META] [Genesis] genesis verify #1229

zivkovicmilos opened this issue Oct 11, 2023 · 1 comment · Fixed by #1254
Assignees
Labels
help wanted Extra attention is needed 📦 ⛰️ gno.land Issues or PRs gno.land package related 🌱 feature New update to Gno

Comments

@zivkovicmilos
Copy link
Member

zivkovicmilos commented Oct 11, 2023

Description

Task copied from the master issue: #1203

verify

The verify subcommand validates the genesis.json, according to different section rules:

  • validates the genesis time is valid
  • validates the chain ID is valid
  • validates the consensus params for the block are valid
  • validates the validator set is valid (and not empty!)
  • validates the transactions are valid (format is good)
  • validates the balances are valid (format is good)

Flags

  • --genesis-path - the path to the genesis.json

PR against branch: feat/genesis

@zivkovicmilos zivkovicmilos added help wanted Extra attention is needed 🌱 feature New update to Gno 📦 ⛰️ gno.land Issues or PRs gno.land package related labels Oct 11, 2023
@zivkovicmilos zivkovicmilos self-assigned this Oct 19, 2023
@zivkovicmilos zivkovicmilos linked a pull request Oct 19, 2023 that will close this issue
7 tasks
zivkovicmilos added a commit that referenced this issue Oct 19, 2023
## Description

This PR adds the `genesis verify` subcommand.

Closes #1229

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
@zivkovicmilos
Copy link
Member Author

Closed by #1254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed 📦 ⛰️ gno.land Issues or PRs gno.land package related 🌱 feature New update to Gno
Projects
Status: 🔵 Not Needed for Launch
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant