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

fix: Export genesis fix #319

Merged
merged 2 commits into from
Aug 12, 2024
Merged

fix: Export genesis fix #319

merged 2 commits into from
Aug 12, 2024

Conversation

hacheigriega
Copy link
Member

Fixes the export panic when the core contract registry is empty.

@hacheigriega hacheigriega requested review from a team and gluax August 12, 2024 20:37
@hacheigriega hacheigriega merged commit da158ca into main Aug 12, 2024
9 of 10 checks passed
@hacheigriega hacheigriega deleted the hy/export-gen-err branch August 12, 2024 20:39
@@ -67,6 +67,7 @@ cat $HOME/.sedad/config/genesis.json | jq '.app_state["distribution"]["params"][
# gov params
if [ "$SHORT_VOTING_PERIOD" = "true" ]; then
cat $HOME/.sedad/config/genesis.json | jq '.app_state["gov"]["voting_params"]["voting_period"]="180s"' > $HOME/.sedad/config/tmp_genesis.json && mv $HOME/.sedad/config/tmp_genesis.json $HOME/.sedad/config/genesis.json
cat $HOME/.sedad/config/genesis.json | jq '.app_state["gov"]["params"]["voting_period"]="300s"' > $HOME/.sedad/config/tmp_genesis.json && mv $HOME/.sedad/config/tmp_genesis.json $HOME/.sedad/config/genesis.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we not rewriting this on the next line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops, just saw this. Good catch. The second one is supposed to be "expedited_voting_period". Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants