Skip to content

Commit

Permalink
godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Apr 4, 2024
1 parent eeb3661 commit a742f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/transaction/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package transaction

import "context"

// ExecMode defines the execution mode which can be set on a Context.
// ExecMode defines the execution mode
type ExecMode uint8

// All possible execution modes.
// For backwards compatibility and easier casting, the exec mode values must be the same as in cosmos/cosmos-sdk/types package.
const (
ExecModeCheck ExecMode = iota
_
Expand All @@ -18,7 +19,6 @@ const (
)

// Service creates a transaction service.
// This service is used to get information about which context is used to execute a transaction.
type Service interface {
ExecMode(ctx context.Context) ExecMode
}

0 comments on commit a742f1c

Please sign in to comment.