Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Mar 7, 2024
1 parent 54ce2b2 commit 4654c90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion x/emissions/genesis_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package emissions_test

import (
sdk "github.com/cosmos/cosmos-sdk/types"
"testing"

"github.com/stretchr/testify/require"
Expand All @@ -12,8 +13,11 @@ import (
)

func TestGenesis(t *testing.T) {
params := types.DefaultParams()
params.ObserverSlashAmount = sdk.Int{}

genesisState := types.GenesisState{
Params: types.DefaultParams(),
Params: params,
WithdrawableEmissions: []types.WithdrawableEmissions{
sample.WithdrawableEmissions(t),
sample.WithdrawableEmissions(t),
Expand Down
1 change: 0 additions & 1 deletion x/emissions/keeper/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestKeeper_GetParams(t *testing.T) {
ObserverEmissionPercentage: "00.25",
TssSignerEmissionPercentage: "00.25",
DurationFactorConstant: "0.001877876953694702",
ObserverSlashAmount: sdkmath.NewInt(100000000000000000),
},
isPanic: "",
},
Expand Down

0 comments on commit 4654c90

Please sign in to comment.