IntersectMBO / IntersectMBO/cardano-ledger

Upstream tx size-ish checks from Consensus

Open
#4,820 0 comments 0 reactions 0 assignees View on GitHub
:handshake: consensus
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

Since https://github.com/IntersectMBO/ouroboros-consensus/pull/1175, the Mempool needs to be able to run all size-related checks (tx byte size, execution units, ref scripts) separately from (namely before) regular tx validation. Currently, this logic is implemented in Consensus (in [`Ouroboros.Consensus.Shelley.Ledger.Mempool`](https://github.com/IntersectMBO/ouroboros-consensus/blob/main/ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Ledger/Mempool.hs#L22-L24), but this rather belongs into the Ledger, where it can be shared with the regular tx validation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.