chore(server): bump cosmossdk.io/core and correct comment naming (#22245)
This commit is contained in:
parent
f89382df90
commit
ee3d320eaa
@ -2,6 +2,6 @@ module cosmossdk.io/server/v2/appmanager
|
||||
|
||||
go 1.23
|
||||
|
||||
require cosmossdk.io/core v1.0.0-alpha.3
|
||||
require cosmossdk.io/core v1.0.0-alpha.4
|
||||
|
||||
require cosmossdk.io/schema v0.3.0 // indirect
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
cosmossdk.io/core v1.0.0-alpha.3 h1:pnxaYAas7llXgVz1lM7X6De74nWrhNKnB3yMKe4OUUA=
|
||||
cosmossdk.io/core v1.0.0-alpha.3/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY=
|
||||
cosmossdk.io/core v1.0.0-alpha.4 h1:9iuroT9ejDYETCsGkzkvs/wAY/5UFl7nCIINFRxyMJY=
|
||||
cosmossdk.io/core v1.0.0-alpha.4/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY=
|
||||
cosmossdk.io/schema v0.3.0 h1:01lcaM4trhzZ1HQTfTV8z6Ma1GziOZ/YmdzBN3F720c=
|
||||
cosmossdk.io/schema v0.3.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ=
|
||||
|
||||
@ -242,7 +242,7 @@ func (c *Consensus[T]) Query(ctx context.Context, req *abciproto.QueryRequest) (
|
||||
}
|
||||
|
||||
func (c *Consensus[T]) maybeRunGRPCQuery(ctx context.Context, req *abci.QueryRequest) (resp *abciproto.QueryResponse, isGRPC bool, err error) {
|
||||
// if this fails then we cannot serve queries anymore
|
||||
// if this fails then we cannot serve queries anymore
|
||||
registry, err := c.getProtoRegistry()
|
||||
if err != nil {
|
||||
return nil, false, err
|
||||
|
||||
@ -23,7 +23,7 @@ func (roa *ReaderMap) GetReader(actor []byte) (corestore.Reader, error) {
|
||||
return NewMockReader(roa.version, roa.store, actor), nil
|
||||
}
|
||||
|
||||
// Reader represents a read-only adapter for accessing data from the root store.
|
||||
// MockReader represents a read-only adapter for accessing data from the root store.
|
||||
type MockReader struct {
|
||||
version uint64 // The version of the data.
|
||||
store *MockStore // The root store to read data from.
|
||||
|
||||
@ -60,7 +60,7 @@ func (m queryRouterService) CanInvoke(ctx context.Context, typeURL string) error
|
||||
return exCtx.queryRouter.CanInvoke(ctx, typeURL)
|
||||
}
|
||||
|
||||
// InvokeUntyped execute a message and returns a response.
|
||||
// Invoke execute a message and returns a response.
|
||||
func (m queryRouterService) Invoke(
|
||||
ctx context.Context,
|
||||
req transaction.Msg,
|
||||
|
||||
@ -23,7 +23,7 @@ func DefaultGasMeter(gasLimit uint64) coregas.Meter {
|
||||
return NewMeter(gasLimit)
|
||||
}
|
||||
|
||||
// DefaultGasConfig returns the default gas config.
|
||||
// DefaultConfig returns the default gas config.
|
||||
// Unless overridden, the default gas costs are:
|
||||
var DefaultConfig = coregas.GasConfig{
|
||||
HasCost: 1000,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user