Skip to content

Conversation

@golddydev
Copy link
Collaborator

@golddydev golddydev commented Dec 1, 2025

Description

This PR implements transaction phase 1 validation rule: UTxO rule for Shelley Era.
And integrate this validation into tx_unpacker module and validate transactions for only Shelley era.

Related Issue(s)

Related to #329

How was this tested?

  • Added test cases for each UTxO rule
cargo test --package acropolis_module_tx_unpacker --lib -- validations::shelley::utxo::tests::shelley_test --nocapture 
  • Integration tests
    Integrate validation to omnibus process, and every transaction from mithril snapshot passed.

Checklist

  • My code builds and passes local tests
  • I added/updated tests for my changes, where applicable
  • I updated documentation (if applicable)
  • CI is green for this PR

Impact / Side effects

This may affect the tx_unpacker module and its downstream modules, because we do validate transactions before applying and publishing messages.

Reviewer notes / Areas to focus

tx_unpacker/validations/shelley/utxo.rs

  • ValueNotConservedUTxO , UpdateFailure rules will be implemented by following PRs.
  • OutputBootAddrAttrsTooBig: For now, we only store raw payload for byron address, should we decode all byron addresses and validate this rule?

shd and others added 28 commits November 5, 2025 01:00
…d test cases for validate ttl function with invalid transaction cbor
@golddydev golddydev marked this pull request as ready for review December 1, 2025 14:55
@golddydev golddydev requested review from SupernaviX, lowhung and whankinsiv and removed request for whankinsiv December 1, 2025 15:06
@lowhung
Copy link
Collaborator

lowhung commented Dec 1, 2025

Would it be possible to break this PR up into smaller pieces? I don't know if I have the context window to review 41 files and 2k line changes 😓

@golddydev golddydev marked this pull request as draft December 2, 2025 22:44
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.

4 participants