Repository navigation
test(builder): stop deriving multiplex smoke timestamps from wall clock - #6455
Merged
Merged
Conversation
Collaborator
✅ Heimdall Review Status
|
| // engine rejects unless they carry the BaseTime update deposit at tx[1] and follow the | ||
| // deterministic 200ms cadence. These smoke nodes build a single legacy block, so anchor the | ||
| // timestamp to the final pre-Denim slot: past every scheduled fork (so withdrawals and the | ||
| // Jovian base-fee fields are expected) and still far from Denim activation. |
Contributor
There was a problem hiding this comment.
"still far from Denim activation" contradicts the code: build_timestamp is exactly one legacy interval (2s) before activation, so this should say "just before Denim activation". As written, someone could later move the anchor closer to the boundary thinking there's slack, and the test would quietly start depending on post-Denim behavior.
Contributor
Author
There was a problem hiding this comment.
Fixed in 65bd0ec — the comment now says "exactly one legacy interval before Denim activation" and warns against adding slack past the anchor. (Amended the single commit since the PR is unreviewed; re-ran the smoke test locally, still green.)
Denim activated on mainnet, so the smoke test's wall-clock-based payload attributes became post-Denim attributes, which the engine rejects unless they carry the BaseTime update deposit at tx[1]. Anchor the build timestamp to the last legacy block slot before Denim activation instead: past every scheduled fork and still pre-Denim, so a single legacy block stays valid regardless of when the test runs. Co-authored-by: Julian Meyer <[email protected]> Amp-Thread-ID: https://ampcode.com/threads/T-09d6a81e-204d-45bb-a227-69764d686e37
meyer9
force-pushed
the
fix-ci-20261105
branch
from
November 5, 2026 19:22
e5ab3e6 to
65bd0ec
Compare
meyer9
enabled auto-merge
November 5, 2026 19:37
henridevieux
approved these changes
Nov 5, 2026
danyalprout
approved these changes
Nov 5, 2026
wlawt
approved these changes
Nov 5, 2026
fahimahmedx
pushed a commit
that referenced
this pull request
Nov 12, 2026
…ck (#6455) Denim activated on mainnet, so the smoke test's wall-clock-based payload attributes became post-Denim attributes, which the engine rejects unless they carry the BaseTime update deposit at tx[1]. Anchor the build timestamp to the last legacy block slot before Denim activation instead: past every scheduled fork and still pre-Denim, so a single legacy block stays valid regardless of when the test runs. Amp-Thread-ID: https://ampcode.com/threads/T-09d6a81e-204d-45bb-a227-69764d686e37 Co-authored-by: Amp <[email protected]> (cherry picked from commit 407af44)
haardikk21
pushed a commit
that referenced
this pull request
Nov 12, 2026
… layer (backport #6557 to v1.5.5) (#6567) * feat(sequencer): seal payloads on execution freeze notifications Backport of #6557 to releases/v1.5.5. * test(builder): exercise native payload-ready wiring * test(sequencer): cover searcher next-block inclusion with early broadcast * docs: update the docs index for frozen payload notifications * chore(payload): order the tokio dependency by line length * feat(sequencer): add early-seal metrics Count seals by trigger, record when getPayload and gossip happen relative to the slot start, and count frozen-payload hints sent by the builder and dropped by the sequencer. * docs(runner): note the exported prefix of early-seal metrics * fix(sequencer): seal early when a hinted rebuild reuses the last sealed payload id Track the frozen hint on the payload handle so it cannot outlive its build, and treat a hint as having lost to the deadline only when it matches no active build. * refactor(sequencer): drop the gossip offset metric It stopped at the handoff to the network actor rather than the publish, so it added little over the getPayload offset. * feat(sequencer): record when each block build starts in its slot A Denim build reads the transaction pool once, after the build is requested, so this offset is the deadline for landing in that block. * fix(sequencer): measure slot start from the parent timestamp on the release branch The isolated-sequencer schedule delay that block_deadline applies on main is not on releases/v1.5.5. * test(sequencer): pin when early-seal offsets are taken Cover build starts recorded outside the ticker, assert the getPayload offset is taken before the request, and describe the build start offset as part of the searcher reaction window. * docs: restamp the runner README in the docs index * test(builder): stop deriving multiplex smoke timestamps from wall clock (#6455) Denim activated on mainnet, so the smoke test's wall-clock-based payload attributes became post-Denim attributes, which the engine rejects unless they carry the BaseTime update deposit at tx[1]. Anchor the build timestamp to the last legacy block slot before Denim activation instead: past every scheduled fork and still pre-Denim, so a single legacy block stays valid regardless of when the test runs. Amp-Thread-ID: https://ampcode.com/threads/T-09d6a81e-204d-45bb-a227-69764d686e37 Co-authored-by: Amp <[email protected]> (cherry picked from commit 407af44) --------- Co-authored-by: Julian Meyer <[email protected]> Co-authored-by: Amp <[email protected]>
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.
Failing check
CI / ci / Rustfailed on main ate4fd821:base-builder-multiplex::in_process_smoke::payload_builder_modes_match_flashblocks_baselinefailed deterministically (two attempts) with RPCServerError(-38003): "Invalid payload attributes"atcrates/builder/multiplex/tests/in_process_smoke.rs:147.Root cause
Denim activated on Base mainnet at timestamp
1_793_901_600(Nov 5, 2026 18:00 UTC). The smoke test derived its payload-attribute timestamp frommax(parent + 2s, wall clock + 2s), so once wall-clock time crossed Denim activation, every run produced post-Denim attributes. Post-Denim, the engine'svalidate_payload_attributes_against_headerrequires aBaseTimeUpdateTxdeposit attx[1](crates/execution/node/src/engine.rs), and the test sends empty transactions — hence-38003on every attempt. This is why CI passed onabdd59e0(built before 18:00 UTC) and failed one4fd821(built after).The engine behavior is correct and already unit-tested (
test_payload_attributes_post_denim_require_base_time_transaction); the smoke test was authored with pre-Denim assumptions.Fix
Anchor the build timestamp to the last legacy block slot before Denim activation (
denim_activation_timestamp - legacy_block_interval), derived fromBaseChainSpec::mainnet()'s schedule rather than hardcoded:The built blocks were previously compared across all four builder modes; that assertion is unchanged.
Verification
cargo test -p base-builder-multiplex --tests— 12/12 pass locally on the fix (the smoke test reproduces the-38003failure before it).