Documentation ¶
Index ¶
- func AtomicAbort(id uint64) func(g *CommandGenerator) StoreCommand
- func AtomicCommit(id uint64) func(g *CommandGenerator) StoreCommand
- func AtomicPrepare(id uint64, ops ...OPCommand) func(g *CommandGenerator) StoreCommand
- func Commit(ops ...OPCommand) func(g *CommandGenerator) StoreCommand
- func K(idx int) []byte
- func MakeAtomicModeContext(cms sdk.CommitMultiStore, lkmgr types.OPManager) sdk.Context
- func MakeBasicModeContext(cms sdk.CommitMultiStore, lkmgr types.OPManager) sdk.Context
- func MakeCMStore(t *testing.T, key sdk.StoreKey) sdk.CommitMultiStore
- func MakeCodec() codec.Codec
- func MakeContext(cms sdk.CommitMultiStore) sdk.Context
- func Query(ops ...OPCommand) func(g *CommandGenerator) StoreCommand
- func V(idx int) []byte
- type Command
- type CommandGenerator
- func (g *CommandGenerator) AtomicAbort(id uint64) StoreCommand
- func (g *CommandGenerator) AtomicCommit(id uint64) StoreCommand
- func (g *CommandGenerator) AtomicPrepare(id uint64, ops ...OPCommand) StoreCommand
- func (g *CommandGenerator) Commit(ops ...OPCommand) StoreCommand
- func (g *CommandGenerator) Query(ops ...OPCommand) StoreCommand
- type OPCommand
- type StoreCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicAbort ¶
func AtomicAbort(id uint64) func(g *CommandGenerator) StoreCommand
func AtomicCommit ¶
func AtomicCommit(id uint64) func(g *CommandGenerator) StoreCommand
func AtomicPrepare ¶
func AtomicPrepare(id uint64, ops ...OPCommand) func(g *CommandGenerator) StoreCommand
func Commit ¶
func Commit(ops ...OPCommand) func(g *CommandGenerator) StoreCommand
func MakeAtomicModeContext ¶
func MakeBasicModeContext ¶
func MakeCMStore ¶
func MakeContext ¶
func MakeContext(cms sdk.CommitMultiStore) sdk.Context
func Query ¶
func Query(ops ...OPCommand) func(g *CommandGenerator) StoreCommand
Types ¶
type Command ¶
type Command func(g *CommandGenerator) StoreCommand
type CommandGenerator ¶
type CommandGenerator struct {
// contains filtered or unexported fields
}
func NewCommandGenerater ¶
func NewCommandGenerater(t *testing.T, st contracttypes.CommitStoreI, cms sdk.CommitMultiStore) *CommandGenerator
func (*CommandGenerator) AtomicAbort ¶
func (g *CommandGenerator) AtomicAbort(id uint64) StoreCommand
func (*CommandGenerator) AtomicCommit ¶
func (g *CommandGenerator) AtomicCommit(id uint64) StoreCommand
func (*CommandGenerator) AtomicPrepare ¶
func (g *CommandGenerator) AtomicPrepare(id uint64, ops ...OPCommand) StoreCommand
func (*CommandGenerator) Commit ¶
func (g *CommandGenerator) Commit(ops ...OPCommand) StoreCommand
func (*CommandGenerator) Query ¶
func (g *CommandGenerator) Query(ops ...OPCommand) StoreCommand
type StoreCommand ¶
Click to show internal directories.
Click to hide internal directories.