Skip to content

Commit 349d1bc

Browse files
committed
chore(pblock-list): move program into pinocchio/ subdirectory
The Block List example is a Pinocchio implementation, but it lived directly under pblock-list/ rather than under a pinocchio/ subdirectory. This is inconsistent with the rest of the repo, where every other Pinocchio-only example is named pinocchio/ (13 sibling directories follow this pattern, including basics/counter/pinocchio/, basics/hello-solana/pinocchio/, etc.). Move program/, sdk/, cli/, Cargo.toml, codama.ts, package.json, tsconfig.json, and .gitignore into a new pinocchio/ subdirectory. The parent readme.md stays at the top of pblock-list/ and is updated to point at the new paths (and to instruct users to cd into pinocchio/ before running pnpm install and cargo build commands). All 52 files are tracked as renames (R100) — no content changed. Internal paths in the moved files are unaffected: Cargo.toml workspace members (program, cli, sdk/rust) and the codama.ts renderer paths (sdk/ts/src, sdk/rust/...) are all relative to the file/CWD, so they continue to resolve correctly from the new pinocchio/ location. Side effect: the pinocchio.yml CI workflow filters changes on '**/pinocchio/**', so this move enables CI on this example for the first time. Follows up on #18, which removed the byte-for-byte duplicate at pblock-list/pino/.
1 parent 7f67385 commit 349d1bc

53 files changed

Lines changed: 5 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tokens/token-extensions/transfer-hook/pblock-list/.gitignore renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/.gitignore

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/Cargo.toml renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/Cargo.toml

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/cli/Cargo.toml renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/cli/Cargo.toml

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/cli/src/main.rs renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/cli/src/main.rs

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/codama.ts renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/codama.ts

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/package.json renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/package.json

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/program/Cargo.toml renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/program/Cargo.toml

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/program/src/error.rs renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/program/src/error.rs

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/program/src/instructions/block_wallet.rs renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/program/src/instructions/block_wallet.rs

File renamed without changes.

tokens/token-extensions/transfer-hook/pblock-list/program/src/instructions/init.rs renamed to tokens/token-extensions/transfer-hook/pblock-list/pinocchio/program/src/instructions/init.rs

File renamed without changes.

0 commit comments

Comments
 (0)