mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-25 03:11:21 +00:00
test(lez): drop no-op word-flatten from sequencer ping_payload
This commit is contained in:
@@ -260,16 +260,13 @@ fn cross_zone_test_config() -> SequencerConfig {
|
||||
}
|
||||
}
|
||||
|
||||
/// A `ping_receiver::Record` instruction as risc0 words, little-endian: the wire
|
||||
/// form an emitter on the peer zone puts in the message payload.
|
||||
/// A `ping_receiver::Record` instruction: the wire form an emitter on the peer
|
||||
/// zone puts in the message payload.
|
||||
fn ping_payload(payload: &[u8]) -> Vec<u8> {
|
||||
borsh::to_vec(&ReceiverInstruction::Record {
|
||||
payload: payload.to_vec(),
|
||||
})
|
||||
.expect("ping instruction serializes")
|
||||
.iter()
|
||||
.flat_map(|word| word.to_le_bytes())
|
||||
.collect()
|
||||
}
|
||||
|
||||
/// The dispatch transaction for a message at index 0 of [`PEER_ZONE`] block
|
||||
|
||||
Reference in New Issue
Block a user