Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/leverage: expand types.genesis_test.go #484

Closed
4 tasks
toteki opened this issue Feb 2, 2022 · 0 comments · Fixed by #1962
Closed
4 tasks

x/leverage: expand types.genesis_test.go #484

toteki opened this issue Feb 2, 2022 · 0 comments · Fixed by #1962

Comments

@toteki
Copy link
Member

toteki commented Feb 2, 2022

Summary

Genesis state validation functions, and tests thereof, should be brought up to standard.

func TestGenesisValidation(t *testing.T) {
	genState := DefaultGenesis()
	require.NoError(t, genState.Validate())

	// TODO: expand this test to cover failure cases.
}

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant