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

オープン
#787 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #702 @MarkFeder による — マージされずにクローズ

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
rust
領域
blockchain, devops

調査の方向性

Locate the deploy npm scripts and cicd.sh files in the single-program native and Pinocchio examples. Read each cargo build-sbf command to confirm the crate-named .so artifact, then check that deploy uses the proposed wildcard and that multi-program and asm examples remain untouched. Done when the single-program deploy steps resolve the built artifact.

索引モデルが issue の本文から書いたものです。

説明

accepted

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.

主要言語
Rust
スター
1.4k
フォーク
559
平均マージ
20時間 9分
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

solana-foundation/program-examples のほかの issue

solana-foundation/program-examples の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。