In this test, we set the storedGame.Red to an AccAddress. We then use the GetRedAddress() method on that storedGame struct. Which returns the AccAddress we set the line above. However, this test is expecting that the GetRedAddress() should return nil?
I'm trying to do this with the most recent Ignite CLI (more as a challenge vs copypasta the tutorial).. is the StoredGame suppose to not allow storedGame.Red designation?
https://github.com/cosmos/b9-checkers-academy-draft/blob/c2490f415351dfd2e6e7e6c006c34c380f7c458f/x/checkers/types/full_game_test.go#L78
In this test, we set the
storedGame.Red
to an AccAddress. We then use theGetRedAddress()
method on that storedGame struct. Which returns the AccAddress we set the line above. However, this test is expecting that theGetRedAddress()
should returnnil
?I'm trying to do this with the most recent Ignite CLI (more as a challenge vs copypasta the tutorial).. is the StoredGame suppose to not allow
storedGame.Red
designation?