Skip to content

Commit 76797df

Browse files
committed
fix simtests
1 parent ba6604f commit 76797df

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

parachain/simtests/src/hyperbridge_client.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async fn test_will_accept_paid_requests() -> Result<(), anyhow::Error> {
151151
let height = StateMachineHeight {
152152
id: StateMachineId {
153153
state_id: StateMachine::Kusama(para_id).into(),
154-
consensus_state_id: *b"PARA",
154+
consensus_state_id: *b"PAS0",
155155
},
156156
height: 200,
157157
};
@@ -338,7 +338,7 @@ async fn test_will_reject_unpaid_requests() -> Result<(), anyhow::Error> {
338338
let height = StateMachineHeight {
339339
id: StateMachineId {
340340
state_id: StateMachine::Kusama(para_id).into(),
341-
consensus_state_id: *b"PARA",
341+
consensus_state_id: *b"PAS0",
342342
},
343343
height: 200,
344344
};
@@ -521,7 +521,7 @@ async fn test_will_reject_partially_paid_requests() -> Result<(), anyhow::Error>
521521
let height = StateMachineHeight {
522522
id: StateMachineId {
523523
state_id: StateMachine::Kusama(para_id).into(),
524-
consensus_state_id: *b"PARA",
524+
consensus_state_id: *b"PAS0",
525525
},
526526
height: 200,
527527
};

parachain/simtests/src/pallet_ismp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ async fn test_txpool_should_reject_duplicate_requests() -> Result<(), anyhow::Er
161161
let height = StateMachineHeight {
162162
id: StateMachineId {
163163
state_id: StateMachine::Kusama(para_id).into(),
164-
consensus_state_id: *b"PARA",
164+
consensus_state_id: *b"PAS0",
165165
},
166166
height: 200,
167167
};

tesseract/substrate/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ where
133133
let signer = sr25519::Pair::from_seed_slice(&bytes)?;
134134
let mut consensus_state_id: ConsensusStateId = Default::default();
135135
consensus_state_id
136-
.copy_from_slice(config.consensus_state_id.clone().unwrap_or("PARA".into()).as_bytes());
136+
.copy_from_slice(config.consensus_state_id.clone().unwrap_or("DOT0".into()).as_bytes());
137137
let address = signer.public().0.to_vec();
138138
Ok(Self {
139139
client,

0 commit comments

Comments
 (0)