Skip to content

native/pinocchio examples: deploy script points at program.so, which the build never produces #787

Open

Description

@MarkFeder

The deploy npm script and cicd.sh in the single-program native and Pinocchio examples run:

solana program deploy ./program/target/so/program.so

cargo build-sbf --sbf-out-dir=./program/target/so names the artifact after the crate (e.g. transfer_tokens_program.so), so program.so never exists and the documented deploy step fails with "No such file". CI doesn't run deploy, which is why it went unnoticed.

Proposed fix: deploy ./program/target/so/*.so, which resolves to the single artifact in each of these examples. Multi-program examples and the asm example are left alone. Implementation is ready in #702.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedMaintainer has agreed to the approach

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions