From 8862173d3c743130b608fea34cf217166d42e14e Mon Sep 17 00:00:00 2001 From: yihuang Date: Mon, 28 Oct 2024 14:23:39 +0800 Subject: [PATCH] Problem: check-tx blocks consensus (#1660) * Problem: check tx blocks consensus try `NewConnSyncLocalClientCreator` * use in benchmark * update deps * changelog --------- Signed-off-by: yihuang --- CHANGELOG.md | 1 + go.mod | 2 +- go.sum | 4 ++-- gomod2nix.toml | 4 ++-- testground/benchmark/benchmark/stateless.py | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 686e0aed34..03298e298c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Improvements * [#1664](https://github.com/crypto-org-chain/cronos/pull/1664) Update cometbft to 0.38.13. +* [#1660](https://github.com/crypto-org-chain/cronos/pull/1660) Support async check tx. *Oct 24, 2024* diff --git a/go.mod b/go.mod index f9969066ce..350622cb06 100644 --- a/go.mod +++ b/go.mod @@ -273,7 +273,7 @@ replace ( github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2 github.com/ethereum/go-ethereum => github.com/crypto-org-chain/go-ethereum v1.10.20-0.20240926023215-d2275b4afb9a // develop - github.com/evmos/ethermint => github.com/crypto-org-chain/ethermint v0.6.1-0.20241022025636-430068294727 + github.com/evmos/ethermint => github.com/crypto-org-chain/ethermint v0.6.1-0.20241028015856-e567c5ad3acf // Fix upstream GHSA-h395-qcrw-5vmq and GHSA-3vp4-m3rf-835h vulnerabilities. // TODO Remove it: https://github.com/cosmos/cosmos-sdk/issues/10409 github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0 diff --git a/go.sum b/go.sum index 85298487d0..ed3b8d524d 100644 --- a/go.sum +++ b/go.sum @@ -428,8 +428,8 @@ github.com/crypto-org-chain/cosmos-sdk/store v0.0.0-20241018012743-d78d66e74712 github.com/crypto-org-chain/cosmos-sdk/store v0.0.0-20241018012743-d78d66e74712/go.mod h1:8DwVTz83/2PSI366FERGbWSH7hL6sB7HbYp8bqksNwM= github.com/crypto-org-chain/cosmos-sdk/x/tx v0.0.0-20241018012743-d78d66e74712 h1:vvN3FqhFTakKy4jgVC1GoEtHW52zQg49uNE/e16Scu8= github.com/crypto-org-chain/cosmos-sdk/x/tx v0.0.0-20241018012743-d78d66e74712/go.mod h1:V6DImnwJMTq5qFjeGWpXNiT/fjgE4HtmclRmTqRVM3w= -github.com/crypto-org-chain/ethermint v0.6.1-0.20241022025636-430068294727 h1:vMY/xLOa4kBZahv6JgIeJPLeaiNfKsgRirKRFzd+oeg= -github.com/crypto-org-chain/ethermint v0.6.1-0.20241022025636-430068294727/go.mod h1:LUv3b8+dRjqAI9UTml5XzjExT2ANyvjtkFssi7lIRb0= +github.com/crypto-org-chain/ethermint v0.6.1-0.20241028015856-e567c5ad3acf h1:n0iiQzO6ek6/mJKWkKqCjaExi+KDMOkDPgMpOI0qBzs= +github.com/crypto-org-chain/ethermint v0.6.1-0.20241028015856-e567c5ad3acf/go.mod h1:NBVPCs64TPZQJWBnJu/mJbSQwUpPhtjU+EiOZA4991Y= github.com/crypto-org-chain/go-block-stm v0.0.0-20240919080136-6c49aef68716 h1:OvD5Rm0B6LHUJk6z858UgwdP72jU2DuUdXeclRyKpDI= github.com/crypto-org-chain/go-block-stm v0.0.0-20240919080136-6c49aef68716/go.mod h1:iwQTX9xMX8NV9k3o2BiWXA0SswpsZrDk5q3gA7nWYiE= github.com/crypto-org-chain/go-ethereum v1.10.20-0.20240926023215-d2275b4afb9a h1:IUPD+dg1YQl8cLocxQ/Mbx/ObTgAgcrZlcBhFjsLO40= diff --git a/gomod2nix.toml b/gomod2nix.toml index daa7761b3c..8b8b7bc4c8 100644 --- a/gomod2nix.toml +++ b/gomod2nix.toml @@ -262,8 +262,8 @@ schema = 3 hash = "sha256-ozwVS2BhAoz+OOisAyMhgg+lq8FdQjf90xoOq9cxtGw=" replaced = "github.com/crypto-org-chain/go-ethereum" [mod."github.com/evmos/ethermint"] - version = "v0.6.1-0.20241022025636-430068294727" - hash = "sha256-BLzVdTWu6We25O2DRCAyB5ShbBEnw4aKzWY9vDVSRok=" + version = "v0.6.1-0.20241028015856-e567c5ad3acf" + hash = "sha256-/TSmGsYqQkXZuPA8d18o4WGIp0etnH5TLn9e2LEE114=" replaced = "github.com/crypto-org-chain/ethermint" [mod."github.com/fatih/color"] version = "v1.16.0" diff --git a/testground/benchmark/benchmark/stateless.py b/testground/benchmark/benchmark/stateless.py index f938633c19..0030fd1deb 100644 --- a/testground/benchmark/benchmark/stateless.py +++ b/testground/benchmark/benchmark/stateless.py @@ -286,7 +286,7 @@ def do_run( print("start node") logfile = open(home / "node.log", "ab", buffering=0) proc = subprocess.Popen( - [cronosd, "start", "--home", str(home)], + [cronosd, "start", "--home", str(home), "--async-check-tx"], stdout=logfile, )