mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-08-24 22:29:22 +00:00
fix: serialize write_inputs fields separately to match guest deserialization
This commit is contained in:
@@ -19,6 +19,7 @@ fn main() {
|
||||
// Read inputs
|
||||
let (
|
||||
ProgramInput {
|
||||
self_program_id: _,
|
||||
pre_states,
|
||||
instruction: greeting,
|
||||
},
|
||||
|
||||
@@ -19,6 +19,7 @@ fn main() {
|
||||
// Read inputs
|
||||
let (
|
||||
ProgramInput {
|
||||
self_program_id: _,
|
||||
pre_states,
|
||||
instruction: greeting,
|
||||
},
|
||||
|
||||
@@ -66,6 +66,7 @@ fn main() {
|
||||
// Read input accounts.
|
||||
let (
|
||||
ProgramInput {
|
||||
self_program_id: _,
|
||||
pre_states,
|
||||
instruction: (function_id, data),
|
||||
},
|
||||
|
||||
@@ -27,6 +27,7 @@ fn main() {
|
||||
// Read inputs
|
||||
let (
|
||||
ProgramInput {
|
||||
self_program_id: _,
|
||||
pre_states,
|
||||
instruction: (),
|
||||
},
|
||||
|
||||
@@ -33,6 +33,7 @@ fn main() {
|
||||
// Read inputs
|
||||
let (
|
||||
ProgramInput {
|
||||
self_program_id: _,
|
||||
pre_states,
|
||||
instruction: (),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user