Skip to content

bug: LatestBlock not usable on restart #995

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

P1High prioritybugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions