feat: enrich validation logs, pin mega-kona, add justfile - #189
Conversation
Pin kona workspace deps to 20500dfb so chain id 6344 (pnet/devnet) loads rex_6_time and SequencerRegistry v2 upgrade can succeed.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Claude review status
🛠️ Review did not finish Attempted head This round did not publish: MODEL_ACTION_FAILED in phase review_retry. Anything listed below is from the last round that did. Re-run the workflow or push a new commit to try again. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7ee6a2d4dd
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| kona-mpt = { git = "https://github.com/megaeth-labs/mega-kona.git", branch = "develop", package = "kona-mpt", default-features = false } | ||
| kona-proof = { git = "https://github.com/megaeth-labs/mega-kona.git", branch = "develop", package = "kona-proof", default-features = false } | ||
| kona-registry = { git = "https://github.com/megaeth-labs/mega-kona.git", branch = "develop", package = "kona-registry", default-features = false } | ||
| kona-driver = { git = "https://github.com/megaeth-labs/mega-kona.git", rev = "20500dfb6c14fb0ed20ccd2a2a0dab388907c5b6", package = "kona-driver", default-features = false } |
There was a problem hiding this comment.
Validate the newly introduced Rex6 schedule
When chain 6344 supplies a missing or mismatched rex6Time, this pin makes Kona load and execute the registry's new rex_6_time, but the local MegaethGenesisHardforks still stops at Rex5 and check_hardfork_consistency likewise compares only through rex_5. Startup therefore accepts a registry/genesis consensus-schedule skew and validates using the registry rather than the operator-supplied genesis; update the local MegaEVM/chain-spec representation and consistency check alongside this pin.
Useful? React with 👍 / 👎.
Summary
debuglogs with block hash, tx/gas/size, salt KV count, and per-stage timing stats.20500df(devnet Rex6 schedule) instead of floatingdevelop.justfilerecipe to build the opt-inkona-validatorbinary.Test plan
cargo check -p stateless-validatorjust build-kona-validator(or equivalent cargo command) builds successfully with network access to mega-kona