Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tx expiration updates #2315

Merged
merged 7 commits into from
Dec 29, 2023
Merged

Tx expiration updates #2315

merged 7 commits into from
Dec 29, 2023

Conversation

grarco
Copy link
Collaborator

@grarco grarco commented Dec 19, 2023

Describe your changes

Addresses #1373 (comment).

Updates the expiration check on transactions to be done again on decrypted tx to catch txs that failed in between the two blocks execution process (especially useful in case of a chain halt + rollback).

Updates the MASP Vp to check expiration on the masp Transaction object and modifies the SDK to derive a sane value for this expiration.

Indicate on which release or other PRs this topic is based on

Commit 74d412e of base (v0.28.1)

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@grarco grarco force-pushed the grarco/tx-expiration-update branch from 6d31c71 to bb9d013 Compare December 19, 2023 18:48
@grarco grarco marked this pull request as ready for review December 20, 2023 10:43
@grarco grarco requested a review from tzemanovic December 20, 2023 10:43
@grarco grarco mentioned this pull request Dec 22, 2023
brentstone added a commit that referenced this pull request Dec 29, 2023
* origin/grarco/tx-expiration-update:
  Updates masp fixtures
  Changelog #2315
  Updates masp tx generation to include expiration
  MASP vp expiration always required
  MASP vp checks transaction's expiration
  Updates TODO for disposable signer
  Validates tx expiration again for decrypted tx
@brentstone brentstone merged commit 8c02f9b into main Dec 29, 2023
14 of 15 checks passed
@brentstone brentstone deleted the grarco/tx-expiration-update branch December 29, 2023 19:37
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.

3 participants