From ef366311ba8d339d4f6bbc3e6397240fe74180bc Mon Sep 17 00:00:00 2001 From: Artem Gureev Date: Wed, 19 Aug 2026 16:14:11 +0000 Subject: [PATCH] test(lez): drop no-op word-flatten from sequencer ping_payload --- lez/sequencer/core/src/tests.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lez/sequencer/core/src/tests.rs b/lez/sequencer/core/src/tests.rs index 5c20e441c..ac3e291dd 100644 --- a/lez/sequencer/core/src/tests.rs +++ b/lez/sequencer/core/src/tests.rs @@ -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 { 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