Fantom-foundation / Norma

Integration project of Carmen and Tosca
GNU Lesser General Public License v3.0
2 stars 9 forks source link

[Feature] Support Events/Genesis Export #281

Closed rpl-ffl closed 3 days ago

rpl-ffl commented 1 week ago

Norma now supports export of events/genesis file at the end of the run.

Example scenario:

duration: 60
num_validators: 2

nodes:
  - name: observer
    end: 30
    event:
      export: out.e
    genesis:
      exportfinal: out.g

<applications>

results in genesis file out.g and event file out.e under the folder <output directory>/observer-0.

rpl-ffl commented 1 week ago

Add to LaScala the accompanying test pipeline https://github.com/Fantom-foundation/LaScala/pull/222

rpl-ffl commented 1 week ago
  1. export of genesis - functionality in the node + tests only
  2. export of the events - the same
  3. introduction (fix) of nodes graceful shutdown
  4. configuration of export
  5. put everything together in a runnable scenario

Putting this as draft while breaking down into smaller PRs.