16 lines
432 B
Go
16 lines
432 B
Go
package exported
|
|
|
|
import (
|
|
"context"
|
|
|
|
cmtproto "github.com/cometbft/cometbft/api/cometbft/types/v1"
|
|
)
|
|
|
|
// ConsensusParamSetter defines the interface fulfilled by BaseApp's
|
|
// ParamStore which allows setting its appVersion field.
|
|
type ConsensusParamSetter interface {
|
|
Get(ctx context.Context) (cmtproto.ConsensusParams, error)
|
|
Has(ctx context.Context) (bool, error)
|
|
Set(ctx context.Context, cp cmtproto.ConsensusParams) error
|
|
}
|