mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-25 03:11:21 +00:00
Adds tests for the remaining execute_deploy failure modes (invalid bytecode, wrong target account, wrong number of accounts) and a generic chained_call_forwarder test guest to exercise Deploy invoked via a chained call rather than only top-level. The chained-call test is #[ignore]d: it surfaces a real limitation, not a bug in the test. The forwarding program has to carry the deployed bytecode through its own instruction_data to build the chained call, which blows the interpreted 32M-cycle public-execution cap for any realistically-sized program — the native Deploy fast-path only covers the loader's own execution, not the caller's. Root cause is ChainedCall/Message still referencing programs by ProgramId rather than AccountId, which also means dispatch can't locate a Deploy-created (PDA-addressed) program at all. Tracked for marvin/program-as-account-3-1.