Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
parent
174ca005f1
commit
0ccdb4ffd4
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -145,7 +145,6 @@ jobs:
|
||||
path: ./tests/e2e-profile.out
|
||||
|
||||
test-system:
|
||||
needs: [tests, test-integration, test-e2e]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -177,7 +176,7 @@ jobs:
|
||||
- name: system tests v1
|
||||
if: env.GIT_DIFF
|
||||
run: |
|
||||
COSMOS_BUILD_OPTIONS=legacy make test-system
|
||||
make test-system
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
@ -187,7 +186,7 @@ jobs:
|
||||
- name: system tests v2
|
||||
if: env.GIT_DIFF
|
||||
run: |
|
||||
make test-system
|
||||
COSMOS_BUILD_OPTIONS=v2 make test-system
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
|
||||
2
Makefile
2
Makefile
@ -10,7 +10,7 @@ include scripts/build/build.mk
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
#? go.sum: Run go mod tidy and ensure dependencies have not been modified
|
||||
#? go.sum: Run go mod tidy and ensure dependencies have not been modified.
|
||||
go.sum: go.mod
|
||||
echo "Ensure dependencies have not been modified ..." >&2
|
||||
go mod verify
|
||||
|
||||
@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func TestStatusCommand(t *testing.T) {
|
||||
t.Skip() // https://github.com/cosmos/cosmos-sdk/issues/17446
|
||||
t.Skip() // Rewrite as system test
|
||||
|
||||
cfg, err := network.DefaultConfigWithAppConfig(depinject.Configs() /* TODO, test skipped anyway */)
|
||||
require.NoError(t, err)
|
||||
|
||||
@ -575,8 +575,6 @@ func TestBinaryFlag(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAddressValidation(t *testing.T) {
|
||||
t.Skip() // TODO(@julienrbrt) re-able with better keyring instiantiation
|
||||
|
||||
fixture := initFixture(t)
|
||||
|
||||
_, err := runCmd(fixture, buildModuleQueryCommand,
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -x
|
||||
|
||||
ROOT=$PWD
|
||||
|
||||
SIMD="$ROOT/build/simdv2"
|
||||
|
||||
COSMOS_BUILD_OPTIONS=v2 make build
|
||||
|
||||
$SIMD testnet init-files --chain-id=testing --output-dir="$HOME/.testnet" --validator-count=3 --keyring-backend=test --minimum-gas-prices=0.000001stake --commit-timeout=900ms --single-host
|
||||
|
||||
$SIMD start --log_level=info --home "$HOME/.testnet/node0/simdv2" &
|
||||
$SIMD start --log_level=info --home "$HOME/.testnet/node1/simdv2" &
|
||||
$SIMD start --log_level=info --home "$HOME/.testnet/node2/simdv2"
|
||||
@ -17,7 +17,7 @@ import (
|
||||
"cosmossdk.io/core/server"
|
||||
"cosmossdk.io/core/store"
|
||||
"cosmossdk.io/core/transaction"
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
errorsmod "cosmossdk.io/errors/v2"
|
||||
"cosmossdk.io/log"
|
||||
"cosmossdk.io/server/v2/appmanager"
|
||||
"cosmossdk.io/server/v2/cometbft/client/grpc/cmtservice"
|
||||
@ -122,7 +122,8 @@ func (c *Consensus[T]) CheckTx(ctx context.Context, req *abciproto.CheckTxReques
|
||||
}
|
||||
|
||||
resp, err := c.app.ValidateTx(ctx, decodedTx)
|
||||
if err != nil {
|
||||
// we do not want to return a cometbft error, but a check tx response with the error
|
||||
if err != nil && err != resp.Error {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
@ -132,15 +133,18 @@ func (c *Consensus[T]) CheckTx(ctx context.Context, req *abciproto.CheckTxReques
|
||||
}
|
||||
|
||||
cometResp := &abciproto.CheckTxResponse{
|
||||
Code: resp.Code,
|
||||
Code: 0,
|
||||
GasWanted: uint64ToInt64(resp.GasWanted),
|
||||
GasUsed: uint64ToInt64(resp.GasUsed),
|
||||
Events: events,
|
||||
}
|
||||
if resp.Error != nil {
|
||||
cometResp.Code = 1
|
||||
cometResp.Log = resp.Error.Error()
|
||||
space, code, log := errorsmod.ABCIInfo(resp.Error, c.cfg.AppTomlConfig.Trace)
|
||||
cometResp.Code = code
|
||||
cometResp.Codespace = space
|
||||
cometResp.Log = log
|
||||
}
|
||||
|
||||
return cometResp, nil
|
||||
}
|
||||
|
||||
@ -196,7 +200,7 @@ func (c *Consensus[T]) Query(ctx context.Context, req *abciproto.QueryRequest) (
|
||||
}
|
||||
res, err := c.app.Query(ctx, uint64(req.Height), protoRequest)
|
||||
if err != nil {
|
||||
resp := queryResult(err)
|
||||
resp := QueryResult(err, c.cfg.AppTomlConfig.Trace)
|
||||
resp.Height = req.Height
|
||||
return resp, err
|
||||
|
||||
@ -283,10 +287,10 @@ func (c *Consensus[T]) InitChain(ctx context.Context, req *abciproto.InitChainRe
|
||||
return nil, fmt.Errorf("genesis state init failure: %w", err)
|
||||
}
|
||||
|
||||
// TODO necessary? where should this WARN live if it all. helpful for testing
|
||||
for _, txRes := range blockresponse.TxResults {
|
||||
if txRes.Error != nil {
|
||||
c.logger.Warn("genesis tx failed", "code", txRes.Code, "error", txRes.Error)
|
||||
if err := txRes.Error; err != nil {
|
||||
space, code, log := errorsmod.ABCIInfo(err, c.cfg.AppTomlConfig.Trace)
|
||||
c.logger.Warn("genesis tx failed", "codespace", space, "code", code, "log", log)
|
||||
}
|
||||
}
|
||||
|
||||
@ -485,7 +489,7 @@ func (c *Consensus[T]) FinalizeBlock(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return finalizeBlockResponse(resp, cp, appHash, c.indexedEvents)
|
||||
return finalizeBlockResponse(resp, cp, appHash, c.indexedEvents, c.cfg.AppTomlConfig.Trace)
|
||||
}
|
||||
|
||||
// Commit implements types.Application.
|
||||
|
||||
@ -106,15 +106,13 @@ func ShowValidatorCmd() *cobra.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
cmd.Println(sdkPK) // TODO: figure out if we need the codec here or not, see below
|
||||
clientCtx := client.GetClientContextFromCmd(cmd)
|
||||
bz, err := clientCtx.Codec.MarshalInterfaceJSON(sdkPK)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// clientCtx := client.GetClientContextFromCmd(cmd)
|
||||
// bz, err := clientCtx.Codec.MarshalInterfaceJSON(sdkPK)
|
||||
// if err != nil {
|
||||
// return err
|
||||
// }
|
||||
|
||||
// cmd.Println(string(bz))
|
||||
cmd.Println(string(bz))
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@ replace (
|
||||
// pseudo version lower than the latest tag
|
||||
cosmossdk.io/api => cosmossdk.io/api v0.7.3-0.20240924065902-eb7653cfecdf // main
|
||||
// pseudo version lower than the latest tag
|
||||
cosmossdk.io/core => cosmossdk.io/core v1.0.0-alpha.3 // main
|
||||
cosmossdk.io/core => cosmossdk.io/core v1.0.0-alpha.3.0.20240926131628-f927e9b55173 // main
|
||||
// pseudo version lower than the latest tag
|
||||
cosmossdk.io/store => cosmossdk.io/store v1.0.0-rc.0.0.20240913190136-3bc707a5a214 // main
|
||||
cosmossdk.io/x/bank => ../../../x/bank
|
||||
@ -18,11 +18,11 @@ replace (
|
||||
require (
|
||||
cosmossdk.io/api v0.8.0
|
||||
cosmossdk.io/core v1.0.0 // main
|
||||
cosmossdk.io/errors v1.0.1
|
||||
cosmossdk.io/errors v1.0.1 // indirect
|
||||
cosmossdk.io/log v1.4.1
|
||||
cosmossdk.io/server/v2 v2.0.0-20240920095614-aa90bb43d8f8 // main
|
||||
cosmossdk.io/server/v2/appmanager v0.0.0-20240920095614-aa90bb43d8f8 // main
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240920095614-aa90bb43d8f8 // main
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240926131628-f927e9b55173 // main
|
||||
cosmossdk.io/store/v2 v2.0.0-20240916221850-7856d226038c // main
|
||||
cosmossdk.io/x/consensus v0.0.0-00010101000000-000000000000
|
||||
github.com/cometbft/cometbft v1.0.0-rc1.0.20240908111210-ab0be101882f
|
||||
@ -42,7 +42,6 @@ require (
|
||||
cosmossdk.io/collections v0.4.1-0.20240802064046-23fac2f1b8ab // indirect
|
||||
cosmossdk.io/core/testing v0.0.0-20240913164418-aaf72f20c10b // indirect
|
||||
cosmossdk.io/depinject v1.0.0 // indirect
|
||||
cosmossdk.io/errors/v2 v2.0.0-20240731132947-df72853b3ca5 // indirect
|
||||
cosmossdk.io/math v1.3.0 // indirect
|
||||
cosmossdk.io/schema v0.3.0 // indirect
|
||||
cosmossdk.io/store v1.1.1-0.20240909133312-50288938d1b6 // indirect
|
||||
@ -184,3 +183,5 @@ require (
|
||||
gotest.tools/v3 v3.5.1 // indirect
|
||||
pgregory.net/rapid v1.1.0 // indirect
|
||||
)
|
||||
|
||||
require cosmossdk.io/errors/v2 v2.0.0-20240731132947-df72853b3ca5
|
||||
|
||||
@ -8,8 +8,8 @@ cosmossdk.io/api v0.7.3-0.20240924065902-eb7653cfecdf h1:CttA/mEIxGm4E7vwrjUpju7
|
||||
cosmossdk.io/api v0.7.3-0.20240924065902-eb7653cfecdf/go.mod h1:YMfx2ATpgITsoydD3hIBa8IkDHtyXp/14rmG0d3sEew=
|
||||
cosmossdk.io/collections v0.4.1-0.20240802064046-23fac2f1b8ab h1:E/IWad76v1Nc4Atswaccpt7twJ0VwHkbY94/PhmZfTo=
|
||||
cosmossdk.io/collections v0.4.1-0.20240802064046-23fac2f1b8ab/go.mod h1:Or+5eVAo1aiS1DnPK90eQykGc59LGBWtqwBoJcxXTmw=
|
||||
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.3.0.20240926131628-f927e9b55173 h1:c48OejHzonsfeMGg8RwJ+ySm4YenR96RcbYmtdMMy3Q=
|
||||
cosmossdk.io/core v1.0.0-alpha.3.0.20240926131628-f927e9b55173/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY=
|
||||
cosmossdk.io/core/testing v0.0.0-20240913164418-aaf72f20c10b h1:uEMbr7Hdpz0fU+GXU6mSN2vgoQnr66WYUpRuiba2aEk=
|
||||
cosmossdk.io/core/testing v0.0.0-20240913164418-aaf72f20c10b/go.mod h1:FllCSj/ZYskfb982HKqBSISO8DkBY4Euqq768HSFz68=
|
||||
cosmossdk.io/depinject v1.0.0 h1:dQaTu6+O6askNXO06+jyeUAnF2/ssKwrrszP9t5q050=
|
||||
@ -28,8 +28,8 @@ cosmossdk.io/server/v2 v2.0.0-20240920095614-aa90bb43d8f8 h1:f9ngoXKselr0qkU0YWC
|
||||
cosmossdk.io/server/v2 v2.0.0-20240920095614-aa90bb43d8f8/go.mod h1:OOnpz5j7kFoqr9gSJ4vdM4tq6FXXuJJm7KlikmyTYKk=
|
||||
cosmossdk.io/server/v2/appmanager v0.0.0-20240920095614-aa90bb43d8f8 h1:OyZVYhHSPxSCKJvxIh5QWFyPKUj0bV6PPIiuxnYGVcU=
|
||||
cosmossdk.io/server/v2/appmanager v0.0.0-20240920095614-aa90bb43d8f8/go.mod h1:/xDfniqVtn5nraiHkNJ4e6rYU0e83YAGsSjwmUA6H8k=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240920095614-aa90bb43d8f8 h1:nPZQrhpMT26r8QZ7pLuJeWTFIeOFpq24y26P0ED4iW8=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240920095614-aa90bb43d8f8/go.mod h1:e/pdNHJIOxL1wFKGkERDxLY0chj0+ZIetIPTkRgjX2o=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240926131628-f927e9b55173 h1:JKbaE2m1yAZc8fsEoqKHfJJv6dlWOSTrHE3is654GfY=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240926131628-f927e9b55173/go.mod h1:e/pdNHJIOxL1wFKGkERDxLY0chj0+ZIetIPTkRgjX2o=
|
||||
cosmossdk.io/store v1.0.0-rc.0.0.20240913190136-3bc707a5a214 h1:UUW0+2UgbDwQ452o2aw4DrVSWmowcad7DB7Vln+N94I=
|
||||
cosmossdk.io/store v1.0.0-rc.0.0.20240913190136-3bc707a5a214/go.mod h1:ct8HATr+s48YYTRXEyP3HF33v9qEVWHMxwOL8P/v4iQ=
|
||||
cosmossdk.io/store/v2 v2.0.0-20240916221850-7856d226038c h1:x0NX01A+QWckckb1hi9p8mYW4OXTYEzsohQK2qBtIHg=
|
||||
|
||||
@ -7,7 +7,7 @@ import (
|
||||
abci "github.com/cometbft/cometbft/api/cometbft/abci/v1"
|
||||
crypto "github.com/cometbft/cometbft/api/cometbft/crypto/v1"
|
||||
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
errorsmod "cosmossdk.io/errors/v2"
|
||||
"cosmossdk.io/server/v2/cometbft/types"
|
||||
cometerrors "cosmossdk.io/server/v2/cometbft/types/errors"
|
||||
)
|
||||
|
||||
@ -6,6 +6,7 @@ import (
|
||||
"cosmossdk.io/core/event"
|
||||
"cosmossdk.io/core/server"
|
||||
"cosmossdk.io/core/store"
|
||||
errorsmod "cosmossdk.io/errors/v2"
|
||||
"cosmossdk.io/server/v2/streaming"
|
||||
)
|
||||
|
||||
@ -21,12 +22,17 @@ func (c *Consensus[T]) streamDeliverBlockChanges(
|
||||
// convert txresults to streaming txresults
|
||||
streamingTxResults := make([]*streaming.ExecTxResult, len(txResults))
|
||||
for i, txResult := range txResults {
|
||||
space, code, log := errorsmod.ABCIInfo(txResult.Error, c.cfg.AppTomlConfig.Trace)
|
||||
|
||||
events, err := streaming.IntoStreamingEvents(txResult.Events)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
streamingTxResults[i] = &streaming.ExecTxResult{
|
||||
Code: txResult.Code,
|
||||
Code: code,
|
||||
Codespace: space,
|
||||
Log: log,
|
||||
GasWanted: uint64ToInt64(txResult.GasWanted),
|
||||
GasUsed: uint64ToInt64(txResult.GasUsed),
|
||||
Events: events,
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
package errors
|
||||
|
||||
import (
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
errorsmod "cosmossdk.io/errors/v2"
|
||||
)
|
||||
|
||||
// RootCodespace is the codespace for all errors defined in this package
|
||||
|
||||
@ -18,7 +18,7 @@ import (
|
||||
"cosmossdk.io/core/event"
|
||||
"cosmossdk.io/core/server"
|
||||
"cosmossdk.io/core/transaction"
|
||||
errorsmod "cosmossdk.io/errors"
|
||||
errorsmod "cosmossdk.io/errors/v2"
|
||||
consensus "cosmossdk.io/x/consensus/types"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
@ -70,6 +70,7 @@ func finalizeBlockResponse(
|
||||
cp *cmtproto.ConsensusParams,
|
||||
appHash []byte,
|
||||
indexSet map[string]struct{},
|
||||
debug bool,
|
||||
) (*abci.FinalizeBlockResponse, error) {
|
||||
allEvents := append(in.BeginBlockEvents, in.EndBlockEvents...)
|
||||
|
||||
@ -78,7 +79,7 @@ func finalizeBlockResponse(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
txResults, err := intoABCITxResults(in.TxResults, indexSet)
|
||||
txResults, err := intoABCITxResults(in.TxResults, indexSet, debug)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -107,29 +108,20 @@ func intoABCIValidatorUpdates(updates []appmodulev2.ValidatorUpdate) []abci.Vali
|
||||
return valsetUpdates
|
||||
}
|
||||
|
||||
func intoABCITxResults(results []server.TxResult, indexSet map[string]struct{}) ([]*abci.ExecTxResult, error) {
|
||||
func intoABCITxResults(results []server.TxResult, indexSet map[string]struct{}, debug bool) ([]*abci.ExecTxResult, error) {
|
||||
res := make([]*abci.ExecTxResult, len(results))
|
||||
for i := range results {
|
||||
if results[i].Error != nil {
|
||||
space, code, log := errorsmod.ABCIInfo(results[i].Error, true)
|
||||
res[i] = &abci.ExecTxResult{
|
||||
Codespace: space,
|
||||
Code: code,
|
||||
Log: log,
|
||||
}
|
||||
|
||||
continue
|
||||
}
|
||||
events, err := intoABCIEvents(results[i].Events, indexSet)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
res[i] = responseExecTxResultWithEvents(
|
||||
results[i].Error,
|
||||
results[i].GasWanted,
|
||||
results[i].GasUsed,
|
||||
events,
|
||||
false,
|
||||
debug,
|
||||
)
|
||||
}
|
||||
|
||||
@ -387,10 +379,10 @@ func (c *Consensus[T]) GetBlockRetentionHeight(cp *cmtproto.ConsensusParams, com
|
||||
func (c *Consensus[T]) checkHalt(height int64, time time.Time) error {
|
||||
var halt bool
|
||||
switch {
|
||||
case c.cfg.AppTomlConfig.HaltHeight > 0 && uint64(height) > c.cfg.AppTomlConfig.HaltHeight:
|
||||
case c.cfg.AppTomlConfig.HaltHeight > 0 && uint64(height) >= c.cfg.AppTomlConfig.HaltHeight:
|
||||
halt = true
|
||||
|
||||
case c.cfg.AppTomlConfig.HaltTime > 0 && time.Unix() > int64(c.cfg.AppTomlConfig.HaltTime):
|
||||
case c.cfg.AppTomlConfig.HaltTime > 0 && time.Unix() >= int64(c.cfg.AppTomlConfig.HaltTime):
|
||||
halt = true
|
||||
}
|
||||
|
||||
@ -408,14 +400,3 @@ func uint64ToInt64(u uint64) int64 {
|
||||
}
|
||||
return int64(u)
|
||||
}
|
||||
|
||||
// queryResult returns a ResponseQuery from an error. It will try to parse ABCI
|
||||
// info from the error.
|
||||
func queryResult(err error) *abci.QueryResponse {
|
||||
space, code, log := errorsmod.ABCIInfo(err, false)
|
||||
return &abci.QueryResponse{
|
||||
Codespace: space,
|
||||
Code: code,
|
||||
Log: log,
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ require (
|
||||
cosmossdk.io/errors/v2 v2.0.0-20240731132947-df72853b3ca5 // indirect
|
||||
cosmossdk.io/schema v0.3.0 // indirect
|
||||
cosmossdk.io/server/v2/appmanager v0.0.0-20240920095614-aa90bb43d8f8 // indirect; main
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240920095614-aa90bb43d8f8 // indirect; main
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240926131628-f927e9b55173 // indirect; main
|
||||
cosmossdk.io/store v1.1.1-0.20240909133312-50288938d1b6 // indirect; main
|
||||
cosmossdk.io/x/accounts/defaults/base v0.0.0-00010101000000-000000000000 // indirect
|
||||
cosmossdk.io/x/accounts/defaults/lockup v0.0.0-20240417181816-5e7aae0db1f5 // indirect
|
||||
@ -249,7 +249,7 @@ replace (
|
||||
cosmossdk.io/api => cosmossdk.io/api v0.7.3-0.20240924065902-eb7653cfecdf // main
|
||||
cosmossdk.io/client/v2 => ../../client/v2
|
||||
// pseudo version lower than the latest tag
|
||||
cosmossdk.io/core => cosmossdk.io/core v1.0.0-alpha.3.0.20240920095614-aa90bb43d8f8 // main
|
||||
cosmossdk.io/core => cosmossdk.io/core v1.0.0-alpha.3.0.20240926131628-f927e9b55173 // main
|
||||
cosmossdk.io/server/v2/cometbft => ../../server/v2/cometbft
|
||||
// pseudo version lower than the latest tag
|
||||
cosmossdk.io/store => cosmossdk.io/store v1.0.0-rc.0.0.20240913190136-3bc707a5a214 // main
|
||||
|
||||
@ -196,8 +196,8 @@ cosmossdk.io/api v0.7.3-0.20240924065902-eb7653cfecdf h1:CttA/mEIxGm4E7vwrjUpju7
|
||||
cosmossdk.io/api v0.7.3-0.20240924065902-eb7653cfecdf/go.mod h1:YMfx2ATpgITsoydD3hIBa8IkDHtyXp/14rmG0d3sEew=
|
||||
cosmossdk.io/collections v0.4.1-0.20240802064046-23fac2f1b8ab h1:E/IWad76v1Nc4Atswaccpt7twJ0VwHkbY94/PhmZfTo=
|
||||
cosmossdk.io/collections v0.4.1-0.20240802064046-23fac2f1b8ab/go.mod h1:Or+5eVAo1aiS1DnPK90eQykGc59LGBWtqwBoJcxXTmw=
|
||||
cosmossdk.io/core v1.0.0-alpha.3.0.20240920095614-aa90bb43d8f8 h1:kBXv2cxy3M6nGQozQBAg6fmzeLT839GRuOy3CuITDbY=
|
||||
cosmossdk.io/core v1.0.0-alpha.3.0.20240920095614-aa90bb43d8f8/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY=
|
||||
cosmossdk.io/core v1.0.0-alpha.3.0.20240926131628-f927e9b55173 h1:c48OejHzonsfeMGg8RwJ+ySm4YenR96RcbYmtdMMy3Q=
|
||||
cosmossdk.io/core v1.0.0-alpha.3.0.20240926131628-f927e9b55173/go.mod h1:3u9cWq1FAVtiiCrDPpo4LhR+9V6k/ycSG4/Y/tREWCY=
|
||||
cosmossdk.io/core/testing v0.0.0-20240913164418-aaf72f20c10b h1:uEMbr7Hdpz0fU+GXU6mSN2vgoQnr66WYUpRuiba2aEk=
|
||||
cosmossdk.io/core/testing v0.0.0-20240913164418-aaf72f20c10b/go.mod h1:FllCSj/ZYskfb982HKqBSISO8DkBY4Euqq768HSFz68=
|
||||
cosmossdk.io/depinject v1.0.0 h1:dQaTu6+O6askNXO06+jyeUAnF2/ssKwrrszP9t5q050=
|
||||
@ -218,8 +218,8 @@ cosmossdk.io/server/v2 v2.0.0-20240920095614-aa90bb43d8f8 h1:f9ngoXKselr0qkU0YWC
|
||||
cosmossdk.io/server/v2 v2.0.0-20240920095614-aa90bb43d8f8/go.mod h1:OOnpz5j7kFoqr9gSJ4vdM4tq6FXXuJJm7KlikmyTYKk=
|
||||
cosmossdk.io/server/v2/appmanager v0.0.0-20240920095614-aa90bb43d8f8 h1:OyZVYhHSPxSCKJvxIh5QWFyPKUj0bV6PPIiuxnYGVcU=
|
||||
cosmossdk.io/server/v2/appmanager v0.0.0-20240920095614-aa90bb43d8f8/go.mod h1:/xDfniqVtn5nraiHkNJ4e6rYU0e83YAGsSjwmUA6H8k=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240920095614-aa90bb43d8f8 h1:nPZQrhpMT26r8QZ7pLuJeWTFIeOFpq24y26P0ED4iW8=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240920095614-aa90bb43d8f8/go.mod h1:e/pdNHJIOxL1wFKGkERDxLY0chj0+ZIetIPTkRgjX2o=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240926131628-f927e9b55173 h1:JKbaE2m1yAZc8fsEoqKHfJJv6dlWOSTrHE3is654GfY=
|
||||
cosmossdk.io/server/v2/stf v0.0.0-20240926131628-f927e9b55173/go.mod h1:e/pdNHJIOxL1wFKGkERDxLY0chj0+ZIetIPTkRgjX2o=
|
||||
cosmossdk.io/store v1.0.0-rc.0.0.20240913190136-3bc707a5a214 h1:UUW0+2UgbDwQ452o2aw4DrVSWmowcad7DB7Vln+N94I=
|
||||
cosmossdk.io/store v1.0.0-rc.0.0.20240913190136-3bc707a5a214/go.mod h1:ct8HATr+s48YYTRXEyP3HF33v9qEVWHMxwOL8P/v4iQ=
|
||||
cosmossdk.io/store/v2 v2.0.0-20240916221850-7856d226038c h1:x0NX01A+QWckckb1hi9p8mYW4OXTYEzsohQK2qBtIHg=
|
||||
|
||||
@ -144,7 +144,6 @@ func (s ModifyConfigYamlInitializer) Initialize() {
|
||||
EditToml(filepath.Join(nodeDir, "app.toml"), func(doc *tomledit.Document) {
|
||||
UpdatePort(doc, apiPortStart+i, "api", "address")
|
||||
UpdatePort(doc, grpcPortStart+i, "grpc", "address")
|
||||
SetBool(doc, true, "grpc-web", "enable")
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,8 @@ import (
|
||||
)
|
||||
|
||||
func TestUnorderedTXDuplicate(t *testing.T) {
|
||||
t.Skip("The unordered tx antehanlder is missing in v2")
|
||||
t.Skip("The unordered tx handling is not wired in v2")
|
||||
|
||||
// scenario: test unordered tx duplicate
|
||||
// given a running chain with a tx in the unordered tx pool
|
||||
// when a new tx with the same hash is broadcasted
|
||||
|
||||
@ -99,7 +99,7 @@ func TestValidateMemo(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestConsumeGasForTxSize(t *testing.T) {
|
||||
t.Skip() // TODO(@julienrbrt) Fix after https://github.com/cosmos/cosmos-sdk/pull/20072
|
||||
t.Skip() // TO FIX BEFORE 0.52 FINAL.
|
||||
|
||||
suite := SetupTestSuite(t, true)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user