Skip to content

bug: LatestBlock not usable on restart #995

@Dodecahedr0x

Description

@Dodecahedr0x

Report

The task scheduler uses LatestBlock to get the blockhash when sending transactions. On restart, it fetches previously scheduled tasks and immediately executes them if they are overdue.

However, this results in transactions failing with BlockhashNotFound. It appears that the LatestBlock blockhash is not properly loaded on restarts.

Commit / version

master

Environment

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions