diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index e14b185..2cdde21 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -20,17 +20,8 @@ jobs: - package-name: "client-vms" - package-name: "client-react-hooks" steps: - - name: Generate nillion repo app token - id: generate-token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ secrets.NILLION_GITHUB_ACTIONS_PUBLIC_APP_ID }} - owner: NillionNetwork - private-key: ${{ secrets.NILLION_GITHUB_ACTIONS_PUBLIC_APP_PRIVATE_KEY }} - repositories: nillion - uses: actions/checkout@v4 with: - token: ${{ steps.generate-token.outputs.token }} submodules: 'recursive' - name: Install uv diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4923d9f..4d3c8b9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,17 +21,8 @@ jobs: needs: check runs-on: ubuntu-latest steps: - - name: Generate nillion repo app token - id: generate-token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ secrets.NILLION_GITHUB_ACTIONS_PUBLIC_APP_ID }} - owner: NillionNetwork - private-key: ${{ secrets.NILLION_GITHUB_ACTIONS_PUBLIC_APP_PRIVATE_KEY }} - repositories: nillion - uses: actions/checkout@v4 with: - token: ${{ steps.generate-token.outputs.token }} submodules: 'recursive' - name: Install rustup uses: dtolnay/rust-toolchain@master @@ -51,17 +42,8 @@ jobs: needs: check runs-on: ubuntu-latest steps: - - name: Generate nillion repo app token - id: generate-token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ secrets.NILLION_GITHUB_ACTIONS_PUBLIC_APP_ID }} - owner: NillionNetwork - private-key: ${{ secrets.NILLION_GITHUB_ACTIONS_PUBLIC_APP_PRIVATE_KEY }} - repositories: nillion - uses: actions/checkout@v4 with: - token: ${{ steps.generate-token.outputs.token }} submodules: 'recursive' - uses: actions/setup-node@v4 with: diff --git a/.gitmodules b/.gitmodules index 7287c84..ea0c8dd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "nillion"] - path = nillion - url = git@github.com:NillionNetwork/nillion.git +[submodule "nilvm"] + path = nilvm + url = git@github.com:NillionNetwork/nilvm.git diff --git a/biome.jsonc b/biome.jsonc index 0d02c5e..c9386f5 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -8,7 +8,7 @@ "files": { "ignoreUnknown": false, "include": ["**/*.ts", "**/*.mjs", "**/*.json", "**/*.tsx"], - "ignore": ["client-vms/src/gen-proto", "client-wasm/dist", "nillion"] + "ignore": ["client-vms/src/gen-proto", "client-wasm/dist", "nilvm"] }, "formatter": { "enabled": true, diff --git a/buf.yaml b/buf.yaml index a71bf41..807ffdc 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,6 +1,6 @@ version: v2 modules: - - path: nillion/libs/node-api/proto + - path: nilvm/libs/node-api/proto lint: use: - STANDARD diff --git a/client-wasm/Cargo.lock b/client-wasm/Cargo.lock index f1c9ac1..61eb01b 100644 --- a/client-wasm/Cargo.lock +++ b/client-wasm/Cargo.lock @@ -104,7 +104,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "client-wasm" -version = "0.2.0" +version = "0.3.1" dependencies = [ "console_error_panic_hook", "getrandom", diff --git a/client-wasm/Cargo.toml b/client-wasm/Cargo.toml index a2edebf..2fad1b6 100644 --- a/client-wasm/Cargo.toml +++ b/client-wasm/Cargo.toml @@ -11,7 +11,7 @@ getrandom = { version = "0.2", features = ["js"] } wasm-bindgen = "0.2.92" js-sys = "0.3" -nillion-client-core = { path = "../nillion/libs/client-core" } +nillion-client-core = { path = "../nilvm/libs/client-core" } [dev-dependencies] wasm-bindgen-test = "0.3" diff --git a/client-wasm/dist/index_bg.wasm b/client-wasm/dist/index_bg.wasm index 37b7090..cf0bcb5 100644 Binary files a/client-wasm/dist/index_bg.wasm and b/client-wasm/dist/index_bg.wasm differ diff --git a/nillion b/nillion deleted file mode 160000 index 486637b..0000000 --- a/nillion +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 486637b6f6c03b1052523b9d2fb4020df7e1c3c8 diff --git a/nilvm b/nilvm new file mode 160000 index 0000000..c92a3b2 --- /dev/null +++ b/nilvm @@ -0,0 +1 @@ +Subproject commit c92a3b2c3821f25915eb280513f402b3e04f18ff