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

@@ -20,7 +20,7 @@ use serai_client::{
primitives::{InInstruction, InInstructionWithBalance, Batch},
},
coins::{primitives::OutInstruction, CoinsEvent},
PairSigner, Serai, SeraiCoins,
Serai, SeraiCoins,
};
mod common;
@@ -91,7 +91,7 @@ serai_test!(
serai,
&serai
.sign(
&PairSigner::new(pair),
&pair,
&SeraiCoins::burn_with_instruction(instruction.clone()),
0,
Default::default(),