Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 7a1a089

Browse files
committed
Use heapless entrypoint
1 parent d13eb1f commit 7a1a089

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ license = "Apache-2.0"
1515
repository = "https://github.com/febo/token"
1616

1717
[workspace.dependencies]
18-
pinocchio = { git = "https://github.com/febo/pinocchio.git", branch = "crate-features" }
19-
pinocchio-log = { git = "https://github.com/febo/pinocchio.git", branch = "crate-features" }
20-
pinocchio-pubkey = { git = "https://github.com/febo/pinocchio.git", branch = "crate-features" }
18+
pinocchio = { git = "https://github.com/febo/pinocchio.git", branch = "febo/program-entrypoint" }
19+
pinocchio-log = { git = "https://github.com/febo/pinocchio.git", branch = "febo/program-entrypoint" }
20+
pinocchio-pubkey = { git = "https://github.com/febo/pinocchio.git", branch = "febo/program-entrypoint" }

program/src/entrypoint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use pinocchio::{
2-
account_info::AccountInfo, entrypoint, program_error::ProgramError, pubkey::Pubkey,
2+
account_info::AccountInfo, heapless_entrypoint, program_error::ProgramError, pubkey::Pubkey,
33
ProgramResult,
44
};
55

66
use crate::processor::*;
77

8-
entrypoint!(process_instruction);
8+
heapless_entrypoint!(process_instruction);
99

1010
/// Process an instruction.
1111
///

0 commit comments

Comments
 (0)