[WIP] Backport upstream changes#2
Draft
maxim-inj wants to merge 222 commits intoInjectiveLabs:developfrom
Draft
Conversation
* Problem: gasWanted is not aligned for process proposal mode * check maxGasWanted
Solution: - add unsafe option to turn off nonce checking
* Problem: no MaxTx set from config for mempool * Update config.go Co-authored-by: yihuang <huang@crypto.com> Signed-off-by: mmsqe <mavis@crypto.com> --------- Signed-off-by: mmsqe <mavis@crypto.com> Co-authored-by: yihuang <huang@crypto.com>
* Problem: incarnation cache not enabled * Update CHANGELOG.md Signed-off-by: yihuang <huang@crypto.com> * cache eth sig verification result * fix concurrent incarnations * update deps --------- Signed-off-by: yihuang <huang@crypto.com>
Solution: - keep the benchmark logic closer to real one, only removing the nonce check part
include the fix from cometbft/cometbft#3196
…506) * Problem: disable of create vesting account messages are not complete * Update CHANGELOG.md Signed-off-by: mmsqe <mavis@crypto.com> --------- Signed-off-by: mmsqe <mavis@crypto.com>
) * Optimize AnteHandle method to skip checks if disabledMsgs is empty * Problem: cometbft not up to date (#505) include the fix from cometbft/cometbft#3196 * Problem: disable of create vesting account messages are not complete (#506) * Problem: disable of create vesting account messages are not complete * Update CHANGELOG.md Signed-off-by: mmsqe <mavis@crypto.com> --------- Signed-off-by: mmsqe <mavis@crypto.com> * CHANGELOG * Update CHANGELOG.md Signed-off-by: mmsqe <mavis@crypto.com> --------- Signed-off-by: mmsqe <mavis@crypto.com> Signed-off-by: fx0x55 <80245546+fx0x55@users.noreply.github.com> Co-authored-by: mmsqe <tqd0800210105@gmail.com> Co-authored-by: mmsqe <mavis@crypto.com>
* Problem: vote_extensions is not disabled in test * bump sdk
* Problem: no debug files uploaded when timeout in ci 30mins for marked, 1h for all in pytest * Apply suggestions from code review * set both
* Problem: unnecessary GetAccount in ante handlers reuse account after verify account balance to avoid get again when check sender sequence * rename * less MakeSigner * cast string * cleanup * fix test * fix lint * cleanup * cleanup test * rm prefix * fix * fix test, account created automatically * rename * fix comment * Apply suggestions from code review Signed-off-by: yihuang <huang@crypto.com> * cleanup --------- Signed-off-by: yihuang <huang@crypto.com> Co-authored-by: huangyi <huang@crypto.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
* Problem: method eth_chainId crashed occasionally add fallback default config to ensure no panic in IsEIP155 check * cleanup --------- Co-authored-by: huangyi <huang@crypto.com>
…#521) * Problem: hash in subscribe newHeads differs from eth_getBlockByNumber * fix test * cleanup
* Problem: block-stm tx executor don't do simple static dependency analysis Solution: - estimate dependencies based on tx fee payer, try to optimise worst case performance. * fix build * customize estimates instead of dependencies * fix context * update api * cleanup * changelog * cleanup * cleanup * cleanup * pre-estimate config * fix lint
* Problem: pre-estimation don't run in parallel * fix build * fix race * cleanup chunking * keep unchanged --------- Co-authored-by: mmsqe <mavis@crypto.com>
add evm-denom flag
* Problem: trace block not accurate for dynamic fee transaction fix changelog temp * Update x/evm/keeper/state_transition.go Signed-off-by: yihuang <huang@crypto.com> * avoid mutate config tracer * fix test * adjust test * more test * resolve --------- Signed-off-by: yihuang <huang@crypto.com> Co-authored-by: mmsqe <mavis@crypto.com>
* Problem: db is double closed when shutdown * fix standAlone
* Problem: no time in Transaction * update deps
* Problem: dependencies are outdated * bump cometbft ibc * cleanup * fix build
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.10.1 to 1.10.2. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](spf13/cobra@v1.10.1...v1.10.2) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-version: 1.10.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
* feat: use golang 1.25.0 * update go 1.25.0 * update golangci-lint * fix apple_sdk_11_0 errors * update nix build * fix rpc test * fix ci: * add changelog * single source of truth for gomod2nix
* support create_access_list * add changelog # Conflicts: # CHANGELOG.md * fix lint * make gas limit consistant * fix conflict * rework * cleaning * fix pointer * add log * add log * fix response * fix logic * remove debug * fix comments * minor improvement
#804) * fix: add AllowUnprotectedTxs configuration option to JSON-RPC settings * doc: changelog * test: --------- Signed-off-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
…805) Bumps google.golang.org/protobuf from 1.36.10 to 1.36.11. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: randy-cro <randy.ang@crypto.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v5...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps golang from 1.25.0-alpine to 1.25.5-alpine. --- updated-dependencies: - dependency-name: golang dependency-version: 1.25.5-alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.28.0 to 0.32.0. - [Release notes](https://github.com/golang/text/releases) - [Commits](golang/text@v0.28.0...v0.32.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-version: 0.32.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
…#796) Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](actions/create-github-app-token@7e473ef...29824e6) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: 2.2.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
…812) * build(deps): bump github.com/cosmos/ibc-go/v10 from 10.4.0 to 10.5.0 Bumps [github.com/cosmos/ibc-go/v10](https://github.com/cosmos/ibc-go) from 10.4.0 to 10.5.0. - [Release notes](https://github.com/cosmos/ibc-go/releases) - [Changelog](https://github.com/cosmos/ibc-go/blob/v10.5.0/CHANGELOG.md) - [Commits](cosmos/ibc-go@v10.4.0...v10.5.0) --- updated-dependencies: - dependency-name: github.com/cosmos/ibc-go/v10 dependency-version: 10.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update gomod2ni --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas Nguy <thomas.nguy@crypto.com>
Bumps alpine from 3.23.0 to 3.23.2. --- updated-dependencies: - dependency-name: alpine dependency-version: 3.23.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
* build(deps): bump google.golang.org/grpc from 1.75.1 to 1.78.0 Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.75.1 to 1.78.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.75.1...v1.78.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-version: 1.78.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update gomod2nix.toml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com> Co-authored-by: Thomas Nguy <thomas.nguy@crypto.com>
* relax preinstall rules * add changelog * fix logic * fix logic * move comment * fix logic * cleanup
* fix: nonce increments on EIP-7702 contract creation
- fix python packages couldn't be reference inside nix-shell, added PYTHONHOME export to fix the poetry2nix Python wrapper issue in nixpkgs 25.11
- reduce nix shell entering time by removing the ${super.path} reference that was causing the entire nixpkgs source to be copied
* fix: add nonce diffs in ante handler
…825) * refactor: replace MsgEthereumTxResponse with EthCallResponse in EVM calls - Updated the EthCall RPC to return EthCallResponse instead of MsgEthereumTxResponse. - Introduced EthCallResponse message to encapsulate the response structure for eth_call. - Adjusted related interfaces, tests, and mock implementations to reflect the new response type. - Removed execution_gas_used field from MsgEthereumTxResponse to streamline the response structure. * doc: * test: coverage * fix: review comments # Conflicts: # CHANGELOG.md # rpc/backend/backend.go # rpc/backend/mocks/evm_query_client.go # x/evm/types/query.pb.go # x/evm/types/tx.pb.go
…_modules group across 1 directory (#786) * build(deps): bump golang.org/x/crypto Bumps the go_modules group with 1 update in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.41.0 to 0.45.0 - [Commits](golang/crypto@v0.41.0...v0.45.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.45.0 dependency-type: indirect dependency-group: go_modules ... Signed-off-by: dependabot[bot] <support@github.com> * gomod2nix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com> Co-authored-by: Thomas Nguy <thomas.nguy@crypto.com>
* fix: eip712 legacy signature verify * doc: changelog * fix: review
…ntation with geth (#830)
* build(deps): bump golang.org/x/net from 0.43.0 to 0.48.0 Bumps [golang.org/x/net](https://github.com/golang/net) from 0.43.0 to 0.48.0. - [Commits](golang/net@v0.43.0...v0.48.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.48.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * gomod2nix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com> Co-authored-by: Thomas Nguy <thomas.nguy@crypto.com> Co-authored-by: Randy Ang <randy.ang@crypto.com>
* build(deps): bump the pip group across 1 directory with 7 updates --- updated-dependencies: - dependency-name: black dependency-version: 24.3.0 dependency-type: direct:production dependency-group: pip - dependency-name: protobuf dependency-version: 4.25.8 dependency-type: direct:production dependency-group: pip - dependency-name: aiohttp dependency-version: 3.12.14 dependency-type: indirect dependency-group: pip - dependency-name: idna dependency-version: '3.7' dependency-type: indirect dependency-group: pip - dependency-name: requests dependency-version: 2.32.4 dependency-type: indirect dependency-group: pip - dependency-name: setuptools dependency-version: 78.1.1 dependency-type: indirect dependency-group: pip - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: indirect dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com> * gomod2nix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Randy Ang <randy.ang@crypto.com>
* build(deps): bump github.com/onsi/gomega from 1.38.2 to 1.39.0 Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.38.2 to 1.39.0. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.38.2...v1.39.0) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-version: 1.39.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * gomod2nix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Randy Ang <randy.ang@crypto.com>
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.32.0 to 0.33.0. - [Release notes](https://github.com/golang/text/releases) - [Commits](golang/text@v0.32.0...v0.33.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.27.2 to 2.27.5. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.27.2...v2.27.5) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.27.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump golang from 1.25.5-alpine to 1.25.6-alpine Bumps golang from 1.25.5-alpine to 1.25.6-alpine. --- updated-dependencies: - dependency-name: golang dependency-version: 1.25.6-alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * gomod2nix ginkgo --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: randy-cro <randy.ang@crypto.com>
Bumps the npm_and_yarn group with 1 update in the /tests/integration_tests/hardhat directory: [lodash](https://github.com/lodash/lodash). Updates `lodash` from 4.17.21 to 4.17.23 - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.21...4.17.23) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.17.23 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Randy Ang <randy.ang@crypto.com>
* use cosmos sdk v53 * remove optional protocolkeeper * fix ante_test * add obj key to bank keeper * removal of old comment * update cosmos-sdk dependency to v0.53.4 * remove rosetta as from cosmos sdk #14062 * update grpc flags * update upgrade test nix package * update conftest.py ethermint port * add software upgrade test * add grpc flags to tests * clean up evm module * clean up feemarket module * go mod tidy && nix update * fix bank keeper obj key not initialized properly * fix statedb_test * fix sim test * revert ethermint port * fix lint * remove unused import * update cosmos-sdk * remove unneeded code * add dummy upgrade handler for upgrade test * remove unneeded code * add back start command * preEstimate to be true * add patchtxResponses * wait for evm rpc port to be ready for upgrade evm tx * fix flaky test_destruct * add CHANGELOG * change ethermint rpc * add pre-estimate bug comments * use aminojson instead of legacytx.StdSignBytes * remove no-op RegisterInvariants since its deprecated * use codec.NewLegacyAmino instead of deprecated codec.NewAminoCodec * update PrepareEIP712CosmosTx to use aminojson instead of legacytx.StdSignBytes * Revert "use aminojson instead of legacytx.StdSignBytes" as tests are failing This reverts commit 5372602. * Revert "update PrepareEIP712CosmosTx to use aminojson instead of legacytx.StdSignBytes" as tests are failing This reverts commit ef8d1f6. * set bug as todo Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com> Signed-off-by: randy-cro <randy.ang@crypto.com> * clean up upgrades.go * update cosmos-sdk * read flag for pre-estimate * update cosmos-sdk --------- Signed-off-by: randy-cro <randy.ang@crypto.com> Co-authored-by: Randy Ang <randy.ang@crypto.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Need to evaluate and backport some or all fixes from the upstream.
Additional issues
eth_getBlockReceiptssee Get receipts by block number ethereum/go-ethereum#19634