go-bitsong icon indicating copy to clipboard operation
go-bitsong copied to clipboard

genesis_test.go file in nft module

Open giorgionocera opened this issue 3 years ago • 2 comments

In the nft module, there is the nft/types/genesis_test.go file, which should contain the tests for the genesis validation, including those for genesis file parsing. These tests are missing ATM and we should implement them.

giorgionocera avatar Oct 02 '22 10:10 giorgionocera

Here's the commit for genesis tests https://github.com/bitsongofficial/go-bitsong/pull/153/commits/b3d719ad03c305c9289e775f45c033cdb6dabcec

Just have put genesis init and export functionalities on keeper, to follow latest Cosmos coding standard.

ryusmo avatar Oct 03 '22 09:10 ryusmo

On that commit, it is also done what is asked in #156. Thank you! The only thing I ask you is to improve the tests by also adding some other test examples, please.

giorgionocera avatar Oct 03 '22 15:10 giorgionocera