Closed czarcas7ic closed 4 days ago
The changes in the specified file involve modifying a function call to use a different dependency. Specifically, the code transitioned from using tmtypes.GenesisDocFromFile
to genutiltypes.AppGenesisFromFile
. This adjustment removes the need to import the tmtypes
package and instead relies on the genutiltypes
package for the same functionality. This might be part of a broader refactoring or modularization effort.
File Path | Change Summary |
---|---|
cmd/osmosisd/cmd/root.go |
Removed tmtypes import and replaced a function call from tmtypes.GenesisDocFromFile to genutiltypes.AppGenesisFromFile |
The changes are too straightforward to warrant a sequence diagram. The alteration primarily replaces one direct function call with another without introducing new control flows or interactions.
cmd/osmosisd/cmd/root.go (1)
`933-933`: **Refactor: Use `AppGenesisFromFile` for improved SDK compatibility post version 50.** You've replaced `tmtypes.GenesisDocFromFile` with `genutiltypes.AppGenesisFromFile` to align with SDK version 50 changes. This is a crucial update for compatibility and future maintenance.
Closes: #XXX
What is the purpose of the change
Noticed from in-place-testnet