Skip to content

tests(ethexe/processor): test that txs, events, and tasks are processed in deterministic order #5251

@playX18

Description

@playX18

Problem to Solve

Right now there is no test that they are processed in some concrete order. It would be nice to have one to ensure stability of ethexe processing.

Possible Solution

Write a test that implements a WAT program with wait_for(1) in handle(). The test first forces program to wait, then sends txs + wake and we verify that txs are processed first, and wake is processed second and then queues are processed third (by sending reply after wake)

Notes

No response

Metadata

Metadata

Assignees

Labels

D4-testAutotests, and examplesD8-ethexeethexe-related PR

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions