[WIP] Backport upstream changes#2
Draft
maxim-inj wants to merge 321 commits into
Draft
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.3 to 1.73.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.67.3...v1.73.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-version: 1.73.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 [cosmossdk.io/x/upgrade](https://github.com/cosmos/cosmos-sdk) from 0.1.4 to 0.2.0. - [Release notes](https://github.com/cosmos/cosmos-sdk/releases) - [Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.2.0/CHANGELOG.md) - [Commits](cosmos/cosmos-sdk@x/upgrade/v0.1.4...v0.2.0) --- updated-dependencies: - dependency-name: cosmossdk.io/x/upgrade dependency-version: 0.2.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 [cosmossdk.io/collections](https://github.com/cosmos/cosmos-sdk) from 0.4.0 to 1.3.0. - [Release notes](https://github.com/cosmos/cosmos-sdk/releases) - [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md) - [Commits](cosmos/cosmos-sdk@v0.4.0...log/v1.3.0) --- updated-dependencies: - dependency-name: cosmossdk.io/collections dependency-version: 1.3.0 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 [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.12 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [undici](https://github.com/nodejs/undici) from 5.28.2 to 5.29.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.28.2...v5.29.0) --- updated-dependencies: - dependency-name: undici dependency-version: 5.29.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [base-x](https://github.com/cryptocoinjs/base-x) from 3.0.9 to 3.0.11. - [Commits](cryptocoinjs/base-x@v3.0.9...v3.0.11) --- updated-dependencies: - dependency-name: base-x dependency-version: 3.0.11 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [base-x](https://github.com/cryptocoinjs/base-x) from 3.0.9 to 3.0.11. - [Commits](cryptocoinjs/base-x@v3.0.9...v3.0.11) --- updated-dependencies: - dependency-name: base-x dependency-version: 3.0.11 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.24.4 to 7.27.6. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.27.6/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-version: 7.27.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… updates (#627) Bumps the npm_and_yarn group with 9 updates in the /tests/integration_tests/hardhat directory: | Package | From | To | | --- | --- | --- | | [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) | `4.9.5` | `4.9.6` | | [braces](https://github.com/micromatch/braces) | `3.0.2` | `3.0.3` | | [elliptic](https://github.com/indutny/elliptic) | `6.5.4` | `6.6.1` | | [ethers](https://github.com/ethers-io/ethers.js) | `5.7.2` | `5.8.0` | | [@ethersproject/signing-key](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/signing-key) | `5.7.0` | `5.8.0` | | [follow-redirects](https://github.com/follow-redirects/follow-redirects) | `1.15.5` | `1.15.9` | | [secp256k1](https://github.com/cryptocoinjs/secp256k1-node) | `4.0.3` | `4.0.4` | | [mocha](https://github.com/mochajs/mocha) | `10.2.0` | `10.8.2` | | [ws](https://github.com/websockets/ws) | `7.4.6` | `7.5.10` | Bumps the npm_and_yarn group with 3 updates in the /tests/solidity directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects), [cross-spawn](https://github.com/moxystudio/node-cross-spawn) and [express](https://github.com/expressjs/express). Updates `@openzeppelin/contracts` from 4.9.5 to 4.9.6 - [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases) - [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md) - [Commits](OpenZeppelin/openzeppelin-contracts@v4.9.5...v4.9.6) Updates `braces` from 3.0.2 to 3.0.3 - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](micromatch/braces@3.0.2...3.0.3) Updates `elliptic` from 6.5.4 to 6.6.1 - [Commits](indutny/elliptic@v6.5.4...v6.6.1) Updates `ethers` from 5.7.2 to 5.8.0 - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/v5.8.0/CHANGELOG.md) - [Commits](ethers-io/ethers.js@v5.7.2...v5.8.0) Updates `@ethersproject/signing-key` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/v5.8.0/CHANGELOG.md) - [Commits](https://github.com/ethers-io/ethers.js/commits/v5.8.0/packages/signing-key) Updates `ethers` from 5.7.2 to 5.8.0 - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/v5.8.0/CHANGELOG.md) - [Commits](ethers-io/ethers.js@v5.7.2...v5.8.0) Updates `follow-redirects` from 1.15.5 to 1.15.9 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.9) Updates `secp256k1` from 4.0.3 to 4.0.4 - [Release notes](https://github.com/cryptocoinjs/secp256k1-node/releases) - [Commits](cryptocoinjs/secp256k1-node@v4.0.3...v4.0.4) Updates `mocha` from 10.2.0 to 10.8.2 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v10.2.0...v10.8.2) Updates `serialize-javascript` from 6.0.0 to 6.0.2 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](yahoo/serialize-javascript@v6.0.0...v6.0.2) Updates `ws` from 7.4.6 to 7.5.10 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.4.6...7.5.10) Updates `@ethersproject/signing-key` from 5.7.0 to 5.8.0 - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/v5.8.0/CHANGELOG.md) - [Commits](https://github.com/ethers-io/ethers.js/commits/v5.8.0/packages/signing-key) Updates `braces` from 3.0.2 to 3.0.3 - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](micromatch/braces@3.0.2...3.0.3) Updates `ethers` from 5.7.2 to 5.8.0 - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/v5.8.0/CHANGELOG.md) - [Commits](ethers-io/ethers.js@v5.7.2...v5.8.0) Updates `follow-redirects` from 1.15.5 to 1.15.9 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.9) Updates `mocha` from 10.2.0 to 10.8.2 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md) - [Commits](mochajs/mocha@v10.2.0...v10.8.2) Updates `serialize-javascript` from 6.0.0 to 6.0.2 - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](yahoo/serialize-javascript@v6.0.0...v6.0.2) Updates `ws` from 7.4.6 to 7.5.10 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.4.6...7.5.10) Updates `follow-redirects` from 1.15.6 to 1.15.9 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.9) Updates `cross-spawn` from 6.0.5 to 6.0.6 - [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/v6.0.6/CHANGELOG.md) - [Commits](moxystudio/node-cross-spawn@v6.0.5...v6.0.6) Updates `express` from 4.19.2 to 4.21.2 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md) - [Commits](expressjs/express@4.19.2...4.21.2) Updates `follow-redirects` from 1.15.6 to 1.15.9 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.9) Updates `path-to-regexp` from 0.1.7 to 0.1.12 - [Release notes](https://github.com/pillarjs/path-to-regexp/releases) - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md) - [Commits](pillarjs/path-to-regexp@v0.1.7...v0.1.12) Updates `send` from 0.18.0 to 0.19.0 - [Release notes](https://github.com/pillarjs/send/releases) - [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md) - [Commits](pillarjs/send@0.18.0...0.19.0) Updates `serve-static` from 1.15.0 to 1.16.2 - [Release notes](https://github.com/expressjs/serve-static/releases) - [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md) - [Commits](expressjs/serve-static@v1.15.0...v1.16.2) --- updated-dependencies: - dependency-name: "@openzeppelin/contracts" dependency-version: 4.9.6 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: braces dependency-version: 3.0.3 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: elliptic dependency-version: 6.6.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ethers dependency-version: 5.8.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: "@ethersproject/signing-key" dependency-version: 5.8.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ethers dependency-version: 5.8.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.15.9 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: secp256k1 dependency-version: 4.0.4 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: mocha dependency-version: 10.8.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: serialize-javascript dependency-version: 6.0.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ws dependency-version: 7.5.10 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: "@ethersproject/signing-key" dependency-version: 5.8.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: braces dependency-version: 3.0.3 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ethers dependency-version: 5.8.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.15.9 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: mocha dependency-version: 10.8.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: serialize-javascript dependency-version: 6.0.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ws dependency-version: 7.5.10 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.15.9 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: cross-spawn dependency-version: 6.0.6 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: express dependency-version: 4.21.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.15.9 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: path-to-regexp dependency-version: 0.1.12 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: send dependency-version: 0.19.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: serve-static dependency-version: 1.16.2 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>
Bumps alpine from 3.17.3 to 3.22.0. --- updated-dependencies: - dependency-name: alpine dependency-version: 3.22.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: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
…5.0 (#598) Bumps [nosborn/github-action-markdown-cli](https://github.com/nosborn/github-action-markdown-cli) from 3.3.0 to 3.5.0. - [Release notes](https://github.com/nosborn/github-action-markdown-cli/releases) - [Commits](nosborn/github-action-markdown-cli@v3.3.0...v3.5.0) --- updated-dependencies: - dependency-name: nosborn/github-action-markdown-cli dependency-version: 3.5.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: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-go 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> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: '3' 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 [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.16.0 to 1.50.0. - [Release notes](https://github.com/bufbuild/buf-setup-action/releases) - [Commits](bufbuild/buf-setup-action@v1.16.0...v1.50.0) --- updated-dependencies: - dependency-name: bufbuild/buf-setup-action dependency-version: 1.50.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: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
…595) Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.4.0 to 8.0.0. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v3.4.0...v8.0.0) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-version: 8.0.0 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> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 31. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Changelog](https://github.com/cachix/install-nix-action/blob/master/RELEASE.md) - [Commits](cachix/install-nix-action@v26...v31) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-version: '31' 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 [cachix/cachix-action](https://github.com/cachix/cachix-action) from 14 to 16. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](cachix/cachix-action@v14...v16) --- updated-dependencies: - dependency-name: cachix/cachix-action dependency-version: '16' 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> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
…updates (#628) Bumps the npm_and_yarn group with 1 update in the /tests/integration_tests/hardhat directory: [brace-expansion](https://github.com/juliangruber/brace-expansion). Bumps the npm_and_yarn group with 1 update in the /tests/solidity directory: [body-parser](https://github.com/expressjs/body-parser). Updates `brace-expansion` from 1.1.11 to 1.1.12 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12) Updates `body-parser` from 1.20.2 to 1.20.3 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](expressjs/body-parser@1.20.2...1.20.3) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.12 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: body-parser dependency-version: 1.20.3 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: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '4' 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> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
…336) Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action) from 6.1.1 to 6.1.2. - [Release notes](https://github.com/technote-space/get-diff-action/releases) - [Changelog](https://github.com/technote-space/get-diff-action/blob/main/.releasegarc) - [Commits](technote-space/get-diff-action@v6.1.1...v6.1.2) --- updated-dependencies: - dependency-name: technote-space/get-diff-action 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: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout 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 [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: '5' 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 [actions/stale](https://github.com/actions/stale) from 8 to 9. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@v8...v9) --- updated-dependencies: - dependency-name: actions/stale dependency-version: '9' 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>
* build(deps): bump actions/dependency-review-action from 3 to 4 Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4. - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@v3...v4) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * ci: remove dependabot reviewers --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xinyu Zhao <xinyu.zhao@crypto.com>
* feat: add support for eth_getBlockReceipts (#629) * add support for eth_getblockreceipts * update changelog * Update rpc/backend/blocks.go Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com> Signed-off-by: Thomas Nguy <81727899+thomas-nguy@users.noreply.github.com> * fix lint * optimization * remove empty space * add test case * fix length and add test * return err details * fix tests * fix lint * fix tests --------- Signed-off-by: Thomas Nguy <81727899+thomas-nguy@users.noreply.github.com> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com> * update changelog --------- Signed-off-by: Thomas Nguy <81727899+thomas-nguy@users.noreply.github.com> Co-authored-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
Bumps [sigs.k8s.io/yaml](https://github.com/kubernetes-sigs/yaml) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/kubernetes-sigs/yaml/releases) - [Changelog](https://github.com/kubernetes-sigs/yaml/blob/master/RELEASE.md) - [Commits](kubernetes-sigs/yaml@v1.4.0...v1.5.0) --- updated-dependencies: - dependency-name: sigs.k8s.io/yaml dependency-version: 1.5.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>
* fix(rpc): relax debug trace gas calculation (#997) * fix: relax debug trace gas count * fix * fix comments * make it query and short comments * small nits * fix PR comments * make tracereplay a query input * cleanup * cleanup * revert comment and add config test * add non relax test for grpc query * test: verify TraceReplay flag is forwarded to TraceTx request Add RegisterTraceTransactionWithReplay mock helper and TestTraceTransactionWithReplay, in the style of RegisterTraceTransactionWithPredecessors, asserting that a TraceConfig with TraceReplay=true is propagated to the gRPC QueryTraceTxRequest. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix changelog --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…`TxBody` sets `timeout_timestamp` (#1009)
…993) Bumps the docker group with 2 updates in the / directory: golang and alpine. Updates `golang` from 1.26.3-alpine to 1.26.4-alpine Updates `alpine` from 3.23.4 to 3.24.1 --- updated-dependencies: - dependency-name: alpine dependency-version: 3.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: docker - dependency-name: golang dependency-version: 1.26.4-alpine dependency-type: direct:production update-type: version-update:semver-patch dependency-group: docker ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) * build(deps): bump github.com/quic-go/quic-go from 0.59.0 to 0.59.1 Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.59.0 to 0.59.1. - [Release notes](https://github.com/quic-go/quic-go/releases) - [Commits](quic-go/quic-go@v0.59.0...v0.59.1) --- updated-dependencies: - dependency-name: github.com/quic-go/quic-go dependency-version: 0.59.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Merge develop and regenerate go.mod/go.sum/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: Randy Ang <randy.ang@cronoslabs.org>
…tes (#1004) Bumps the gh-actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials), [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](actions/checkout@v6...v7) Updates `aws-actions/configure-aws-credentials` from 6.1.1 to 6.2.0 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](aws-actions/configure-aws-credentials@d979d5b...e7f100c) Updates `anthropics/claude-code-action` from 1.0.127 to 1.0.154 - [Release notes](https://github.com/anthropics/claude-code-action/releases) - [Commits](anthropics/claude-code-action@1dc994e...30544b6) Updates `codecov/codecov-action` from 6 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions - dependency-name: anthropics/claude-code-action dependency-version: 1.0.152 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gh-actions - dependency-name: aws-actions/configure-aws-credentials dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gh-actions - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
…dates (#1005) Bumps the npm_and_yarn group with 1 update in the /tests/integration_tests/hardhat directory: [form-data](https://github.com/form-data/form-data). Updates `form-data` from 4.0.5 to 4.0.6 - [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md) - [Commits](form-data/form-data@v4.0.5...v4.0.6) Updates `undici` from 6.25.0 to 5.29.0 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v6.25.0...v5.29.0) Updates `ws` from 8.18.0 to 7.5.11 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@8.18.0...7.5.11) --- updated-dependencies: - dependency-name: form-data dependency-version: 4.0.6 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: undici dependency-version: 5.29.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ws dependency-version: 7.5.11 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: JayT106 <JayT106@users.noreply.github.com>
Bumps the pip group with 1 update in the /tests/integration_tests directory: [web3](https://github.com/ethereum/web3.py). Updates `web3` from 7.13.0 to 7.15.0 - [Changelog](https://github.com/ApeWorX/web3.py/blob/main/docs/release_notes.rst) - [Commits](ApeWorX/web3.py@v7.13.0...v7.15.0) --- updated-dependencies: - dependency-name: web3 dependency-version: 7.15.0 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… 10 updates (#995) Bumps the gomod-minor-patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [github.com/btcsuite/btcd/btcutil](https://github.com/btcsuite/btcd) | `1.1.6` | `1.2.0` | | [github.com/cosmos/ibc-go/v11](https://github.com/cosmos/ibc-go) | `11.0.0` | `11.1.0` | | [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.28.0` | `2.32.0` | | [github.com/rs/zerolog](https://github.com/rs/zerolog) | `1.35.0` | `1.35.1` | | [github.com/tidwall/gjson](https://github.com/tidwall/gjson) | `1.18.0` | `1.19.0` | | [golang.org/x/net](https://github.com/golang/net) | `0.55.0` | `0.56.0` | | [google.golang.org/grpc](https://github.com/grpc/grpc-go) | `1.80.0` | `1.81.1` | Updates `github.com/btcsuite/btcd/btcutil` from 1.1.6 to 1.2.0 - [Release notes](https://github.com/btcsuite/btcd/releases) - [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES) - [Commits](btcsuite/btcd@btcutil/v1.1.6...btcutil/v1.2.0) Updates `github.com/cosmos/ibc-go/v11` from 11.0.0 to 11.1.0 - [Release notes](https://github.com/cosmos/ibc-go/releases) - [Changelog](https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md) - [Commits](cosmos/ibc-go@v11.0.0...v11.1.0) Updates `github.com/onsi/ginkgo/v2` from 2.28.0 to 2.32.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](onsi/ginkgo@v2.28.0...v2.32.0) Updates `github.com/onsi/gomega` from 1.39.1 to 1.40.0 - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.39.1...v1.40.0) Updates `github.com/rs/zerolog` from 1.35.0 to 1.35.1 - [Commits](rs/zerolog@v1.35.0...v1.35.1) Updates `github.com/tidwall/gjson` from 1.18.0 to 1.19.0 - [Commits](tidwall/gjson@v1.18.0...v1.19.0) Updates `golang.org/x/net` from 0.55.0 to 0.56.0 - [Commits](golang/net@v0.55.0...v0.56.0) Updates `golang.org/x/sync` from 0.20.0 to 0.21.0 - [Commits](golang/sync@v0.20.0...v0.21.0) Updates `golang.org/x/text` from 0.37.0 to 0.38.0 - [Release notes](https://github.com/golang/text/releases) - [Commits](golang/text@v0.37.0...v0.38.0) Updates `google.golang.org/grpc` from 1.80.0 to 1.81.1 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.80.0...v1.81.1) --- updated-dependencies: - dependency-name: github.com/btcsuite/btcd/btcutil dependency-version: 1.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: github.com/cosmos/ibc-go/v11 dependency-version: 11.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.29.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: github.com/onsi/gomega dependency-version: 1.40.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: github.com/rs/zerolog dependency-version: 1.35.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gomod-minor-patch - dependency-name: github.com/tidwall/gjson dependency-version: 1.19.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: golang.org/x/net dependency-version: 0.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: golang.org/x/sync dependency-version: 0.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: golang.org/x/text dependency-version: 0.38.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch - dependency-name: google.golang.org/grpc dependency-version: 1.81.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
Bumps the npm_and_yarn group with 1 update in the /tests/integration_tests/hardhat directory: [js-cookie](https://github.com/js-cookie/js-cookie). Updates `js-cookie` from 2.2.1 to 3.0.8 - [Release notes](https://github.com/js-cookie/js-cookie/releases) - [Commits](js-cookie/js-cookie@v2.2.1...v3.0.8) --- updated-dependencies: - dependency-name: js-cookie dependency-version: 3.0.8 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>
* feat(rpc): add app-side mempool direct-insert path for EVM tx submission When mempool.type=app, CometBFT's BroadcastTx -> CheckTx path returns an empty/broken sync response. Add an optional direct-insert path: apps that implement MempoolTxInserter (InsertTx) route eth_sendRawTransaction, eth_sendTransaction, and miner etherbase txs through the app mempool's InsertTx, returning the real sync result. - backend: TxInserter type + WithTxInserter option, txInserter field - backend: broadcastTx helper centralizes the 3 broadcast sites; falls back to clientCtx.BroadcastTx when no inserter is registered - rpc/server: RegisterTxInserter wiring; StartJSONRPC registers the inserter when the app implements MempoolTxInserter Default flood mempool is unaffected (nil inserter -> BroadcastTx). * remove comments * update CHANGELOG
…up (#1018) Bumps the gh-actions group with 1 update: [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action). Updates `anthropics/claude-code-action` from 1.0.154 to 1.0.155 - [Release notes](https://github.com/anthropics/claude-code-action/releases) - [Commits](anthropics/claude-code-action@30544b6...80b3182) --- updated-dependencies: - dependency-name: anthropics/claude-code-action dependency-version: 1.0.155 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gh-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…up (#1017) Bumps the gomod-minor-patch group with 1 update: [github.com/onsi/gomega](https://github.com/onsi/gomega). Updates `github.com/onsi/gomega` from 1.40.0 to 1.42.1 - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.40.0...v1.42.1) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-version: 1.42.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
* fix(evm): guard SetCodeTx auth list against empty V * add changelog * use core.ErrAuthorizationInvalidSignature
* fix(rpc): disable CORS by default on HTTP JSON-RPC server * add changelog * update comments and test * update comment
…up (#1022) Bumps the gh-actions group with 1 update: [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action). Updates `anthropics/claude-code-action` from 1.0.155 to 1.0.157 - [Release notes](https://github.com/anthropics/claude-code-action/releases) - [Commits](anthropics/claude-code-action@80b3182...428971d) --- updated-dependencies: - dependency-name: anthropics/claude-code-action dependency-version: 1.0.157 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gh-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the gomod-minor-patch group with 1 update: [github.com/hashicorp/go-metrics](https://github.com/hashicorp/go-metrics). Updates `github.com/hashicorp/go-metrics` from 0.5.4 to 0.6.0 - [Release notes](https://github.com/hashicorp/go-metrics/releases) - [Commits](hashicorp/go-metrics@v0.5.4...v0.6.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-metrics dependency-version: 0.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
* fix(rpc): propagate block-result fetch errors in eth_getLogs * add changelog
…1024) * fix(rpc): fix goroutine leak, race, and nil panic in eth_feeHistory * add changelog * lint --------- Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
* fix(evm): skip rewriting eip155ChainID when unchanged BeginBlock calls WithChainID every block, rewriting eip155ChainID to the same value while lock-free readers (app-side mempool admission) read it. Skip the redundant write so the assignment doesn't race readers under -race; a genuine chain-id change still panics. * concise comments * align changelog to PR title --------- Signed-off-by: JayT106 <JayT106@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
* fix(rpc): align eth_getStorageAt storage key parsing * doc:
…thorization list is provided. (#1029) * fix(evm): allow access list creation without gas * doc: --------- Signed-off-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
* feat(rpc): add eth_baseFee method * doc: changelog * feat: eth_baseFee * fix: review
…tes (#1032) Bumps the gh-actions group with 2 updates in the / directory: [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) and [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action). Updates `aws-actions/configure-aws-credentials` from 6.2.0 to 6.2.1 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](aws-actions/configure-aws-credentials@e7f100c...254c19b) Updates `anthropics/claude-code-action` from 1.0.157 to 1.0.160 - [Release notes](https://github.com/anthropics/claude-code-action/releases) - [Commits](anthropics/claude-code-action@428971d...4633baf) --- updated-dependencies: - dependency-name: anthropics/claude-code-action dependency-version: 1.0.159 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gh-actions - dependency-name: aws-actions/configure-aws-credentials dependency-version: 6.2.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gh-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1011) * feat(mempool): add EVM sig pre-verifier and registry in appmempool Move the stateless EVM signature pre-check into appmempool as NewEVMSigPreVerifier (was a standalone ante helper) and add PreVerifierRegistry so modules can contribute pre-verifiers that the app composes on the mempool admission path. First rejection wins; nil defers to the locked path. * chore: concise function comments * refactor(mempool): drop PreVerifierRegistry from appmempool The registry is an app-level composition concern; ethermint ships only the stateless EVM verifier. Remove the unused registry and its test per review (#1011) — it moves to the app layer in cronos. NewEVMSigPreVerifier stays, covered by evmd/ante/preverify_test.go. * test(mempool): move EVMSigPreVerifier test to appmempool package --------- Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.com>
* feat: feat(rpc): default Block param to latest on state methods. * test: * deps:
* test: add specs * feat: align eth_getStorageAt * add eth-rpc-check.md * fix: create access list without gas should success * test: patch test input for ethermint(simulateV1) * fix: json number * test: eth_getBalance testcase patch for ethermint * test: exclude past fork cases for eth_getBlockByNumber * test: normalize local eth_getBlockReceipts schema fixtures * test: eth_getProof, eth_getLogs * test: receipt differences * fix: tests * fix: review * test: * test: split file * test: fix RPC schema lint * test: sync execution-apis fixtures before schema test * test: sync spec fixtures from upstream * feat: eth_baseFee * fix: tests * doc: * test: rm unused specs * doc: comments * test: * fix: lint * fix: review * fix: gomod2nix * test: rename spec into execution-api * test: rm simulate, already tested in schema tests * revert: changes in sub pr * fix: review * test: whitelist decimal block number request --------- Co-authored-by: songgaoye <217724508+songgaoye@users.noreply.github.com>
Bumps the gh-actions group with 1 update in the / directory: [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action). Updates `anthropics/claude-code-action` from 1.0.160 to 1.0.162 - [Release notes](https://github.com/anthropics/claude-code-action/releases) - [Commits](anthropics/claude-code-action@4633baf...6c0083b) --- updated-dependencies: - dependency-name: anthropics/claude-code-action dependency-version: 1.0.161 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gh-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the gomod-minor-patch group with 1 update in the / directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go). Updates `google.golang.org/grpc` from 1.81.1 to 1.82.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.81.1...v1.82.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-version: 1.82.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gomod-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JayT106 <JayT106@users.noreply.github.com>
* feat(rpc): gate direct app-mempool insert + rename to InsertMempoolTx The #1003 MempoolTxInserter interface used a method named InsertTx, which collides with baseapp.BaseApp.InsertTx (the ABCI gossip-insert handler some SDK forks add) — its incompatible signature would be promoted onto the app, so such apps cannot satisfy the interface. Rename the method to InsertMempoolTx and add MempoolInsertEnabled() bool; StartJSONRPC now registers the inserter only when MempoolInsertEnabled() returns true. Apps with the default flood mempool (no app-side pool) keep the unchanged BroadcastTx submission path instead of routing to a no-op inserter. * simplify comments * chore(changelog): update PR number to #1016 * refactor(rpc): drop MempoolInsertEnabled; decline via nil response Single-method MempoolTxInserter interface: the app returns (nil, nil) to decline (app mempool off) and broadcastTx falls back to BroadcastTx, instead of a separate MempoolInsertEnabled() predicate gating registration. Rename the registration helpers to carry the InsertMempoolTx naming. * remove wordy comments * chore(changelog): fix #1016 entry to match actual changes * chore(changelog): simplify #1016 entry * refactor(rpc): replace mempool-inserter global with APIOptions Move the inserter contract into a new appmempool package and thread it through GetRPCAPIsWithOptions instead of the package-global RegisterMempoolTxInserter. StartJSONRPC casts the app to appmempool.Inserter once; the public APICreator signature stays frozen for downstream-registered namespaces. * feat(appmempool): add InserterProvider for apps that can't host InsertMempoolTx Some apps cannot implement Inserter directly because the InsertMempoolTx method would clash with an embedded type (e.g. a BaseApp fork that promotes its own InsertTx). InserterProvider lets such an app return the component that does implement Inserter. StartJSONRPC prefers a direct Inserter, then falls back to the provider — mirroring the existing ReaderProvider handling. * chore: concise function comments * refactor(rpc): consolidate mempool insert into a single MempoolClient Replace the Inserter/InserterProvider interfaces, the APIOptions struct, and the backend TxInserter func with one MempoolClient handle the app exposes (directly or via MempoolClientProvider). PendingTxs is declared now so the txpool read path in the stacked PR shares the same contract; this PR wires the InsertTx (write) side. - appmempool: MempoolClient{PendingTxs;InsertTx} + MempoolClientProvider. - backend: WithMempoolClient replaces WithTxInserter. - rpc: GetRPCAPIsWithMempool replaces GetRPCAPIsWithOptions; APIOptions dropped. - server: one client cast wires the JSON-RPC layer. * refactor(rpc): concise mempool client comments; rename appmempool.go to mempoolclient.go * update changelog * chore: update PR #1016 title and changelog to 'refactor(rpc): support mempool insertion from api' * refactor(rpc): address PR review — move InsertTx comment, remove GetRPCAPIs - Move InsertTx description from interface godoc to above the method - Remove GetRPCAPIs; callers use GetRPCAPIsWithMempool(nil) for same behavior - Add API Breaking changelog entry for GetRPCAPIs removal * chore: revert changelog API breaking entry for GetRPCAPIs removal * refactor(appmempool): PendingTxs return []sdk.Tx, drop evmtypes dep; remove redundant comment * refactor(server): pass MempoolClient explicitly to StartJSONRPC, drop runtime type assertions Remove MempoolClientProvider and the app type-assertion block; callers pass the client directly (nil for internal/test paths). * refactor(server): pass MempoolClient explicitly to StartJSONRPC, drop runtime type assertions StartJSONRPC takes mempoolClient explicitly; startJSONRPCServer extracts it via MempoolClientProvider for apps (e.g. cronos) whose embedded BaseApp promotes InsertTx and can't implement MempoolClient directly. * refactor(server): merge PendingTxListener+MempoolClient into AppServices interface Replace PendingTxListener with AppServices which combines RegisterPendingTxListener and MempoolClient(). Eliminates MempoolClientProvider — apps implement MempoolClient() directly, returning nil if they don't use direct mempool insertion. * fix(evmd): sort appmempool import to satisfy gofumpt --------- Signed-off-by: JayT106 <JayT106@users.noreply.github.com> Co-authored-by: Thomas <81727899+thomas-nguy@users.noreply.github.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