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.
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
Rename
ExportGenesisStateCommand
toExportGenesisHeadCommand
and make it respect custom genesis block builders #2331Rename
ExportGenesisStateCommand
toExportGenesisHeadCommand
and make it respect custom genesis block builders #2331Changes from 47 commits
6fb2596
89e825b
238a7e0
59b2c8f
f58981e
3caefa5
08365ff
d456cd0
7c84b90
5e20abc
c72c161
e4ac486
ece683a
cca6d02
1b593f7
a8e8fb1
439a5d4
297e1bd
1f6a2f3
757dc51
85d39ac
c187e00
22136dc
35d9518
01dd857
68d858f
8f2f471
81f5dfd
554fcb3
e8d4327
babcd27
30a55f8
e1566bc
50f7f47
31f8a2c
fe5b9f4
df69620
f7c04de
6bc796d
238c874
89511b6
c41f8a4
c19c29d
58a75ea
a37a3d4
aa3d14a
0c9dbc2
3c39cc9
8da60f6
1e528ee
4866c84
1d5795b
0a21af5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember why we have
parachain_id
here, it looks like it is unused. Since we are at it, you could clean this up if you like.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was already feeling a sloppy about doing both the rename and the fix in a single PR. I kind of prefer a separate issue for this.
I also hesitate a little bit because I'm not sure if removing this will break zombienet. And I also don't know the history of when it stopped being used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I will create an issue and can assign it to myself, will come back to this.
Edit: #2567
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DQ: Why do we need to preserve this logic for the test node?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is called in two places. I briefly considered how to eliminate it entirely, but I wasn't familiar enough with the test service. If you have an idea, I think it would be nice to eliminate this entirely. But this already fixes a real bug for me, so if this cleanup gets too complex, maybe we can do it in a followup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace the state version extraction by this, then we can merge for now 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why we have the custom export logic there any way. We can just call the default code for
ExportGenesisState
command.@JoshOrndorff can you please do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. I've done it now.