Skip to content

chore: add evm-v0.6.3 upgrade handler (donut) - #369

Merged
0xNilesh merged 2 commits into
testnet/donutfrom
chore/evm-v0-6-3-handler
Sep 7, 2026
Merged

chore: add evm-v0.6.3 upgrade handler (donut)#369
0xNilesh merged 2 commits into
testnet/donutfrom
chore/evm-v0-6-3-handler

Conversation

@0xNilesh

@0xNilesh 0xNilesh commented Sep 7, 2026

Copy link
Copy Markdown
Member

Plan name evm-v0.6.3. Empty StoreUpgrades, RunMigrations only.

No state migration. Verified across v0.6.2..v0.6.3: 0 proto files changed, no store key added or removed, vm consensusVersion stays 2, migration dirs unchanged. The push-chain changes from #366 add no store and no proto either.

Why it still needs a coordinated height — the binary carries consensus-affecting behaviour:

evm v0.6.3 (two files, both x/vm/statedb)

  • AddBalance panics on overflow instead of wrapping silently — the counterpart to the SubBalance fix in v0.6.2.
  • StateDB.Commit is now atomic. The precompile path wrote its dirty set to the root ctx while precompile writes went to the cache, so the two could diverge; both now land in the same context. The normal path stages through a cache context so a late failure leaves ctx untouched.

push-chain #366

  • MsgVoteReadResult is gasless. This is the one that forces the coordination — an old binary still deducts the fee, so the two disagree on state and the app hash diverges.
  • x/ucallback passes explicit gas limits instead of nil (nil made the EVM estimate and land on gas that starved the callback).
  • Reads requested inside a UEA payload are now ingested.

Registered after readstate.

No state migration; the plan name lets cosmovisor swap the binary at a
coordinated height, which the gasless MsgVoteReadResult change requires.
@0xNilesh
0xNilesh merged commit bb97e91 into testnet/donut Sep 7, 2026
4 checks passed
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.

1 participant