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

AEIP21-P2: Filter the UTXOs persisted in the validation stamp #1422

Merged

Conversation

bchamagne
Copy link
Member

@bchamagne bchamagne commented Feb 8, 2024

Description

Only keeps the utxos modified by current transaction in the validation_stamp.ledger_operations

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Unit tests

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@bchamagne bchamagne added feature New feature request DB Involve database replication AEIP labels Feb 8, 2024
@bchamagne bchamagne added this to the AEIP-21: Phase2 milestone Feb 8, 2024
@bchamagne bchamagne linked an issue Feb 9, 2024 that may be closed by this pull request
@Neylix Neylix deleted the branch archethic-foundation:AEIP-21-P2 February 21, 2024 14:20
@Neylix Neylix closed this Feb 21, 2024
@Neylix Neylix reopened this Feb 21, 2024
@Neylix Neylix changed the base branch from AEIP-21-phase2 to develop February 21, 2024 14:29
@Neylix Neylix changed the base branch from develop to AEIP-21-P2 February 22, 2024 14:05
@Neylix Neylix merged commit 0fc13b3 into archethic-foundation:AEIP-21-P2 Feb 22, 2024
2 checks passed
Neylix added a commit that referenced this pull request Feb 23, 2024
* modify the tests of consume_inputs to behave as phase2 should behave

* consume_inputs only keeps the modified utxos in the ledger_operation

* lint

* Simplify new tokens utxos algorithm

---------

Co-authored-by: Neylix <julien.leclerc05@protonmail.com>
Neylix added a commit that referenced this pull request Mar 7, 2024
* modify the tests of consume_inputs to behave as phase2 should behave

* consume_inputs only keeps the modified utxos in the ledger_operation

* lint

* Simplify new tokens utxos algorithm

---------

Co-authored-by: Neylix <julien.leclerc05@protonmail.com>
Neylix added a commit that referenced this pull request Mar 7, 2024
* modify the tests of consume_inputs to behave as phase2 should behave

* consume_inputs only keeps the modified utxos in the ledger_operation

* lint

* Simplify new tokens utxos algorithm

---------

Co-authored-by: Neylix <julien.leclerc05@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AEIP DB Involve database feature New feature request replication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants