Skip to content

Commit

Permalink
Add gen for submitChangeRewardDenomsProposalAction
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Sep 20, 2023
1 parent 5841fce commit 1168aca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/e2e/action_rapid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ func GetActionGen() *rapid.Generator[any] {
)
}

func CreateSubmitChangeRewardDenomsProposalActionGen() *rapid.Generator[submitChangeRewardDenomsProposalAction] {
return rapid.Custom(func(t *rapid.T) submitChangeRewardDenomsProposalAction {
return submitChangeRewardDenomsProposalAction{
From: GetValidatorIDGen().Draw(t, "From"),
Deposit: rapid.Uint().Draw(t, "Deposit"),
Denom: rapid.String().Draw(t, "Denom"),
}
})
}

func CreateLightClientEquivocationAttackActionGen() *rapid.Generator[lightClientEquivocationAttackAction] {
return rapid.Custom(func(t *rapid.T) lightClientEquivocationAttackAction {
return lightClientEquivocationAttackAction{
Expand Down

0 comments on commit 1168aca

Please sign in to comment.