Skip to content

Improve scheduler task conversion logic #73

@x3c41a

Description

@x3c41a

This issue is intended to track the implementation of scheduler's conversion logic in Typescript.
I'll come back to it once I finish the orchestration script.
Also, I need an answer on #72 to be able to finish the tests.

The Typescript and Rust implementations currently differ. The Rust logic relies on multiple internal types defined throughout the codebase, which are not recognized by TypeScript. At the moment, Rust test framework does a few conversions of scheduler.agenda.tasks using those types and helper functions.
For now I decided to replace complex RC to AH conversion logic with a simple toJson() on the original struct - #64

Work left to be done:

  • getTaskCallEncodings is translated
  • rust origin conversion - link
  • rust encoded_call conversion - link

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions