-
Notifications
You must be signed in to change notification settings - Fork 41
Upgrade to Ignite version 28.0.0 #65
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
Labels
discussion
Not to be merged, but to get discussion on code.
Comments
Thank you.
About the content's other parts:
|
Hello Xavier,
ignite scaffold chain checkers-app --no-module && cd checkers-app
ignite scaffold module checkers About the content's other part
|
I am adding ideas to handle in the upgraded content.
Initial suggestions and questions to Ignite:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Step-by-Step Upgrade Guide
There should be no major issue following the tutorial with v28.0.0 of Ignite, using Cosmos SDK v0.50.1
First, update your Ignite CLI to version 28.0.0 using the following command:
The scaffold chain command has been updated. Replace:
with
Docker Version upgrades
Upgrade the Ignite version for the docker container accordingly.
Change in Module Path
The path for
module.go
has changed to:x/checkers/module/module.go
Frontend Scaffolding Options
Frontend Scaffolding is no longer default to Vue. Now, you can choose between Vue, React, Go or TypeScript
Use these commands:
Update Scaffold Message for CreatePost Command
Make sure to update the output for the scaffolded
createPost
commandAutoCLI Path Change
The file
x/checkers/client/cli/tx_create_post.go
is now integrated with AutoCLI atx/checkers/module/autocli.go
Adjustment in Stored Game
Update the store
stored_game.go
as follows:Not sure if The "Adjustment" in chapter Store Object is necessary.
Chain-ID Requirements in CLI tx commands
CLI transaction commands require a chain-id flag now. For example:
Potential Issues and Resolutions
Dependency Conflicts: Ensure all dependencies are compatible with v28.0.0. Conflicts may arise due to the upgrade.
Docker Image Compatibility: Verify that the Docker image version aligns with the CLI version to avoid compatibility issues.
Frontend Scaffolding: If using a frontend framework, ensure it's correctly scaffolded as per the new commands. Old projects may need manual adjustments.
AutoCLI Integration: Check for any discrepancies caused by the new AutoCLI integration path and adjust your code accordingly.
Would appreciate your feedback on the upgrade
For more insights, it's valuable to check how tutorials have been upgraded within Ignite docs.
Checkout the amazing PR by @jeronimoalbi https://github.com/ignite/cli/pull/3705/files
The text was updated successfully, but these errors were encountered: