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

Commit 1b83731

Browse files
committed
Use git dependencies
1 parent 7b7c112 commit 1b83731

File tree

4 files changed

+13
-17
lines changed

4 files changed

+13
-17
lines changed

Cargo.lock

Lines changed: 5 additions & 10 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 = "0.7.0"
19-
pinocchio-log = "0.3.0"
20-
pinocchio-pubkey = "0.2.2"
18+
pinocchio = { version = "0.7", git = "https://github.com/febo/pinocchio.git", branch = "febo/close-unstable" }
19+
pinocchio-log = { version = "0.3", git = "https://github.com/febo/pinocchio.git", branch = "febo/close-unstable" }
20+
pinocchio-pubkey = { version = "0.2", git = "https://github.com/febo/pinocchio.git", branch = "febo/close-unstable" }

program/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ test-sbf = []
2020
[dependencies]
2121
pinocchio = { workspace = true }
2222
pinocchio-log = { workspace = true }
23-
pinocchio-pubkey = { workspace = true }
2423
token-interface = { version = "^0", path = "../interface" }
2524

2625
[dev-dependencies]

program/src/processor/close_account.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ use token_interface::{
88

99
use super::validate_owner;
1010

11-
/// Incinerator address.
12-
const INCINERATOR_ID: Pubkey =
13-
pinocchio_pubkey::pubkey!("1nc1nerator11111111111111111111111111111111");
11+
/// Incinerator (`1nc1nerator11111111111111111111111111111111`) address.
12+
const INCINERATOR_ID: Pubkey = [
13+
0, 51, 144, 114, 141, 52, 17, 96, 121, 189, 201, 17, 191, 255, 0, 219, 212, 77, 46, 205, 204,
14+
247, 156, 166, 225, 0, 56, 225, 0, 0, 0, 0,
15+
];
1416

1517
#[inline(always)]
1618
pub fn process_close_account(accounts: &[AccountInfo]) -> ProgramResult {

0 commit comments

Comments
 (0)