Skip to content

feat: add v7.3.0 upgrade with evm fork v0.6.1-fork.1 - #366

Merged
jhelison merged 14 commits into
mainfrom
chore/bump-evm-v0.6.0-fork.3
Jul 28, 2026
Merged

feat: add v7.3.0 upgrade with evm fork v0.6.1-fork.1#366
jhelison merged 14 commits into
mainfrom
chore/bump-evm-v0.6.0-fork.3

Conversation

@mattkii

@mattkii mattkii commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description

Adds a linux/arm64 build target to the GoReleaser config (alongside the existing linux/amd64) so we can produce static Linux binaries for both architectures. The release was built locally via make goreleaser-build-local (no CI, no publish).

Type of change

  • chore (Updates on dependencies, gitignore, etc)

How Has This Been Tested?

  • Ran make goreleaser-build-local locally and confirmed dist/ contains static linux/amd64 and linux/arm64 binaries (verified with file and sha256sum).

PR Checklist:

  • Updated changelog with PR's intent
  • Lint with make lint-fix

@mattkii
mattkii requested a review from jhelison as a code owner July 20, 2026 16:42
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

The release configuration updates the amd64 musl library checksum, adds a Linux ARM64 build and archive target, and configures ARM64 toolchains and static-library verification. Release Makefile targets now pass private-module settings and mount the host Go module cache into goreleaser-cross, with local releases using --clean. The EVM replacement points to evm-private version v0.6.0-fork.3, and the application registers and implements the v7_3 module-migration upgrade. Test helpers now use a deterministic EVM deployer account and shared ERC20 constants.

Estimated code review effort: 3 (Moderate) | ~25 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title matches the upgrade theme, but it names the wrong EVM fork version and misses the broader release/build changes. Change it to reflect the actual v7.3.0 upgrade and fork update, e.g. "feat: add v7.3.0 upgrade with evm fork v0.6.0-fork.3".
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The description is related to the changeset because it correctly describes the new linux/arm64 GoReleaser build target.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-evm-v0.6.0-fork.3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.goreleaser.yml:
- Around line 201-202: Update the snapshot.name_template configuration to use a
dynamic template containing commit-specific information instead of the hardcoded
“7.3.0” value, preserving unique and traceable snapshot artifact names across
builds.
- Around line 142-144: Update the musl toolchain setup blocks, including the
aarch64 commands and the corresponding amd64 block above, to stream each archive
download directly into tar and extract into /opt without creating .tgz files in
the mapped workspace. Preserve the existing destination directories and
subsequent toolchain setup behavior.

In `@Makefile`:
- Line 176: Update the GOMODCACHE volume mounts in Makefile lines 176, 220, and
244 to use read-only mode by appending :ro to each /go/pkg/mod mount, preserving
the existing offline container behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5c4395c7-c073-40e6-bb82-dac7bf1f5b10

📥 Commits

Reviewing files that changed from the base of the PR and between b94a9a4 and 09895f9.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (3)
  • .goreleaser.yml
  • Makefile
  • go.mod

Comment thread .goreleaser.yml Outdated
Comment thread .goreleaser.yml Outdated
Comment thread Makefile Outdated
@mattkii
mattkii force-pushed the chore/bump-evm-v0.6.0-fork.3 branch from 09895f9 to 62d72c4 Compare July 20, 2026 16:48
@mattkii mattkii changed the title feat: feat: create release for evm fix 7.3.0 Jul 20, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
Makefile (1)

174-174: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Protect the host's Go module cache from root-owned file corruption.

All three targets mount the host's module cache read-write into a Docker container (which typically runs as root). This risks writing root-owned cache entries to the user's host machine, causing subsequent local go commands to fail with "permission denied" errors. The shared root cause is the lack of a read-only (:ro) flag on the volume mounts.

  • Makefile#L174-L174: Append :ro to the volume mount (-v $(GOMODCACHE):/go/pkg/mod:ro \) in create-release-dry-run.
  • Makefile#L218-L218: Append :ro to the volume mount (-v $(GOMODCACHE):/go/pkg/mod:ro \) in goreleaser-build-local.
  • Makefile#L242-L242: Append :ro to the volume mount (-v $(GOMODCACHE):/go/pkg/mod:ro \) in ci-release.
🔧 Proposed fixes

For create-release-dry-run:

-		-v $(GOMODCACHE):/go/pkg/mod \
+		-v $(GOMODCACHE):/go/pkg/mod:ro \

For goreleaser-build-local:

-		-v $(GOMODCACHE):/go/pkg/mod \
+		-v $(GOMODCACHE):/go/pkg/mod:ro \

For ci-release:

-		-v $(GOMODCACHE):/go/pkg/mod \
+		-v $(GOMODCACHE):/go/pkg/mod:ro \
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Makefile` at line 174, Update the GOMODCACHE volume mounts in Makefile lines
174, 218, and 242, used by create-release-dry-run, goreleaser-build-local, and
ci-release, to append the read-only :ro flag. Apply the same mount change at all
three sites.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@Makefile`:
- Line 174: Update the GOMODCACHE volume mounts in Makefile lines 174, 218, and
242, used by create-release-dry-run, goreleaser-build-local, and ci-release, to
append the read-only :ro flag. Apply the same mount change at all three sites.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dd14a1db-cd1d-420c-bd2a-b15c7aa386d1

📥 Commits

Reviewing files that changed from the base of the PR and between 09895f9 and 62d72c4.

📒 Files selected for processing (3)
  • .goreleaser.yml
  • Makefile
  • app/app.go

jhelison
jhelison previously approved these changes Jul 22, 2026
Comment thread app/app.go Outdated
Comment thread go.mod Outdated
Comment thread CHANGELOG.md Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
app/apptesting/evm.go (1)

25-38: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Keep DefaultFirstERC20 tied to the deployment derivation.

DeployERC20 derives addresses from ERC20DeployerAddress() and the current nonce, while DefaultFirstERC20 is a separate hardcoded copy of the nonce-0 result. If the seed or address derivation changes, downstream fee tests can reference a stale address. Add an assertion covering crypto.CreateAddress(ERC20DeployerAddress(), 0) or derive this value from the same logic.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@app/apptesting/evm.go` around lines 25 - 38, Update DefaultFirstERC20 so it
cannot diverge from DeployERC20’s derivation: either derive it from
crypto.CreateAddress(ERC20DeployerAddress(), 0) or add an assertion comparing
the constant with that value. Keep ERC20DeployerAddress as the shared source of
the deployer address and ensure the nonce-0 relationship is validated.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@RELEASE_NOTES.md`:
- Line 5: Update the public build-from-source release note to avoid promising
identical binary hashes unless the release rebuilt with the public module is
verified to match the private-module build. Either validate and document
matching hashes before publication, or remove the
identical-hash/equivalent-module claim and publish checksums for the rebuilt
public release.

---

Nitpick comments:
In `@app/apptesting/evm.go`:
- Around line 25-38: Update DefaultFirstERC20 so it cannot diverge from
DeployERC20’s derivation: either derive it from
crypto.CreateAddress(ERC20DeployerAddress(), 0) or add an assertion comparing
the constant with that value. Keep ERC20DeployerAddress as the shared source of
the deployer address and ensure the nonce-0 relationship is validated.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 744d8b34-7a96-4032-a35f-cf8ad57613e9

📥 Commits

Reviewing files that changed from the base of the PR and between f4971f1 and 3cd0f14.

📒 Files selected for processing (9)
  • CHANGELOG.md
  • RELEASE_NOTES.md
  • app/app.go
  • app/apptesting/evm.go
  • app/upgrades/v7_2/constants.go
  • go.mod
  • wasmbinding/evm/reflect_query_test.go
  • x/feeabstraction/ante/cosmos/fee_test.go
  • x/feeabstraction/keeper/fee_test.go
💤 Files with no reviewable changes (2)
  • app/app.go
  • app/upgrades/v7_2/constants.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • go.mod

Comment thread RELEASE_NOTES.md Outdated
@mattkii
mattkii requested a review from jhelison July 23, 2026 04:47
Co-authored-by: Cursor <cursoragent@cursor.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Makefile`:
- Line 174: Update the release targets create-release-dry-run,
goreleaser-build-local, and ci-release to ensure $(GOMODCACHE) is populated via
a restore step or explicit go mod download before Docker mounts it read-only at
/go/pkg/mod:ro, including the private evm-private replacement dependency.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f4673893-1a55-48ee-ae4e-8fbd5ff0d7af

📥 Commits

Reviewing files that changed from the base of the PR and between 3cd0f14 and 16f740c.

📒 Files selected for processing (4)
  • .goreleaser.yml
  • Makefile
  • RELEASE_NOTES.md
  • app/apptesting/evm.go
🚧 Files skipped from review as they are similar to previous changes (3)
  • RELEASE_NOTES.md
  • app/apptesting/evm.go
  • .goreleaser.yml

Comment thread Makefile
Co-authored-by: Cursor <cursoragent@cursor.com>
@mattkii

mattkii commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

mattkii and others added 3 commits July 22, 2026 22:40
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@mattkii
mattkii force-pushed the chore/bump-evm-v0.6.0-fork.3 branch from ccba209 to b1ff560 Compare July 23, 2026 06:18
@mattkii
mattkii force-pushed the chore/bump-evm-v0.6.0-fork.3 branch from b1ff560 to f2fcc70 Compare July 23, 2026 06:18
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 30.76923% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
app/apptesting/evm.go 30.76% 8 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@mattkii mattkii changed the title feat: create release for evm fix 7.3.0 feat: add v7.3.0 upgrade with evm fork v0.6.1-fork.1 Jul 28, 2026
jhelison
jhelison previously approved these changes Jul 28, 2026
@jhelison
jhelison merged commit bbc7be1 into main Jul 28, 2026
9 of 10 checks passed
@jhelison
jhelison deleted the chore/bump-evm-v0.6.0-fork.3 branch July 28, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants