mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-25 03:11:21 +00:00
chore(lee): retire stale risc0-serde comments and dead round-trip tests
This commit is contained in:
@@ -396,8 +396,7 @@ fn privacy_malicious_programs_cannot_drain_private_victim() {
|
||||
fn malicious_programs_cannot_drain_victim_without_signature() {
|
||||
// p2_id, simple_balance_transfer_id, victim_id_raw, victim_balance, victim_nonce,
|
||||
// victim_program_owner, recipient_id_raw, amount.
|
||||
// Primitives only — AccountId/Account cannot round-trip through instruction_data
|
||||
// via risc0_zkvm::serde (SerializeDisplay issue).
|
||||
// Primitives only — this instruction is borsh-encoded into instruction_data.
|
||||
type InjectorInstruction = (
|
||||
lee_core::program::ProgramId, // p2_id
|
||||
lee_core::program::ProgramId, // simple_balance_transfer_id
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use lee_core::program::{ChainedCall, ProgramId, ProgramInput, ProgramOutput, read_lee_inputs};
|
||||
|
||||
/// Instruction: (`auth_transfer_id`, `amount`) — both primitive, safe for `risc0_zkvm::serde`.
|
||||
/// Instruction: (`auth_transfer_id`, `amount`) — both primitive, borsh-encoded.
|
||||
type Instruction = (ProgramId, u128);
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in New Issue
Block a user