Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosmosBaseApp ¶
type CosmosBaseApp interface { InitChain(req abci.RequestInitChain) (res abci.ResponseInitChain) BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeginBlock) DeliverTx(req abci.RequestDeliverTx) (res abci.ResponseDeliverTx) EndBlock(req abci.RequestEndBlock) (res abci.ResponseEndBlock) Commit() (res abci.ResponseCommit) StatelessApp(version int64, oracle iavl.OracleClientI) (app *baseapp.BaseApp, err error) }
type ExecutionLog ¶
type ExecutionLog struct { ResponseBeginBlock abci.ResponseBeginBlock ResponseDeliverTxs []abci.ResponseDeliverTx ResponseEndBlock abci.ResponseEndBlock ResponseCommit abci.ResponseCommit }
type StatelessClient ¶
type StatelessClient struct {
// contains filtered or unexported fields
}
func NewStatelessClient ¶
func NewStatelessClient(app interface{}, oracle iavl.OracleClientI) (*StatelessClient, error)
func (*StatelessClient) Execute ¶
func (c *StatelessClient) Execute(block *types.Block, vals []*types.Validator) ([]byte, ExecutionLog, error)
TODO: cannnot execute initial height block
Click to show internal directories.
Click to hide internal directories.