archethic-foundation / archethic-node

Official Archethic Blockchain node, written in Elixir
GNU Affero General Public License v3.0
75 stars 22 forks source link

Add the genesis address in the validation_stamp #1588

Closed bchamagne closed 3 days ago

bchamagne commented 3 weeks ago

Description

Added the genesis_address in the validation_stamp. It's written on disk only on IO transaction, because the chain storage is written in a file named by the genesis, so there's no point to duplicate the data there. There's a migration script to run on all legacy IOs

Fixes #1562

Type of change

How Has This Been Tested?

Updated the code to store every tx also as IO then run a release upgrade on 4 nodes. Chain & IO storage both returned the genesis address on legacy and new transactions

Checklist: