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

Add migration script for version 1.4.8 #1417

Merged

Conversation

Neylix
Copy link
Member

@Neylix Neylix commented Feb 5, 2024

Description

Add migration script to fill new UTXO genesis table and DB

The missing part is that we don't store the io transaction of all the chain history, but is it necessary ?

Fixes #1403

Type of change

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

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

@Neylix Neylix added AEIP release Involve release / hot reload mecanism labels Feb 5, 2024
@Neylix Neylix linked an issue Feb 6, 2024 that may be closed by this pull request
@Neylix Neylix linked an issue Feb 6, 2024 that may be closed by this pull request
@samuelmanzanera samuelmanzanera merged commit ccb5fa0 into archethic-foundation:AEIP-21 Feb 8, 2024
1 check passed
@Neylix Neylix deleted the Migration-1.4.8 branch February 8, 2024 13:43
Neylix added a commit that referenced this pull request Feb 12, 2024
* Add migration script for version 1.4.8

* Delete utxo state before inserting, add Logger

* Simplify utxo ingestion

* Fix unspent ouput casting
Neylix added a commit that referenced this pull request Feb 21, 2024
* Add migration script for version 1.4.8

* Delete utxo state before inserting, add Logger

* Simplify utxo ingestion

* Fix unspent ouput casting
Neylix added a commit that referenced this pull request Feb 21, 2024
* Add migration script for version 1.4.8

* Delete utxo state before inserting, add Logger

* Simplify utxo ingestion

* Fix unspent ouput casting
Neylix added a commit that referenced this pull request Mar 6, 2024
* Add migration script for version 1.4.8

* Delete utxo state before inserting, add Logger

* Simplify utxo ingestion

* Fix unspent ouput casting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AEIP release Involve release / hot reload mecanism
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AEIP-21: Migrate unspent outputs to new UTXO DB
3 participants