Fantom-foundation / Norma

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

puts network consistency check before shutdown #297

Open kjezek opened 20 hours ago

kjezek commented 20 hours ago

This PR updates when network consistency is executed.

It used to be executed at the end of scenario, but unfortunetly at that moment all dyanmic nodes are alreay shutdown. The only nodes still running are static validators.

This PR schedules consistency check as an event just before the end (1s) of execution. At this moment all nodes runnign till the end of experiment, are still active.

This change still misses nodes that were halted before end of scenario, we could consider adding an extra configuration to schedule the consistency check at any time.