Various simplifications re: Serai transactions

Removes PairSigner for the pair directly.

Resets spec_version to 1.

Defines the extrinsic without its length prefix, only prefixing during publish.
This commit is contained in:
Luke Parker
2023-11-22 23:44:24 -05:00
parent c6cf33e370
commit 372149c2cc
9 changed files with 36 additions and 67 deletions

View File

@@ -88,8 +88,7 @@ pub mod opaque {
pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("serai"),
impl_name: create_runtime_str!("core"),
// TODO: 1? Do we prefer some level of compatibility or our own path?
spec_version: 100,
spec_version: 1,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,