Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Julián Toledano <JulianToledano@users.noreply.github.com> Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com> Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io> Co-authored-by: Zachary Becker <zachary@interchainlabs.io>
16 lines
388 B
Go
16 lines
388 B
Go
package baseapp
|
|
|
|
import (
|
|
"context"
|
|
|
|
cmtproto "github.com/cometbft/cometbft/api/cometbft/types/v1"
|
|
)
|
|
|
|
// ParamStore defines the interface the parameter store used by the BaseApp must
|
|
// fulfill.
|
|
type ParamStore interface {
|
|
Get(ctx context.Context) (cmtproto.ConsensusParams, error)
|
|
Has(ctx context.Context) (bool, error)
|
|
Set(ctx context.Context, cp cmtproto.ConsensusParams) error
|
|
}
|