Skip to content

Test Leios endorser-block packing limits - #3857

Merged
mkoura merged 2 commits into
masterfrom
test/leios-eb-limits
Nov 16, 2026
Merged

mkoura merged 2 commits into
masterfrom
test/leios-eb-limits

Conversation

@mkoura

@mkoura mkoura commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Test reference bytes, closure bytes, execution memory and steps, and reference-script bytes using exact forged-EB transaction references and independently binding budgets.
  • Check startup acceptance at the wire limit and node failure with the expected diagnostic above it.
  • Share compatible scenarios as subtests across three disposable cluster configurations.
  • Wait for active committee quorum, disable generators through instance-local shell_env, and require cleanup/respin afterwards.

Coverage targets honest producer packing, not malicious-EB validation.

Testing

  • make lint passed.
  • Earlier implementation: packing and startup cases passed twice; delayed committee activation passed a targeted hard-fork run.
  • Final shared-setup and shell_env refactor remains E2E-unverified: repeats were canceled by a server restart.

Add isolated cases for reference bytes, closure bytes, execution
memory and steps, and reference-script bytes. Correlate forged EB
entries with known transactions and require a full boundary EB while
keeping other packing dimensions non-binding.

Wait for active keyed committee weight to reach quorum before
submitting workloads, with a bounded epoch budget. Test startup at
the wire limit and direct node failure one byte above it. Skip the
peerless startup case when an on-chain hard fork is required.

Baseline packing and startup cases passed twice. The final readiness
check passed a targeted governance-hard-fork run. Lint passes.
Group compatible packing scenarios into subtests using three cluster
configurations. Share execution and reference-script cases, and run
the wire startup guard alongside the closure-cap case.

Disable generators through each disposable instance's shell_env hook,
verify isolation, and retain cleanup so subsequent tests get a respin.
Restore the original Leios workflow instead of using a separate job.

Lint passes. Refactored E2E repeats were cancelled by a server restart
and remain unverified.
@mkoura
mkoura requested a review from saratomaz as a code owner November 16, 2026 17:03
@mkoura
mkoura merged commit 987a43a into master Nov 16, 2026
3 checks passed
@mkoura
mkoura deleted the test/leios-eb-limits branch November 16, 2026 17:09
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