Skip to content

Conversation

@ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Jan 24, 2026

Removes sae.VM.Init() and places all initialisation logic into sae.NewVM(), which is expected to be called inside the Initialize() method of the harness (in this case, sae.SinceGenesis). To facilitate this, the MarkExecuted() setup of synchronous blocks, originally only in saetest.NewGenesis() is now placed into MarkSynchronous().

The change to gastime.New() to accept a time.Time is necessary to support MarkSynchronous() on blocks with non-zero sub-second time.

@ARR4N ARR4N marked this pull request as ready for review January 26, 2026 10:18
@ARR4N ARR4N requested a review from StephenButtolph January 29, 2026 15:35
@ARR4N ARR4N merged commit 0e35b6e into main Jan 29, 2026
17 checks passed
@ARR4N ARR4N deleted the arr4n/initialize branch January 29, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants