From 9781206d7cb0929644813d732c9cb038adc69d17 Mon Sep 17 00:00:00 2001 From: skosito Date: Fri, 4 Oct 2024 19:01:03 +0200 Subject: [PATCH] one more comment --- programs/protocol-contracts-solana/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/protocol-contracts-solana/src/lib.rs b/programs/protocol-contracts-solana/src/lib.rs index c284c6b..ccc95f2 100644 --- a/programs/protocol-contracts-solana/src/lib.rs +++ b/programs/protocol-contracts-solana/src/lib.rs @@ -350,6 +350,7 @@ pub mod gateway { data: instruction_data, }; + // NOTE: one more point is that we are doing arbitrary CPI here without checks about target program, which should be fine if we dont send any accounts, but if we decide to send, might be a problem invoke( &ix, &[],