Add Batch messages from processor, verify Batchs published on-chain

Renames Update to SignedBatch.

Checks Batch equality via a hash of the InInstructions. That prevents needing
to keep the Batch in node state or TX introspect.
This commit is contained in:
Luke Parker
2023-09-29 03:51:01 -04:00
parent 0be567ff69
commit 0eff3d9453
18 changed files with 281 additions and 80 deletions

2
Cargo.lock generated
View File

@@ -8137,6 +8137,7 @@ name = "serai-client"
version = "0.1.0"
dependencies = [
"bitcoin",
"blake2",
"ciphersuite",
"frost-schnorrkel",
"futures",
@@ -8262,6 +8263,7 @@ dependencies = [
"serai-validator-sets-pallet",
"sp-application-crypto",
"sp-core",
"sp-io",
"sp-runtime",
"thiserror",
]