Remove TX_VERSION from substrate/client, as CheckTxVersion was removed from the runtime

b892b0122e for reasoning.
This commit is contained in:
Luke Parker 2023-12-05 02:38:50 -05:00
parent f03ca53509
commit 08adb3a199
No known key found for this signature in database
2 changed files with 0 additions and 3 deletions
substrate
abi/src
client/src/serai

View file

@ -65,7 +65,6 @@ pub struct Extra {
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct SignedPayloadExtra {
pub spec_version: u32,
pub tx_version: u32,
pub genesis: [u8; 32],
pub mortality_checkpoint: [u8; 32],
}

View file

@ -167,7 +167,6 @@ impl Serai {
pub fn sign(&self, signer: &Pair, call: Call, nonce: u32, tip: u64) -> Transaction {
const SPEC_VERSION: u32 = 1;
const TX_VERSION: u32 = 1;
let extra =
Extra { era: sp_runtime::generic::Era::Immortal, nonce: Compact(nonce), tip: Compact(tip) };
@ -176,7 +175,6 @@ impl Serai {
&extra,
SignedPayloadExtra {
spec_version: SPEC_VERSION,
tx_version: TX_VERSION,
genesis: self.genesis,
mortality_checkpoint: self.genesis,
},