Implement tendermint_machine::Block for Substrate Blocks

Unfortunately, this immediately makes Tendermint machine capable of 
deployment as  crate since it uses a git reference. In the future, a 
Cargo.toml patch section for serai/substrate should be investigated. 
This is being done regardless as it's the quickest way forward and this 
is for Serai.
This commit is contained in:
Luke Parker
2022-10-21 02:06:48 -04:00
parent 280683142a
commit 5c46edbe98
4 changed files with 15 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ sp-api = { git = "https://github.com/serai-dex/substrate" }
sp-consensus = { git = "https://github.com/serai-dex/substrate" }
sc-consensus = { git = "https://github.com/serai-dex/substrate" }
tendermint-machine = { path = "../tendermint" }
tendermint-machine = { path = "../tendermint", features = ["substrate"] }
# --