Skip to content

Commit 59dc8c7

Browse files
authored
feat: evo sdk (#2771)
1 parent d3f3c93 commit 59dc8c7

File tree

223 files changed

+13519
-51117
lines changed

Some content is hidden

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

223 files changed

+13519
-51117
lines changed

.github/package-filters/js-packages-direct.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,9 @@ dashmate:
4545

4646
'@dashevo/platform-test-suite':
4747
- packages/platform-test-suite/**
48+
49+
'@dashevo/wasm-sdk':
50+
- packages/wasm-sdk/**
51+
52+
'@dashevo/evo-sdk':
53+
- packages/js-evo-sdk/**

.github/package-filters/js-packages-no-workflows.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,16 @@ dashmate:
7777
'@dashevo/platform-test-suite':
7878
- packages/platform-test-suite/**
7979
- *dash
80+
81+
'@dashevo/wasm-sdk': &wasm-sdk
82+
- packages/wasm-sdk/**
83+
- packages/rs-drive-proof-verifier/**
84+
- packages/rs-sdk/**
85+
- packages/rs-dapi-client/**
86+
- packages/rs-platform-version/**
87+
- packages/rs-dapi-grpc-macros/**
88+
- packages/dapi-grpc/**
89+
90+
'@dashevo/evo-sdk': &evo-sdk
91+
- packages/js-evo-sdk/**
92+
- *wasm-sdk

.github/package-filters/js-packages.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,20 @@ dashmate:
9393
- .github/workflows/tests*
9494
- packages/platform-test-suite/**
9595
- *dash
96+
97+
'@dashevo/wasm-sdk': &wasm-sdk
98+
- .github/workflows/tests*
99+
- packages/wasm-sdk/**
100+
- packages/rs-drive-proof-verifier/**
101+
- packages/rs-sdk/**
102+
- packages/rs-dapi-client/**
103+
- packages/rs-platform-version/**
104+
- packages/rs-dapi-grpc-macros/**
105+
- packages/dapi-grpc/**
106+
107+
'@dashevo/evo-sdk': &evo-sdk
108+
- .github/workflows/tests*
109+
- packages/js-evo-sdk/**
110+
- *wasm-sdk
111+
112+

.github/package-filters/rs-packages-direct.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ dash-sdk:
4242

4343
rs-sdk-ffi:
4444
- packages/rs-sdk-ffi/**
45+
46+
wasm-sdk:
47+
- packages/wasm-sdk/**

.github/package-filters/rs-packages-no-workflows.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ rs-dapi-client: &dapi_client
5656
- packages/rs-dapi-client/**
5757
- *dapi_grpc
5858

59-
dash-sdk:
59+
dash-sdk: &sdk
6060
- packages/rs-drive-proof-verifier/**
6161
- packages/rs-sdk/**
6262
- *dapi_client
@@ -68,3 +68,8 @@ rs-sdk-ffi:
6868
- packages/rs-drive-proof-verifier/**
6969
- *dapi_client
7070
- *drive
71+
72+
wasm-sdk:
73+
- .github/workflows/tests*
74+
- packages/wasm-sdk/**
75+
- *sdk

.github/package-filters/rs-packages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ rs-dapi-client: &dapi_client
6969
- packages/rs-dapi-client/**
7070
- *dapi_grpc
7171

72-
dash-sdk:
72+
dash-sdk: &sdk
7373
- .github/workflows/tests*
7474
- packages/rs-drive-proof-verifier/**
7575
- packages/rs-sdk/**
@@ -83,3 +83,8 @@ rs-sdk-ffi:
8383
- packages/rs-drive-proof-verifier/**
8484
- *dapi_client
8585
- *drive
86+
87+
wasm-sdk:
88+
- .github/workflows/tests*
89+
- packages/wasm-sdk/**
90+
- *sdk

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ jobs:
7373
run: cargo binstall wasm-bindgen-cli@0.2.100
7474
if: ${{ steps.check-artifact.outputs.exists != 'true' }}
7575

76+
- name: Install wasm-pack
77+
run: cargo binstall wasm-pack
78+
if: ${{ steps.check-artifact.outputs.exists != 'true' }}
79+
7680
- name: Install Binaryen
7781
run: |
7882
wget https://github.com/WebAssembly/binaryen/releases/download/version_121/binaryen-version_121-x86_64-linux.tar.gz -P /tmp

.github/workflows/tests-build-js.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -57,32 +57,8 @@ jobs:
5757
run: cargo binstall wasm-bindgen-cli@0.2.100
5858
if: ${{ steps.check-artifact.outputs.exists != 'true' }}
5959

60-
- name: Restore cached wasm-opt (Binaryen)
61-
id: cache-binaryen
62-
uses: actions/cache@v4
63-
with:
64-
path: ${{ env.HOME }}/.cache/binaryen/version_121
65-
key: binaryen/version_121/${{ runner.os }}/x86_64
66-
67-
- name: Install wasm-opt if cache miss
68-
if: steps.cache-binaryen.outputs.cache-hit != 'true'
69-
run: |
70-
set -euxo pipefail
71-
mkdir -p "${HOME}/.cache/binaryen"
72-
curl -fsSL -o /tmp/binaryen.tar.gz \
73-
"https://github.com/WebAssembly/binaryen/releases/download/version_121/binaryen-version_121-x86_64-linux.tar.gz"
74-
tar -xzf /tmp/binaryen.tar.gz -C "${HOME}/.cache/binaryen"
75-
mv "${HOME}/.cache/binaryen/binaryen-version_121" "${HOME}/.cache/binaryen/version_121"
76-
77-
- name: Save cached wasm-opt
78-
if: steps.cache-binaryen.outputs.cache-hit != 'true'
79-
uses: actions/cache/save@v4
80-
with:
81-
path: ${{ env.HOME }}/.cache/binaryen/version_121
82-
key: binaryen/version_121/${{ runner.os }}/x86_64
83-
84-
- name: Export wasm-opt to PATH
85-
run: echo "${HOME}/.cache/binaryen/version_121/bin" >> $GITHUB_PATH
60+
- name: Install wasm-pack
61+
run: cargo binstall wasm-pack
8662
if: ${{ steps.check-artifact.outputs.exists != 'true' }}
8763

8864
- name: Build JS packages

.github/workflows/wasm-sdk-build.yml

Lines changed: 0 additions & 248 deletions
This file was deleted.

0 commit comments

Comments
 (0)