Closed rpl-ffl closed 4 weeks ago
Currently, genesis import/export event is created arbitrarily even though ordering of events matter. For example,
Thus, the current code does not work: https://github.com/Fantom-foundation/Norma/blob/f4f77e74f7479f0111424a4aedc795f38b235560/driver/executor/executor.go#L217-L236 And must be modified so that appropriate order of events is followed.
Out of the box, the executor executes whatever SimEvent is created first. This may be sufficient short-term. However, successor events is already built into the executor and this might be a cleaner approach to ordering the genesis events.
https://github.com/Fantom-foundation/Norma/blob/f4f77e74f7479f0111424a4aedc795f38b235560/driver/executor/executor.go#L86
Currently, genesis import/export event is created arbitrarily even though ordering of events matter. For example,
Thus, the current code does not work: https://github.com/Fantom-foundation/Norma/blob/f4f77e74f7479f0111424a4aedc795f38b235560/driver/executor/executor.go#L217-L236 And must be modified so that appropriate order of events is followed.
Out of the box, the executor executes whatever SimEvent is created first. This may be sufficient short-term. However, successor events is already built into the executor and this might be a cleaner approach to ordering the genesis events.
https://github.com/Fantom-foundation/Norma/blob/f4f77e74f7479f0111424a4aedc795f38b235560/driver/executor/executor.go#L86