Skip to content

test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions#49

Merged
sh3ifu merged 2 commits into
multisig-R-I-01-tee-deadline-upper-bound-fixfrom
multisig-R-I-01-tee-deadline-upper-bound-tests
Jun 17, 2026
Merged

test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions#49
sh3ifu merged 2 commits into
multisig-R-I-01-tee-deadline-upper-bound-fixfrom
multisig-R-I-01-tee-deadline-upper-bound-tests

Conversation

@sh3ifu

@sh3ifu sh3ifu commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

R-I-01 — regression tests (UT-FIX-23)

Unit tests for the MAX_TEE_DEADLINE ceiling added to execute /
executeBatch in the fix PR.

Coverage

  • execute and executeBatch revert DeadlineTooFar when deadline > now + MAX_TEE_DEADLINE.
  • The exact boundary (now + MAX_TEE_DEADLINE) is accepted and fully executes
    (guard is a strict >).
  • Bound is read via proxy.MAX_TEE_DEADLINE(), so the tests don't hardcode the
    value.

…#51)

* fix(R-I-18): reject proposals with deadline shorter than the timelock

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions (#52)

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge (#55)

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions (#56)

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions

* fix(R-I-12): cap proof length in Bridge.fundsOut (#57)

* fix(R-I-12): cap proof length in Bridge.fundsOut

* test(R-I-12): proof length-cap regressions for fundsOut (#58)

* test(R-I-12): proof length-cap regressions for fundsOut

* fix(R-W-12): enforce strict-majority signer threshold floor (#60)

* fix(R-W-12): enforce strict-majority signer threshold floor

* test(R-W-12): strict-majority signer threshold regressions (#61)

* test(R-W-12): strict-majority signer threshold regressions

* fix(R-W-14): require disjoint enclave and federation signer sets (#62)

* fix(R-W-14): require disjoint enclave and federation signer sets

* test(R-W-14): disjoint signer-set regressions (#63)

* test(R-W-14): disjoint signer-set regressions

* fix(R-I-06): cap signer-set size at MAX_SIGNERS (#64)

* fix(R-I-06): cap signer-set size at MAX_SIGNERS

* test(R-I-06): signer-set size cap regressions (#65)
@sh3ifu sh3ifu merged commit c837176 into multisig-R-I-01-tee-deadline-upper-bound-fix Jun 17, 2026
2 checks passed
sh3ifu added a commit that referenced this pull request Jun 17, 2026
…INE (#48)

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions (#49)

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions

* fix(R-I-18): reject proposals with deadline shorter than the timelock (#51)

* fix(R-I-18): reject proposals with deadline shorter than the timelock

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions (#52)

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge (#55)

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions (#56)

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions

* fix(R-I-12): cap proof length in Bridge.fundsOut (#57)

* fix(R-I-12): cap proof length in Bridge.fundsOut

* test(R-I-12): proof length-cap regressions for fundsOut (#58)

* test(R-I-12): proof length-cap regressions for fundsOut

* fix(R-W-12): enforce strict-majority signer threshold floor (#60)

* fix(R-W-12): enforce strict-majority signer threshold floor

* test(R-W-12): strict-majority signer threshold regressions (#61)

* test(R-W-12): strict-majority signer threshold regressions

* fix(R-W-14): require disjoint enclave and federation signer sets (#62)

* fix(R-W-14): require disjoint enclave and federation signer sets

* test(R-W-14): disjoint signer-set regressions (#63)

* test(R-W-14): disjoint signer-set regressions

* fix(R-I-06): cap signer-set size at MAX_SIGNERS (#64)

* fix(R-I-06): cap signer-set size at MAX_SIGNERS

* test(R-I-06): signer-set size cap regressions (#65)
sh3ifu added a commit that referenced this pull request Jun 17, 2026
…ts (#47)

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE (#48)

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions (#49)

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions

* fix(R-I-18): reject proposals with deadline shorter than the timelock (#51)

* fix(R-I-18): reject proposals with deadline shorter than the timelock

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions (#52)

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge (#55)

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions (#56)

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions

* fix(R-I-12): cap proof length in Bridge.fundsOut (#57)

* fix(R-I-12): cap proof length in Bridge.fundsOut

* test(R-I-12): proof length-cap regressions for fundsOut (#58)

* test(R-I-12): proof length-cap regressions for fundsOut

* fix(R-W-12): enforce strict-majority signer threshold floor (#60)

* fix(R-W-12): enforce strict-majority signer threshold floor

* test(R-W-12): strict-majority signer threshold regressions (#61)

* test(R-W-12): strict-majority signer threshold regressions

* fix(R-W-14): require disjoint enclave and federation signer sets (#62)

* fix(R-W-14): require disjoint enclave and federation signer sets

* test(R-W-14): disjoint signer-set regressions (#63)

* test(R-W-14): disjoint signer-set regressions

* fix(R-I-06): cap signer-set size at MAX_SIGNERS (#64)

* fix(R-I-06): cap signer-set size at MAX_SIGNERS

* test(R-I-06): signer-set size cap regressions (#65)
sh3ifu added a commit that referenced this pull request Jun 17, 2026
…ns (#46)

* test(R-I-07,R-I-08): min fundsIn amount + zero-amount guard regressions

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts (#47)

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE (#48)

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions (#49)

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions

* fix(R-I-18): reject proposals with deadline shorter than the timelock (#51)

* fix(R-I-18): reject proposals with deadline shorter than the timelock

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions (#52)

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge (#55)

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions (#56)

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions

* fix(R-I-12): cap proof length in Bridge.fundsOut (#57)

* fix(R-I-12): cap proof length in Bridge.fundsOut

* test(R-I-12): proof length-cap regressions for fundsOut (#58)

* test(R-I-12): proof length-cap regressions for fundsOut

* fix(R-W-12): enforce strict-majority signer threshold floor (#60)

* fix(R-W-12): enforce strict-majority signer threshold floor

* test(R-W-12): strict-majority signer threshold regressions (#61)

* test(R-W-12): strict-majority signer threshold regressions

* fix(R-W-14): require disjoint enclave and federation signer sets (#62)

* fix(R-W-14): require disjoint enclave and federation signer sets

* test(R-W-14): disjoint signer-set regressions (#63)

* test(R-W-14): disjoint signer-set regressions

* fix(R-I-06): cap signer-set size at MAX_SIGNERS (#64)

* fix(R-I-06): cap signer-set size at MAX_SIGNERS

* test(R-I-06): signer-set size cap regressions (#65)
sh3ifu added a commit that referenced this pull request Jun 17, 2026
…mount fundsOut guard (#45)

* fix(R-I-07,R-I-08): enforce a non-zero minimum fundsIn amount; zero-amount fundsOut guard

* test(R-I-07,R-I-08): min fundsIn amount + zero-amount guard regressions (#46)

* test(R-I-07,R-I-08): min fundsIn amount + zero-amount guard regressions

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts (#47)

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE (#48)

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions (#49)

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions

* fix(R-I-18): reject proposals with deadline shorter than the timelock (#51)

* fix(R-I-18): reject proposals with deadline shorter than the timelock

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions (#52)

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge (#55)

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions (#56)

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions

* fix(R-I-12): cap proof length in Bridge.fundsOut (#57)

* fix(R-I-12): cap proof length in Bridge.fundsOut

* test(R-I-12): proof length-cap regressions for fundsOut (#58)

* test(R-I-12): proof length-cap regressions for fundsOut

* fix(R-W-12): enforce strict-majority signer threshold floor (#60)

* fix(R-W-12): enforce strict-majority signer threshold floor

* test(R-W-12): strict-majority signer threshold regressions (#61)

* test(R-W-12): strict-majority signer threshold regressions

* fix(R-W-14): require disjoint enclave and federation signer sets (#62)

* fix(R-W-14): require disjoint enclave and federation signer sets

* test(R-W-14): disjoint signer-set regressions (#63)

* test(R-W-14): disjoint signer-set regressions

* fix(R-I-06): cap signer-set size at MAX_SIGNERS (#64)

* fix(R-I-06): cap signer-set size at MAX_SIGNERS

* test(R-I-06): signer-set size cap regressions (#65)
sh3ifu added a commit that referenced this pull request Jun 17, 2026
#44)

* test(R-W-03): fee-shape invariant regression for CommissionManager setters

* fix(R-I-07,R-I-08): enforce a non-zero minimum fundsIn amount; zero-amount fundsOut guard (#45)

* fix(R-I-07,R-I-08): enforce a non-zero minimum fundsIn amount; zero-amount fundsOut guard

* test(R-I-07,R-I-08): min fundsIn amount + zero-amount guard regressions (#46)

* test(R-I-07,R-I-08): min fundsIn amount + zero-amount guard regressions

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts (#47)

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE (#48)

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions (#49)

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions

* fix(R-I-18): reject proposals with deadline shorter than the timelock (#51)

* fix(R-I-18): reject proposals with deadline shorter than the timelock

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions (#52)

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge (#55)

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions (#56)

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions

* fix(R-I-12): cap proof length in Bridge.fundsOut (#57)

* fix(R-I-12): cap proof length in Bridge.fundsOut

* test(R-I-12): proof length-cap regressions for fundsOut (#58)

* test(R-I-12): proof length-cap regressions for fundsOut

* fix(R-W-12): enforce strict-majority signer threshold floor (#60)

* fix(R-W-12): enforce strict-majority signer threshold floor

* test(R-W-12): strict-majority signer threshold regressions (#61)

* test(R-W-12): strict-majority signer threshold regressions

* fix(R-W-14): require disjoint enclave and federation signer sets (#62)

* fix(R-W-14): require disjoint enclave and federation signer sets

* test(R-W-14): disjoint signer-set regressions (#63)

* test(R-W-14): disjoint signer-set regressions

* fix(R-I-06): cap signer-set size at MAX_SIGNERS (#64)

* fix(R-I-06): cap signer-set size at MAX_SIGNERS

* test(R-I-06): signer-set size cap regressions (#65)
sh3ifu added a commit that referenced this pull request Jun 17, 2026
… time (#43)

* fix(R-W-03): reject stablePercent > multiplier^2 at commission config time

* test(R-W-03): fee-shape invariant regression for CommissionManager se… (#44)

* test(R-W-03): fee-shape invariant regression for CommissionManager setters

* fix(R-I-07,R-I-08): enforce a non-zero minimum fundsIn amount; zero-amount fundsOut guard (#45)

* fix(R-I-07,R-I-08): enforce a non-zero minimum fundsIn amount; zero-amount fundsOut guard

* test(R-I-07,R-I-08): min fundsIn amount + zero-amount guard regressions (#46)

* test(R-I-07,R-I-08): min fundsIn amount + zero-amount guard regressions

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts (#47)

* chore(R-I-07,R-I-08): pass minFundsInAmount to Bridge in deploy scripts

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE (#48)

* fix(R-I-01): bound TEE execute/executeBatch deadline to MAX_TEE_DEADLINE

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions (#49)

* test(R-I-01): TEE execute/executeBatch deadline upper-bound regressions

* fix(R-I-18): reject proposals with deadline shorter than the timelock (#51)

* fix(R-I-18): reject proposals with deadline shorter than the timelock

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions (#52)

* test(R-I-18): proposal deadline-vs-timelock lower-bound regressions

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge (#55)

* fix(R-I-11): cap destinationAddress / sourceAddress length in Bridge

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions (#56)

* test(R-I-11): destinationAddress / sourceAddress length-cap regressions

* fix(R-I-12): cap proof length in Bridge.fundsOut (#57)

* fix(R-I-12): cap proof length in Bridge.fundsOut

* test(R-I-12): proof length-cap regressions for fundsOut (#58)

* test(R-I-12): proof length-cap regressions for fundsOut

* fix(R-W-12): enforce strict-majority signer threshold floor (#60)

* fix(R-W-12): enforce strict-majority signer threshold floor

* test(R-W-12): strict-majority signer threshold regressions (#61)

* test(R-W-12): strict-majority signer threshold regressions

* fix(R-W-14): require disjoint enclave and federation signer sets (#62)

* fix(R-W-14): require disjoint enclave and federation signer sets

* test(R-W-14): disjoint signer-set regressions (#63)

* test(R-W-14): disjoint signer-set regressions

* fix(R-I-06): cap signer-set size at MAX_SIGNERS (#64)

* fix(R-I-06): cap signer-set size at MAX_SIGNERS

* test(R-I-06): signer-set size cap regressions (#65)
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.

2 participants