Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/package-filters/rs-packages-direct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ dash-platform-queries:
dash-sdk:
- packages/rs-sdk/**

dash-platform-cxx:
- packages/rs-platform-cxx/**

rs-sdk-ffi:
- packages/rs-sdk-ffi/**

Expand Down
5 changes: 5 additions & 0 deletions .github/package-filters/rs-packages-no-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ dash-sdk: &sdk
- *dapi_client
- *drive

dash-platform-cxx:
- packages/rs-platform-cxx/**
- *sdk
- *platform_encryption

rs-sdk-ffi: &sdk_ffi
- packages/rs-sdk-ffi/**
- *simple-signer
Expand Down
6 changes: 6 additions & 0 deletions .github/package-filters/rs-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ dash-sdk: &sdk
- *dapi_client
- *drive

dash-platform-cxx:
- .github/workflows/tests*
- packages/rs-platform-cxx/**
- *sdk
- *platform_encryption

rs-sdk-ffi: &sdk_ffi
- .github/workflows/tests*
- packages/rs-sdk-ffi/**
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/tests-rs-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,31 @@ jobs:
done
done

# The C++ embedder (Dash Core's platform GUI) links dash-platform-cxx
# as a static archive whose trust anchor must be the embedder's own
# LLMQ store and masternode list: no trusted-provider crate, no HTTP
# client, no OpenSSL, no default seed list may enter its closure or
# its sources. (It wraps the full dash-sdk, networking included, so
# it is deliberately absent from the transport-free cuts above.)
- name: Check the Platform CXX embedder's trust closure
run: |
for banned in rs-sdk-trusted-context-provider reqwest openssl-sys native-tls; do
if cargo tree -p dash-platform-cxx -e normal -i "$banned" 2>/dev/null | grep -q .; then
echo "::error::$banned leaked into dash-platform-cxx's dependency tree"
exit 1
fi
done
if grep -rnE 'new_mainnet|new_testnet|fetch_unproved|dash_network_seeds' \
packages/rs-platform-cxx/src packages/rs-platform-cxx/include; then
echo "::error::dash-platform-cxx must build its SDK from the embedder's endpoints only"
exit 1
fi

# The C++ embedding surface must link and run from the staged headers
# and archive alone; the Rust tests cannot see a broken header layout.
- name: Link the Platform CXX embedder from C++
run: packages/rs-platform-cxx/scripts/cxx-smoke.sh

- name: Detect immutable structure changes
if: github.event_name == 'pull_request'
run: |
Expand Down Expand Up @@ -456,6 +481,7 @@ jobs:
--package rs-sdk-ffi \
--package platform-wallet-ffi \
--package rs-dapi-client \
--package dash-platform-cxx \
--package platform-serialization \
--package dapi-grpc \
--package json-schema-compatibility-validator \
Expand Down
155 changes: 140 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ members = [
"packages/app-connect-contract",
"packages/moderation-charters-contract",
"packages/rs-sdk-ffi",
"packages/rs-platform-cxx",
"packages/wasm-drive-verify",
"packages/dash-platform-balance-checker",
"packages/rs-dapi",
Expand Down
Loading
Loading