Skip to content

feat(tests): MIP-11 Automatic Priority Fee Distribution#33

Draft
pdobacz wants to merge 4 commits into
forks/monad_ninefrom
mip11-standalone
Draft

feat(tests): MIP-11 Automatic Priority Fee Distribution#33
pdobacz wants to merge 4 commits into
forks/monad_ninefrom
mip11-standalone

Conversation

@pdobacz

@pdobacz pdobacz commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

MIP-11 tests and a carve out of staking precompile implementation - just enough to test MIP-11.

There are some parts marked as "Divergence from the spec", these are to be investigated and clarified after MIP-11 spec is finalized, most likely documentation issues.

Assumes monad-crypto/MIPs#46 has landed, but there is no ValidatorRewarded event emitted yet

pdobacz added 4 commits July 8, 2026 13:06
…onad_nine

Port monad_next staking precompile, MIP-11 fee redirect/distribution, the
t8n hooks, and the mip11 tests onto forks/monad_nine; real MIP-11
supersedes the priority-fee burn shim.

Co-Authored-By: Claude <claude-opus-4-8>
Drop the unused, fake-stub ABI (getters, setter stubs, non-reward
syscalls, selector/gas tables); keep the reward syscall + distribution.
In-place deletions only, so re-applying the full precompile is clean.

Co-Authored-By: Claude <claude-opus-4-8>
…r test

Co-Authored-By: Claude <claude-opus-4-8>
Pin down that distribution keys off the reward-syscall proposer, not the
block coinbase: it burns even when the coinbase is the validator.

Co-Authored-By: Claude <claude-opus-4-8>
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