From b5205190d562fb483bb61eeeacbeb24b7ff1f1a0 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Fri, 25 Oct 2024 20:26:46 -0400 Subject: [PATCH] Simplify some patches --- third-party/patches/example-helloworld.patch | 2 +- third-party/patches/solana_rbpf.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/third-party/patches/example-helloworld.patch b/third-party/patches/example-helloworld.patch index 06ed9ae6..01d28227 100644 --- a/third-party/patches/example-helloworld.patch +++ b/third-party/patches/example-helloworld.patch @@ -24,7 +24,7 @@ index 88714a8..026b733 100644 @@ -19,8 +19,108 @@ pub struct GreetingAccount { entrypoint!(process_instruction); -+#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)] ++#[derive(Clone, serde::Deserialize, serde::Serialize)] +struct AccountInfoElem { + key: Pubkey, + is_signer: bool, diff --git a/third-party/patches/solana_rbpf.patch b/third-party/patches/solana_rbpf.patch index 1fd64e82..530c6dfa 100644 --- a/third-party/patches/solana_rbpf.patch +++ b/third-party/patches/solana_rbpf.patch @@ -36,7 +36,7 @@ index dbd876f..ee28197 100644 @@ -67,4 +67,85 @@ pub struct MemoryRegion { } -+#[derive(Debug, serde::Deserialize, serde::Serialize)] ++#[derive(serde::Deserialize, serde::Serialize)] +struct SerializableMemoryRegion { + pub host_mem_seed: Option, + pub vm_addr: u64,