Skip to content

Commit

Permalink
Rough addition for create validator wrapper (no Coins)
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Oct 20, 2023
1 parent b8e962d commit 04e4269
Show file tree
Hide file tree
Showing 19 changed files with 3,050 additions and 972 deletions.
7 changes: 4 additions & 3 deletions ante/disable_staking.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ func (msfd MsgStakingFilterDecorator) hasInvalidStakingMsg(msgs []sdk.Msg) (bool
return true, nil
case *stakingtypes.MsgCancelUnbondingDelegation:
return true, nil
case *stakingtypes.MsgCreateValidator: // TODO:? wrap it to our own Message to allow & mint the needed token?
// we disable here, but have an identical poa Tx. We mint them 1stake so they can actually make it.
case *stakingtypes.MsgCreateValidator:
return true, nil
case *stakingtypes.MsgDelegate:
return true, nil
case *stakingtypes.MsgEditValidator: // TODO:?
return true, nil
// case *stakingtypes.MsgEditValidator: // TODO:?
// return true, nil
case *stakingtypes.MsgUndelegate:
return true, nil
case *stakingtypes.MsgUpdateParams: // TODO: ? allow or wrap with isAdmin?
Expand Down
1,547 changes: 1,439 additions & 108 deletions api/v1/tx.pulsar.go

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions api/v1/tx_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 04e4269

Please sign in to comment.