Skip to content

Conversation

letypequividelespoubelles
Copy link
Collaborator

@letypequividelespoubelles letypequividelespoubelles commented Oct 9, 2025

Note

Add constraints to flag illegal precompile usage and enforce binary transaction-end indicators.

  • Constraints:
    • Add hub/osaka/constraints/forced_transactions.lisp:
      • illegal-precompiles computed from PEEK_AT_SCENARIO and scenario/PRC_RIPEMD-160 + scenario/PRC_BLAKE2f.
      • New columns: PROVER_ILLEGAL_TRANSACTION_DETECTED_ACC (:i16 :fwd) and PROVER_ILLEGAL_TRANSACTION_DETECTED (:binary :bwd) with finalization using system-txn-numbers---user-txn-end.
  • System transaction numbers:
    • Wrap system-txn-numbers---{sysi,sysf,user}-txn-end and aggregate system-txn-numbers---txn-end with force-bin to ensure binary signals.

Written by Cursor Bugbot for commit 4eb0fef. This will update automatically on new commits. Configure here.

Signed-off-by: F Bojarski <[email protected]>
@letypequividelespoubelles letypequividelespoubelles linked an issue Oct 9, 2025 that may be closed by this pull request
cursor[bot]

This comment was marked as outdated.

Signed-off-by: F Bojarski <[email protected]>
cursor[bot]

This comment was marked as outdated.

Signed-off-by: F Bojarski <[email protected]>
cursor[bot]

This comment was marked as outdated.

Copy link
Collaborator

@OlivierBBB OlivierBBB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this not need a constraint initializing PROVER_ILLEGAL_TRANSACTION_DETECTED_ACC to 0 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, it's 0 on no-user row, and on user row it's the previous one + the flag, so it's implicitely forced to start at 0 at the begining on USER row

@letypequividelespoubelles letypequividelespoubelles merged commit 9caf2a0 into master Oct 23, 2025
6 checks passed
@letypequividelespoubelles letypequividelespoubelles deleted the 797-feat-forced-transaction branch October 23, 2025 03:52
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.

feat: forced transaction

2 participants