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

docs: add instructions to change DefaultGenesis #21680

Merged
merged 12 commits into from
Oct 1, 2024

Conversation

ziscky
Copy link
Contributor

@ziscky ziscky commented Sep 12, 2024

Description

Closes: #11008

Add documentation on how to change the default genesis.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title, you can find examples of the prefixes below:
  • confirmed ! in the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • reviewed "Files changed" and left comments if necessary
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • updated the relevant documentation or specification, including comments for documenting Go code
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

Please see Pull Request Reviewer section in the contributing guide for more information on how to review a pull request.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic, API design and naming, documentation is accurate, tests and test coverage

Summary by CodeRabbit

  • New Features

    • Introduced a customizable CustomStakingModule for enhanced control over the Staking module's behavior.
    • Added functionality for modifying default genesis parameters, allowing developers to customize values like BondDenom.
  • Improvements

    • Simplified module architecture by removing the basic module manager, promoting a more streamlined integration process.

These changes enhance the modularity and configurability of the Cosmos SDK application framework, making it easier for developers to tailor module behaviors.

Copy link
Contributor

coderabbitai bot commented Sep 12, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The pull request introduces significant changes to the handling of the DefaultGenesis method within the Cosmos SDK application framework. It allows for customization of the Staking module through a new CustomStakingModule, which can be implemented using a global variable, an existing manager, or dependency injection. Additionally, a new file outlines how to modify default genesis parameters, enhancing the modularity and configurability of application modules.

Changes

Files Change Summary
docs/build/building-apps/01-app-go-di.md Added documentation on customizing DefaultGenesis with CustomStakingModule and its options.
docs/build/building-apps/06-app-go-genesis.md Introduced functionality for modifying default genesis parameters, including a custom implementation for the Staking module.
module/... Modified to include CustomStakingModule in NewBasicManager and NewManagerFromMap.

Assessment against linked issues

Objective Addressed Explanation
Document how to change default genesis ( #11008 )

Possibly related PRs

  • refactor: decouple comet from modules #21382: This PR involves significant modifications to the staking module, including the removal of deprecated structures, which may relate to the changes in handling the DefaultGenesis parameters for the Staking module in the main PR.
  • feat(sims): Add sims2 framework and factory methods #21613: The introduction of a new framework for message factories in simulations could relate to the customization and modularity enhancements in the main PR, particularly in how modules are managed and integrated.

Suggested labels

C:x/genutil, C:x/staking, backport/v0.50.x

Suggested reviewers

  • kocubinski
  • raynaudoe
  • julienrbrt
  • akhilkumarpilli
  • sontrinh16

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@ziscky ziscky changed the title feat(baseapp/docs): add instructions to change DefaultGenesis docs(baseapp): add instructions to change DefaultGenesis Sep 12, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
@ziscky ziscky marked this pull request as ready for review September 12, 2024 16:27
@ziscky ziscky requested a review from a team as a code owner September 12, 2024 16:27
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Outside diff range and nitpick comments (1)
docs/build/building-apps/01-app-go-di.md (1)

176-176: Add a blank line before the fenced code block.

To adhere to the Markdown formatting best practices, add a blank line before the fenced code block. This improves the readability of the documentation.

Apply this change:

-```go
+
+```go
Tools
Markdownlint

176-176: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between bd52dcf and bf11346.

Files selected for processing (1)
  • docs/build/building-apps/01-app-go-di.md (1 hunks)
Additional context used
Path-based instructions (1)
docs/build/building-apps/01-app-go-di.md (1)

Pattern **/*.md: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"

Markdownlint
docs/build/building-apps/01-app-go-di.md

176-176: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

Additional comments not posted (5)
docs/build/building-apps/01-app-go-di.md (5)

121-222: Valuable addition to the documentation, but consider moving to a separate page and updating for v0.52.

The new content on modifying the DefaultGenesis parameters for modules provides helpful insights for developers looking to customize their Cosmos SDK applications. The code examples clearly demonstrate the different approaches available.

However, as mentioned in the previous review comment, this content may be better suited in a separate documentation page, rather than being included in the "Overview of app_di.go" section. This would help keep the documentation more focused and organized.

Additionally, it's important to ensure that the documentation and code examples are up-to-date with the latest version of the Cosmos SDK (v0.52). Some concepts or APIs mentioned here may have changed or been deprecated in newer versions.

Tools
Markdownlint

176-176: null
Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


129-157: Code example for option 1 looks good.

The code example demonstrating how to use a custom CustomStakingModule to override the DefaultGenesis method using the ModuleBasics variable is clear and easy to understand. It shows how to wrap the existing staking module and provide a custom implementation.


159-167: Code example for option 2 is clear and concise.

The code example for option 2 demonstrates how to create a basic module manager from the existing module manager and override the staking module's AppModuleBasic implementation. This approach is straightforward and allows for targeted customization of specific modules.


168-174: Code example for option 3 showcases the use of depinject.

The code example for option 3 illustrates how to use depinject.Supply to provide custom module basics. This approach leverages dependency injection to customize the behavior of specific modules. It's a clean and flexible way to extend or modify module functionality.


181-208: Code example for customizing DefaultGenesis using the new module manager is well-structured.

The code example demonstrates how to create a CustomStakingModule that embeds the staking.AppModule and overrides the DefaultGenesis method. It shows two options for integrating the custom module:

  1. Creating a new module manager with the custom staking module.
  2. Overriding the existing module manager's staking module with the custom one.

Both approaches are clearly explained and the code is properly structured.

docs/build/building-apps/01-app-go-di.md Outdated Show resolved Hide resolved
Copy link
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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between bf11346 and 83b248a.

Files selected for processing (1)
  • docs/build/building-apps/06-app-go-genesis.md (1 hunks)
Additional context used
Path-based instructions (1)
docs/build/building-apps/06-app-go-genesis.md (1)

Pattern **/*.md: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"

Markdownlint
docs/build/building-apps/06-app-go-genesis.md

6-6: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)

Additional comments not posted (1)
docs/build/building-apps/06-app-go-genesis.md (1)

13-53: LGTM!

The Go code example is well-structured and follows best practices. It provides a clear demonstration of how to modify the DefaultGenesis parameters for the staking module. The two options for overriding the module manager are also helpful for different use cases.

docs/build/building-apps/06-app-go-genesis.md Show resolved Hide resolved
docs/build/building-apps/06-app-go-genesis.md Outdated Show resolved Hide resolved
docs/build/building-apps/06-app-go-genesis.md Outdated Show resolved Hide resolved
docs/build/building-apps/06-app-go-genesis.md Outdated Show resolved Hide resolved
docs/build/building-apps/06-app-go-genesis.md Outdated Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range and nitpick comments (5)
docs/build/building-apps/06-app-go-genesis.md (5)

1-6: Add a top-level heading to improve document structure

To enhance the structure and readability of the documentation, please add a top-level heading (e.g., # Modifying the DefaultGenesis) as the first line after the YAML front matter. This aligns with Markdown best practices and improves the overall document hierarchy.

Apply this change after the YAML front matter:

 ---
 sidebar_position: 1
 ---
 
+# Modifying the DefaultGenesis
 
 ### Modifying the `DefaultGenesis`
Tools
Markdownlint

6-6: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)


6-8: Enhance the introduction for better context and clarity

While the introduction provides a brief overview, it could be expanded to offer more context and clarity for developers. Consider adding:

  1. A brief explanation of what DefaultGenesis parameters are and why one might want to modify them.
  2. A mention of the specific example (staking module) that will be used in the document.
  3. A note about the two options that will be presented (for depinject and non-depinject users).

This additional information will help readers better understand the purpose and scope of the document.

Tools
Markdownlint

6-6: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)


19-19: Improve comment clarity for DefaultGenesis method

As suggested in a previous review, please update the comment for better clarity:

-// DefaultGenesis will override the Staking module DefaultGenesis AppModule method.
+// DefaultGenesis will override the Staking module DefaultGenesis AppModuleBasic method.

This change more accurately reflects that the method is overriding the AppModuleBasic interface method.


14-45: Add inline comments to explain key steps in the code example

To improve the readability and understanding of the code example, consider adding inline comments to explain key steps and concepts. This will help developers better grasp the process of modifying the DefaultGenesis.

Here are some suggested additions:

// CustomStakingModule wraps the original staking.AppModule and overrides the DefaultGenesis method
type CustomStakingModule struct {
    staking.AppModule
    cdc codec.Codec
}

// DefaultGenesis overrides the Staking module DefaultGenesis AppModuleBasic method
func (cm CustomStakingModule) DefaultGenesis() json.RawMessage {
    // Customize the default parameters
    params := stakingtypes.DefaultParams()
    params.BondDenom = "mydenom"

    // Create and return a custom genesis state
    return cm.cdc.MustMarshalJSON(&stakingtypes.GenesisState{
        Params: params,
    })
}

// Option 1: For non-depinject users - create a new module manager
moduleManager := module.NewManagerFromMap(map[string]appmodule.AppModule{
    stakingtypes.ModuleName: CustomStakingModule{cdc: appCodec, AppModule: staking.NewAppModule(...)},
    // other modules ...
})

// Option 2: For depinject users - override the existing module manager
depinject.Inject(
    // ... provider/invoker/supplier
    &moduleManager,
)

// Replace the original staking module with the custom one
oldStakingModule, _ := moduleManager.Modules()[stakingtypes.ModuleName].(staking.AppModule)
moduleManager.Modules()[stakingtypes.ModuleName] = CustomStakingModule{
    AppModule: oldStakingModule,
    cdc: appCodec,
}

These additional comments will help clarify the purpose of each section and improve the overall understanding of the code.


51-51: Add a conclusion section to summarize key points

To enhance the overall structure and reinforce the main concepts, consider adding a conclusion section at the end of the document. This section could:

  1. Summarize the key steps for modifying the DefaultGenesis.
  2. Highlight the differences between the depinject and non-depinject approaches.
  3. Remind readers of the importance of carefully considering changes to default genesis values.

A conclusion will help readers consolidate their understanding and provide a clear takeaway from the document.

Here's a suggested addition:

## Conclusion

In this guide, we've explored how to modify the DefaultGenesis parameters for modules in the Cosmos SDK:

1. Create a custom module that wraps the original module and overrides the DefaultGenesis method.
2. Integrate the custom module into your application using either:
   - A new module manager (for non-depinject users)
   - Overriding the existing module manager (for depinject users)
3. Replace the original module with the custom one in the module manager.

Remember to carefully consider the implications of changing default genesis values, as they can significantly impact your blockchain's initial state and behavior.
Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 83b248a and 89fe2cf.

Files selected for processing (1)
  • docs/build/building-apps/06-app-go-genesis.md (1 hunks)
Additional context used
Path-based instructions (1)
docs/build/building-apps/06-app-go-genesis.md (1)

Pattern **/*.md: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"

Markdownlint
docs/build/building-apps/06-app-go-genesis.md

6-6: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)

Copy link
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.

ACK!

@julienrbrt julienrbrt added the backport/v0.52.x PR scheduled for inclusion in the v0.52's next stable release label Sep 25, 2024
@julienrbrt julienrbrt changed the title docs(baseapp): add instructions to change DefaultGenesis docs: add instructions to change DefaultGenesis Sep 25, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (4)
docs/build/building-apps/06-app-go-genesis.md (4)

6-11: Adjust heading level for consistency.

To maintain a proper document structure, change the heading level from H3 to H2. This will create a logical hierarchy with the suggested top-level heading.

-### Modifying the `DefaultGenesis`
+## Modifying the `DefaultGenesis`
🧰 Tools
Markdownlint

6-6: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)


19-19: Improve method override comment.

For better clarity, please update the comment as suggested in the previous review:

-// DefaultGenesis will override the Staking module DefaultGenesis AppModuleBasic method.
+// DefaultGenesis will override the Staking module DefaultGenesis AppModule method.

29-29: Enhance the description for option 1.

To provide more context, consider expanding the comment for option 1:

-// option 1 ( for depinject users ): override previous module manager
+// Option 1 (for depinject users): Override the existing module manager
+// This approach modifies the injected module manager in-place

41-49: Improve comment formatting and consistency.

For better readability and consistency, consider the following changes:

  1. Format the option 2 comment similar to option 1.
  2. Capitalize the comment for setting the module manager.
-// option 2 ( for non depinject users ): use new module manager
+// Option 2 (for non depinject users): Create a new module manager
+// This approach creates a fresh module manager with the custom module

 // ... (code remains unchanged)

-// set the module manager
+// Set the module manager
 app.ModuleManager = moduleManager
📜 Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 89fe2cf and 5c0e03a.

📒 Files selected for processing (1)
  • docs/build/building-apps/06-app-go-genesis.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
docs/build/building-apps/06-app-go-genesis.md (1)

Pattern **/*.md: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"

Markdownlint
docs/build/building-apps/06-app-go-genesis.md

6-6: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)

🔇 Additional comments not posted (1)
docs/build/building-apps/06-app-go-genesis.md (1)

1-49: Overall, the document provides clear and valuable information.

This documentation on modifying the DefaultGenesis is well-structured and informative. It provides clear examples for both depinject and non-depinject users, which is very helpful. The suggested improvements will further enhance its readability and consistency.

Great job on creating this comprehensive guide!

🧰 Tools
Markdownlint

6-6: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)

docs/build/building-apps/06-app-go-genesis.md Outdated Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (3)
docs/build/building-apps/06-app-go-genesis.md (3)

1-5: Add a top-level (H1) heading after the front matter

To improve the document structure and address the Markdownlint hint, please add an H1 heading after the front matter. This will also make the document more accessible and easier to navigate.

Apply this change:

 ---
 sidebar_position: 1
 ---
 
+# Modifying the DefaultGenesis
+
 ### Modifying the `DefaultGenesis`
🧰 Tools
Markdownlint

5-5: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)


7-9: Enhance the explanatory text for clarity

While the current explanation covers the main points, it could be more detailed to ensure clarity for all users. Consider expanding on the following:

  1. Briefly explain what DefaultGenesis is and why someone might want to modify it.
  2. Clarify the difference between depinject and non-depinject users, and why there are two separate options.
  3. Provide a brief introduction to each option before the code example.

This will help users better understand the context and choose the appropriate method for their use case.


17-17: Update the comment for clarity

As suggested in a previous review, the comment could be more precise.

Apply this change:

-// DefaultGenesis will override the Staking module DefaultGenesis AppModuleBasic method.
+// DefaultGenesis will override the Staking module DefaultGenesis AppModule method.
📜 Review details

Configuration used: .coderabbit.yml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 5c0e03a and d490b39.

📒 Files selected for processing (1)
  • docs/build/building-apps/06-app-go-genesis.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
docs/build/building-apps/06-app-go-genesis.md (1)

Pattern **/*.md: "Assess the documentation for misspellings, grammatical errors, missing documentation and correctness"

Markdownlint
docs/build/building-apps/06-app-go-genesis.md

5-5: null
First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)

Comment on lines +27 to +47
// option 1 ( for depinject users ): override previous module manager
depinject.Inject(
// ... provider/invoker/supplier
&moduleManager,
)

oldStakingModule,_ := moduleManager.Modules()[stakingtypes.ModuleName].(staking.AppModule)
moduleManager.Modules()[stakingtypes.ModuleName] = CustomStakingModule{
AppModule: oldStakingModule,
cdc: appCodec,
}

// option 2 ( for non depinject users ): use new module manager
moduleManager := module.NewManagerFromMap(map[string]appmodule.AppModule{
stakingtypes.ModuleName: CustomStakingModule{cdc: appCodec, AppModule: staking.NewAppModule(...)},
// other modules ...
})

// set the module manager
app.ModuleManager = moduleManager
```
Copy link
Contributor

@coderabbitai coderabbitai bot Sep 25, 2024

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Improve the flow of the integration example

The current example could be restructured to provide a clearer flow of operations. Consider the following suggestions:

  1. First, show how to create or obtain a module manager.
  2. Then, demonstrate how to modify it (option 2 for non-depinject users, option 1 for depinject users).
  3. Finally, show how to set the modified module manager on the app.

Also, for option 1, it's not clear where moduleManager comes from. Consider adding a brief explanation or showing its initialization.

Here's a suggested restructure:

// Option 1: For non-depinject users
moduleManager := module.NewManagerFromMap(map[string]appmodule.AppModule{
    stakingtypes.ModuleName: CustomStakingModule{cdc: appCodec, AppModule: staking.NewAppModule(...)},
    // other modules ...
})

// Option 2: For depinject users
// Assuming moduleManager is injected
depinject.Inject(
    // ... provider/invoker/supplier
    &moduleManager,
)

// Modify the module manager (applies to both options)
oldStakingModule, _ := moduleManager.Modules()[stakingtypes.ModuleName].(staking.AppModule)
moduleManager.Modules()[stakingtypes.ModuleName] = CustomStakingModule{
    AppModule: oldStakingModule,
    cdc: appCodec,
}

// Set the modified module manager on the app
app.ModuleManager = moduleManager

Copy link
Member

Choose a reason for hiding this comment

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

Good suggestion from the bot imho @ziscky

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!

Copy link
Member

Choose a reason for hiding this comment

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

However, option 1 should still be depinject

@tac0turtle tac0turtle added this pull request to the merge queue Oct 1, 2024
Merged via the queue into main with commit 617d547 Oct 1, 2024
70 checks passed
@tac0turtle tac0turtle deleted the ziscky/11008-baseapp-default-genesis-docs branch October 1, 2024 07:42
mergify bot pushed a commit that referenced this pull request Oct 1, 2024
tac0turtle pushed a commit that referenced this pull request Oct 1, 2024
…1991)

Co-authored-by: Eric Mokaya <4112301+ziscky@users.noreply.github.com>
@coderabbitai coderabbitai bot mentioned this pull request Oct 1, 2024
12 tasks
alpe added a commit that referenced this pull request Oct 1, 2024
* main:
  docs: amend docs for 52 changes  (#21992)
  test: migrate e2e/authz to system tests (#21819)
  refactor(runtime/v2): use StoreBuilder (#21989)
  feat(schema): add API descriptors, struct, oneof & list types, and wire encoding spec (#21482)
  docs: add instructions to change DefaultGenesis (#21680)
  feat(x/staking)!: Add metadata field to validator info (#21315)
  chore(x/authz)!: Remove account keeper dependency (#21632)
alpe added a commit that referenced this pull request Oct 1, 2024
* main:
  docs: amend docs for 52 changes  (#21992)
  test: migrate e2e/authz to system tests (#21819)
  refactor(runtime/v2): use StoreBuilder (#21989)
  feat(schema): add API descriptors, struct, oneof & list types, and wire encoding spec (#21482)
  docs: add instructions to change DefaultGenesis (#21680)
  feat(x/staking)!: Add metadata field to validator info (#21315)
  chore(x/authz)!: Remove account keeper dependency (#21632)
  chore(contributing): delete link (#21990)
  test(gov): Migrate e2e to system test (#21927)
  test: e2e/client to system tests (#21981)
This was referenced Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v0.52.x PR scheduled for inclusion in the v0.52's next stable release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

document how to change defaultGenesis
5 participants