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
📦 ⛰️ 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 🌱 feature New update to Gno 📦 ⛰️ gno.land Issues or PRs gno.land package related labels Oct 11, 2023
@zivkovicmilos zivkovicmilos moved this from Backlog to TODO in 🚪🔁 The Portal Loop Oct 11, 2023
@moul moul moved this to 🔵 Not Needed for Launch in 🚀 The Launch [DEPRECATED] 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 zivkovicmilos moved this from TODO to In Progress in 🚪🔁 The Portal Loop Oct 19, 2023
@zivkovicmilos
Copy link
Member Author

Closed by #1254

@github-project-automation github-project-automation bot moved this from In Progress to Done in 🚪🔁 The Portal Loop Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 ⛰️ 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