codecs: rename MakeCodecs rename and docs update (#8245)

* codecs: rename MakeCodecs to MakeTestCodecs

* update changelog

* remove MakeTestCodecs

* typo
This commit is contained in:
Robert Zaremba
2021-01-07 21:50:52 +00:00
committed by GitHub
parent 7fd3d00459
commit 7fc5e3e6ab
21 changed files with 38 additions and 46 deletions
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"github.com/cosmos/cosmos-sdk/std"
)
// MakeTestEncodingConfig creates an EncodingConfig for testing.
// This function should be used only internally (in the SDK).
// App user should'nt create new codecs - use the app.AppCodec instead.
// MakeTestEncodingConfig creates an EncodingConfig for testing. This function
// should be used only in tests or when creating a new app instance (NewApp*()).
// App user shouldn't create new codecs - use the app.AppCodec instead.
// [DEPRECATED]
func MakeTestEncodingConfig() simappparams.EncodingConfig {
encodingConfig := simappparams.MakeTestEncodingConfig()