feat(tests): MIP-11 Automatic Priority Fee Distribution#33
Draft
pdobacz wants to merge 4 commits into
Draft
Conversation
…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>
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.
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
ValidatorRewardedevent emitted yet