فهرست منبع

Fix *.so copy in solana-devnet, correct crate feature for cli+agent (#198)

Stanisław Drozd 4 سال پیش
والد
کامیت
a330c89d1a
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      solana/Dockerfile
  2. 2 2
      solana/agent/Cargo.toml
  3. 2 2
      solana/cli/Cargo.toml

+ 1 - 1
solana/Dockerfile

@@ -24,4 +24,4 @@ RUN --mount=type=cache,target=/usr/local,from=rust,source=/usr/local \
     --mount=type=cache,target=bin,from=rust,source=bin \
     --mount=type=cache,target=bin,from=rust,source=bin \
     cargo build-bpf --manifest-path "bridge/Cargo.toml" && \
     cargo build-bpf --manifest-path "bridge/Cargo.toml" && \
     mkdir -p /opt/solana/deps && \
     mkdir -p /opt/solana/deps && \
-    cp target/deploy/spl_bridge_debug.so /opt/solana/deps/spl_bridge.so
+    cp target/deploy/spl_bridge.so /opt/solana/deps/spl_bridge.so

+ 2 - 2
solana/agent/Cargo.toml

@@ -12,8 +12,8 @@ prost-types = "0.6"
 solana-sdk = { version = "=1.5.5" }
 solana-sdk = { version = "=1.5.5" }
 solana-client = { version = "=1.5.5" }
 solana-client = { version = "=1.5.5" }
 solana-faucet = "=1.5.5"
 solana-faucet = "=1.5.5"
-spl-token =  "=3.0.1"
-wormhole-bridge = { path = "../bridge" }
+spl-token = {version = "=3.0.1", features = ["no-entrypoint"]}
+wormhole-bridge = { path = "../bridge", default-features = false, features = ["no-entrypoint"] }
 primitive-types = { version = "0.7.2" }
 primitive-types = { version = "0.7.2" }
 hex = "0.4.2"
 hex = "0.4.2"
 thiserror = "1.0.20"
 thiserror = "1.0.20"

+ 2 - 2
solana/cli/Cargo.toml

@@ -15,8 +15,8 @@ solana-sdk = { version = "=1.5.5" }
 solana-client = { version = "=1.5.5" }
 solana-client = { version = "=1.5.5" }
 solana-faucet = "=1.5.5"
 solana-faucet = "=1.5.5"
 solana-account-decoder = { version = "=1.5.5" }
 solana-account-decoder = { version = "=1.5.5" }
-spl-token = "=3.0.1"
-wormhole-bridge = { path = "../bridge" }
+spl-token = {version = "=3.0.1", features = ["no-entrypoint"]}
+wormhole-bridge = { path = "../bridge", default-features = false, features = ["no-entrypoint"] }
 primitive-types = { version = "0.7.2" }
 primitive-types = { version = "0.7.2" }
 hex = "0.4.2"
 hex = "0.4.2"
 thiserror = "1.0.20"
 thiserror = "1.0.20"