mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
Provide a way to create the machine
The BasicQueue returned obscures the TendermintImport struct. Accordingly, a Future scoped with access is returned upwards, which when awaited will create the machine. This makes creating the machine optional while maintaining scope boundaries. Is sufficient to create a 1-node net which produces and finalizes blocks.
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -7387,6 +7387,7 @@ name = "serai-consensus"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"futures",
|
||||
"log",
|
||||
"sc-basic-authorship",
|
||||
"sc-client-api",
|
||||
|
||||
Reference in New Issue
Block a user