Skip to content

Commit

Permalink
Simplify some patches
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 27, 2024
1 parent a410902 commit b520519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion third-party/patches/example-helloworld.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion third-party/patches/solana_rbpf.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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<u64>,
+ pub vm_addr: u64,
Expand Down

0 comments on commit b520519

Please sign in to comment.