From 8e64eb5f6601cfb159365e02595525d1151b0b5a Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Tue, 8 Oct 2024 02:52:10 -0300 Subject: [PATCH] chore: compare genesis params into chain genesis tests (#4384) --- changelog.md | 1 + .../files/base/x/{{moduleName}}/module/genesis_test.go.plush | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 02a94ce17f..5c844cffea 100644 --- a/changelog.md +++ b/changelog.md @@ -43,6 +43,7 @@ - [#4317](https://github.com/ignite/cli/pull/4317) Remove xchisel dependency - [#4361](https://github.com/ignite/cli/pull/4361) Remove unused `KeyPrefix` method - [#4376](https://github.com/ignite/cli/pull/4376) Set different chain-id for in place testnet +- [#4384](https://github.com/ignite/cli/pull/4384) Compare genesis params into chain genesis tests ### Fixes diff --git a/ignite/templates/module/create/files/base/x/{{moduleName}}/module/genesis_test.go.plush b/ignite/templates/module/create/files/base/x/{{moduleName}}/module/genesis_test.go.plush index 67d42f972a..e7e886ce47 100644 --- a/ignite/templates/module/create/files/base/x/{{moduleName}}/module/genesis_test.go.plush +++ b/ignite/templates/module/create/files/base/x/{{moduleName}}/module/genesis_test.go.plush @@ -28,6 +28,6 @@ func TestGenesis(t *testing.T) { nullify.Fill(got) <%= if (isIBC) { %>require.Equal(t, genesisState.PortId, got.PortId)<% } %> - + require.Equal(t, genesisState.Params, got.Params) // this line is used by starport scaffolding # genesis/test/assert }