-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): remove redundant ExecMode (#20322)
- Loading branch information
1 parent
b8c8482
commit ac49374
Showing
3 changed files
with
31 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package internal | ||
|
||
import "cosmossdk.io/core/transaction" | ||
|
||
// All possible transaction execution modes. | ||
// For backwards compatibility and easier casting, the ExecMode values must be: | ||
// 1) set equivalent to cosmos/cosmos-sdk/types package. | ||
// 2) a superset of core/transaction/service.go:ExecMode with same numeric values. | ||
const ( | ||
ExecModeCheck transaction.ExecMode = iota | ||
ExecModeReCheck | ||
ExecModeSimulate | ||
ExecModePrepareProposal | ||
ExecModeProcessProposal | ||
ExecModeVoteExtension | ||
ExecModeVerifyVoteExtension | ||
ExecModeFinalize | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters