feat(sequencer-utils): generate example genesis state#1224
Merged
SuperFluffy merged 4 commits intomainfrom Jul 3, 2024
Merged
Conversation
8c0cc9f to
3eb33bd
Compare
noot
reviewed
Jun 28, 2024
noot
reviewed
Jun 28, 2024
noot
reviewed
Jun 28, 2024
noot
reviewed
Jun 28, 2024
Contributor
Author
I have updated the justfile to make that work, but I think we should think about creating a more actively maintained solution to starting a test-network of sequencers. |
noot
approved these changes
Jul 3, 2024
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
cece566 to
b8b8a87
Compare
steezeburger
added a commit
that referenced
this pull request
Jul 11, 2024
* main: (27 commits) refactor(sequencer): fix prepare proposal metrics (#1211) refactor(bridge-withdrawer): move generated contract bindings to crate (#1237) fix(sequencer) fix wrong metric and remove unused metric (#1240) feat(sequencer): implement transaction fee query (#1196) chore(cli)!: remove unmaintained rollup subcommand (#1235) release(sequencer): 0.14.1 patch release (#1233) feat(sequencer-utils): generate example genesis state (#1224) feat(sequencer): implement abci query for bridge account info (#1189) feat(charts): bridge-withdrawer, smoke test, various chart improvements (#1141) chore(charts): update for new geth update (#1226) chore(chart)!: dusk-8 chart version updates (#1223) release(conductor): fix conductor release version (#1222) release: dusk-8 versions (#1219) fix(core): revert `From` ed25519_consensus types for crypto mod (#1220) Refactor(chart, sequencer): restructure sequencer chart, adjust configs (#1193) refactor(withdrawer): read from block subscription stream and get events on each block (#1207) feat(core): implement with verification key for address builder and crypto improvements (#1218) feat(proto, sequencer)!: use full IBC ICS20 denoms instead of IDs (#1209) chore(chart): update evm chart for new prefix field (#1214) chore: bump penumbra deps (#1216) ...
bharath-123
pushed a commit
that referenced
this pull request
Jul 25, 2024
## Summary Provides a `generate-genesis-state` subcommand to sequencer-utils. ## Background We had a `test-genesis.json` file committed to the repo that was not checked to be in-sync with the most recent version of sequencer's actual `GenesisState`. The subcommand `generate-genesis-state` removes the need to keep the file in sync because one can always generate one that matches the current format. ## Changes - remove `astria-sequencer/test-genesis-app-state.json` - move sequencer's `GenesisState` to the new `astria-core::sequencer` submodule. Because this config is effectively a public API, it is justified to be outside of the `astria-sequencer` binary crate. ## Testing It is a very thin binary which can be run by hand. The specific format of `GenesisState` not changing is ensured by a snapshot test that was moved from `astria-sequencer` to `astria-core`. ## Related Issues Closes #1212 --------- Co-authored-by: noot <36753753+noot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Provides a
generate-genesis-statesubcommand to sequencer-utils.Background
We had a
test-genesis.jsonfile committed to the repo that was not checked to be in-sync with the most recent version of sequencer's actualGenesisState. The subcommandgenerate-genesis-stateremoves the need to keep the file in sync because one can always generate one that matches the current format.Changes
astria-sequencer/test-genesis-app-state.jsonGenesisStateto the newastria-core::sequencersubmodule. Because this config is effectively a public API, it is justified to be outside of theastria-sequencerbinary crate.Testing
It is a very thin binary which can be run by hand. The specific format of
GenesisStatenot changing is ensured by a snapshot test that was moved fromastria-sequencertoastria-core.Related Issues
Closes #1212