Skip to content

feat(template): only panics the module in the most top function level#4300

Merged
mergify[bot] merged 3 commits intomainfrom
feat/panic-on-module
Aug 13, 2024
Merged

feat(template): only panics the module in the most top function level#4300
mergify[bot] merged 3 commits intomainfrom
feat/panic-on-module

Conversation

@Pantani
Copy link
Copy Markdown
Contributor

@Pantani Pantani commented Aug 13, 2024

Description

Avoid using a lot of panic calls into the InitGenesis and ExportGenesis methods and panic in the parent function. This also make the code more testable.

@Pantani Pantani self-assigned this Aug 13, 2024
@Pantani Pantani marked this pull request as draft August 13, 2024 14:01
@Pantani Pantani changed the title feat(template): only panics in the most top function level feat(template): only panics the module in the most top function level Aug 13, 2024
@Pantani Pantani marked this pull request as ready for review August 13, 2024 18:29
Copy link
Copy Markdown
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

yes better 👍🏾

@mergify mergify Bot merged commit d1305ea into main Aug 13, 2024
@mergify mergify Bot deleted the feat/panic-on-module branch August 13, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants