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

The IDE ledger produces malformed disclosures #20162

Open
paulbrauner-da opened this issue Oct 23, 2024 · 1 comment
Open

The IDE ledger produces malformed disclosures #20162

paulbrauner-da opened this issue Oct 23, 2024 · 1 comment
Assignees
Labels

Comments

@paulbrauner-da
Copy link
Contributor

The IDE ledger stores enriched transactions (e.g. with trailing Nones) in its in-memory store. Disclosures produced by the IDE ledger are a direct translation of the create nodes of these enriched transaction and thus are not in normal form. Disclosures are expected to always be in normal form and thus these disclosures are unusable.

The right fix is probably to enrich transactions on demand instead of storing them enriched in the in-memory store. Alternatively, or as a quick fix, we could normalize the create nodes before translating them to disclosures.

@paulbrauner-da
Copy link
Contributor Author

Here's an implementation of the quick fix, for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant