This is a companion project of the Cosmos SDK tutorials. Its object is to show various features of the Cosmos SDK and of Ignite, along with the progression of the code as elements and features are added.
The progression of the code is demonstrated via the help of branches and diffs.
All the build steps were run inside the Docker container.
$ ignite scaffold chain github.com/b9lab/checkers
The project is created with a clean list of commits in order to demonstrate the natural progression of the project. In this sense, there is no late commit that fixes an error introduced earlier. If there is a fix for an error introduced earlier, the fix should be squashed with the earlier commit that introduced the error. This may require some conflict resolution.
Having a clean list of commits makes it possible to do meaningful compare
s.
To make it easier to link to the content at the different stages of the project's progression, a number of branches have been created at commits that have Add branch the-branch-name
as message. Be careful with the commit message as it depends on it matching the "Add branch [0-9a-zA-Z\-]*"
regular expression.
The script push-branches.sh
is used to extract these commits and force push them to the appropriate branch in the repository. After having made changes, you should run this script, and also manually force push to main
.
Versions used here are:
Branches:
ignite-start
rules-added
, diffstored-game
, difffull-game-object
, diffcreate-game-msg
, diffcreate-game-handler
, diffplay-move-msg
, diffplay-move-handler
, difftwo-events
, diffgame-winner
, diffgame-deadline
, diffmove-count
, difffifo-fields
, diffgame-fifo
, diffforfeit-game
, diffgame-wager
, diffpayment-winning
, diffintegration-tests
, diffgas-meter
, diffcan-play-move-query
, diffcan-play-move-handler
, diffwager-denomination
, diffcosmjs-elements
, diffrun-prod
, diffplayer-info-object
, diffplayer-info-handling
, diffplayer-info-migration
, diffleaderboard-module
, diffleaderboard-objects
, diffleaderboard-handling
, diffleaderboard-migration
, diffmigration-prod
, diffVersions used in version 1 are:
Tags:
v1-starport-start
v1-rules-added
, diffv1-stored-game
, diffv1-full-game-object
, diffv1-create-game-msg
, diffv1-create-game-handler
, diffv1-play-move-msg
, diffv1-play-move-handler
, diffv1-two-events
, diffv1-reject-game-msg
, diffv1-reject-game-handler
, diffv1-game-fifo
, diffv1-game-deadline
, diffv1-game-winner
, diffv1-forfeit-game
, diffv1-game-wager
, diffv1-payment-winning
, diffv1-gas-meter
, diffv1-can-play-move-query
, diffv1-can-play-move-handler
, diffv1-wager-denomination
, diffv1-cosmjs-elements
, diffv1-player-info-object
, diffv1-player-info-handling
, diffv1-leaderboard-object
, diffv1-leaderboard-handling
, diffv1-genesis-migration
, diff