Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
bca0d65
Prep for lit-peer
GTC6244 Nov 20, 2025
0d9e8bf
deployconfig for naga test
Garandor Nov 20, 2025
41460aa
WIP adding a second keyset
GTC6244 Nov 21, 2025
f05df13
Merge branch 'master' into keysets
GTC6244 Nov 25, 2025
f4c506d
Merge branch 'master' into keysets
GTC6244 Nov 26, 2025
f651236
prettier
GTC6244 Dec 3, 2025
cedb94b
Clippy!
GTC6244 Dec 3, 2025
c2e50fd
fix node_restarts_without_key_material - and maybe an FSM update?
GTC6244 Dec 3, 2025
5bd06cf
remove keyset test ( next branch )
GTC6244 Dec 3, 2025
6dce84d
Better handling of shadow splicing. (#26)
GTC6244 Dec 4, 2025
105a9ec
Quick ordering update for shadowOpts struct.
GTC6244 Dec 4, 2025
e41f197
Merge branch 'master' into keysets
GTC6244 Dec 4, 2025
4c489cf
abi staleness update
GTC6244 Dec 5, 2025
a793783
Merge branch 'master' into keysets
GTC6244 Dec 9, 2025
e16f278
blockchain staleness ?
GTC6244 Dec 9, 2025
b73a503
Handle datil old peers (#34)
mikelodder7 Dec 10, 2025
0677831
Keysets - handle multiples in DKG. (#15)
GTC6244 Dec 10, 2025
6498ee2
Merge branch 'master' into keysets
GTC6244 Dec 12, 2025
03f414d
fix tests
GTC6244 Dec 12, 2025
6e91c23
cargo fmt
GTC6244 Dec 12, 2025
cebdcb5
cargo update / abi staleness
GTC6244 Dec 12, 2025
a5de633
Merge branch 'master' into keysets
GTC6244 Dec 17, 2025
6cd79df
Fixes to merges & clippy updates
GTC6244 Dec 17, 2025
ea6776b
update tests
GTC6244 Dec 17, 2025
3d6b4d2
Fix deploy/test JS ( which I broke with a bad merge )
GTC6244 Dec 18, 2025
96775ed
prettier....
GTC6244 Dec 18, 2025
527d17f
Feature/node 4848 test datil keys in naga (#24)
GTC6244 Jan 6, 2026
0de3518
Feature/node 4874 support multiple chains at anvil level (#41)
GTC6244 Jan 6, 2026
907f940
Merge branch 'master' into keysets
GTC6244 Jan 6, 2026
8cbff16
Feature/node 4876 - using both chains in some tests ( adapt end user …
GTC6244 Jan 8, 2026
6521720
abi staleness + cargo fmt.
GTC6244 Jan 9, 2026
1ddd393
Remove traces of custom version upgrade testing. (#57)
GTC6244 Jan 9, 2026
68eda1d
fix: Invalid signature combination (#65)
mikelodder7 Jan 9, 2026
057a2fa
re-instate decryption assertion
GTC6244 Jan 9, 2026
eaa99d5
clippy.
GTC6244 Jan 9, 2026
cd4243f
remove unused val
GTC6244 Jan 9, 2026
468d3f7
make openapi spec (#66)
mikelodder7 Jan 11, 2026
ca8a759
Feature/node 4923 refactor upgrade tests to use local configurations …
GTC6244 Jan 13, 2026
cc37cc3
Merge branch 'master' into keysets
GTC6244 Jan 13, 2026
36da7ad
merge master fixes
GTC6244 Jan 13, 2026
eba9e96
Merge branch 'master' into keysets
GTC6244 Jan 13, 2026
00dee1f
try to update docs
GTC6244 Jan 13, 2026
3bd5a01
Merge branch 'keysets' of https://github.com/LIT-Protocol/lit-peer in…
GTC6244 Jan 13, 2026
7971384
force deploy on lit-actions.
GTC6244 Jan 14, 2026
d0dadb1
force deploy on more lit actions.
GTC6244 Jan 14, 2026
98b2947
Feature/node 4931 implement lit actions for keysets (datil support!) …
GTC6244 Jan 14, 2026
cf91a68
Merge branch 'master' into keysets
GTC6244 Jan 14, 2026
1a81d2c
Merge branch 'master' into keysets
GTC6244 Jan 14, 2026
eac046b
Remerge build.rs!
GTC6244 Jan 14, 2026
0932842
cargo fmt
GTC6244 Jan 14, 2026
eb18995
more debugging.
GTC6244 Jan 14, 2026
90a8322
Merge branch 'master' into keysets
GTC6244 Jan 14, 2026
5779ea5
remerge build.rs
GTC6244 Jan 14, 2026
de46379
cargo fmt
GTC6244 Jan 14, 2026
585a7f3
new deploy-config, 7 64core boxes, threshold 4
Garandor Jan 15, 2026
e42ec90
Merge branch 'release-naga-test-2025-01-14' into network-naga-test
Garandor Jan 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/blockchain-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -70,6 +71,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/list-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
- rust/lit-node/**
- .github/workflows/rust-lit-node-unit-tests.yml
- .github/workflows/rust-lit-node-integration-tests.yml
- .github/workflows/rust-lit-node-version-upgrade-tests.yml
- .github/workflows/rust-lit-node-fault-tests.yml
- .github/workflows/rust-lit-node-long-running-tests.yml
- .github/workflows/rust-lit-node-clippy.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rust-lit-node-fault-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
129 changes: 9 additions & 120 deletions .github/workflows/rust-lit-node-group-unit-and-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# This workflow groups up the unit tests, the standard node build, and the tests that use the standard node build (integration tests, version upgrade tests)
name: rust-lit-node-group-unit-and-integration-tests
on:
workflow_dispatch: {}
workflow_dispatch:
inputs:
enable_version_upgrade_tests:
description: 'Enable version upgrade tests?'
type: boolean
default: false
workflow_call:
push:
paths:
- rust/lit-node/lit-node/**
- .github/workflows/rust-lit-node-integration-tests.yml
- .github/workflows/rust-lit-node-build.yml
- .github/workflows/rust-lit-node-unit-tests.yml
- .github/workflows/rust-lit-node-version-upgrade-tests.yml
- .github/workflows/rust-lit-node-group-unit-and-integration-tests.yml
- scripts/github/**
branches:
Expand Down Expand Up @@ -57,6 +61,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -107,6 +112,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -157,124 +163,13 @@ jobs:
working-directory: ${{github.workspace}}/rust/lit-node/shiva
- name: Run acceptance, component and integration tests.
run: "~/.cargo/bin/cargo-nextest nextest run --archive-file nextest-archive.tar.zst --final-status-level pass --profile integration-tests -E 'test(/^acceptance|^component|^integration|^sdk/) - test(/long/)' --partition count:${{ matrix.partition }}/3 --nocapture --"
# after the standard build is done, run the upgrade tests
lit_node_version_upgrade_tests:
needs: build-if-needed
runs-on: warp-ubuntu-latest-x64-16x # change to LargeRunner to run on github. Change to self-hosted to run on our own runner. Change to buildjet-8vcpu-ubuntu-2204 to run on buildjet with 8 cpus
# TODO: enable this when you want to turn on version upgrade tests. there's also another spot below where you have to remove a hardcoded "false" with a comment like this.
# To enable, change the condition below to: if: ${{ true }} or remove the if line entirely
if: ${{ github.event_name == 'never' }}
timeout-minutes: 60
strategy:
matrix:
partition: [1, 2, 3]

services:
anvil:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

steps:
- name: Install deps
working-directory: ${{ github.workspace }}
run: sudo apt-get update && sudo apt-get install -y zstd libudev-dev libsqlite3-dev cmake protobuf-compiler
- name: Checkout lit-assets
uses: actions/checkout@v6
with:
fetch-depth: 0
submodules: recursive
- name: Use Node.js
uses: WarpBuilds/setup-node@v4
with:
node-version: 18.17.0
cache: npm
cache-dependency-path: ${{ github.workspace }}/blockchain/contracts/package-lock.json
- name: Install dependencies for blockchain/contracts
working-directory: ${{ github.workspace }}/blockchain/contracts
run: npm install
- name: Run npx hardhat compile for blockchain/contracts
working-directory: ${{ github.workspace }}/blockchain/contracts
run: npx hardhat compile
- name: Install rust because the version upgrade tests do a recompile
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.91' # keep in sync with rust/lit-node/rust-toolchain.toml
components: rust-src
- name: Install nextest
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C "${CARGO_HOME:-$HOME/.cargo}/bin"
- name: Download archive
uses: WarpBuilds/cache@v1
with:
path: rust/lit-node/lit-node/nextest-archive.tar.zst
key: nextest-archive-${{ github.sha }}-lit-actions|testing
- name: Unzip archive so that we can get the lit_node binary
run: zstd -d -c nextest-archive.tar.zst | tar xf -
# Get the workflow run that has the latest build for target branches.
- name: Get the latest workflow run ID
id: get_latest_workflow_run_id
run: |
echo "LATEST_WORKFLOW_RUN_ID_HABANERO=$(cd scripts/ci_utils && cargo run --bin get_latest_workflow_run rust/lit-node-build-commit-hash 'origin/release-habanero-*')" >> "$GITHUB_OUTPUT"
echo "LATEST_WORKFLOW_RUN_ID_MANZANO=$(cd scripts/ci_utils && cargo run --bin get_latest_workflow_run rust/lit-node-build-commit-hash 'origin/release-manzano-*')" >> "$GITHUB_OUTPUT"
echo "LATEST_WORKFLOW_RUN_ID_CAYENNE=$(cd scripts/ci_utils && cargo run --bin get_latest_workflow_run rust/lit-node-build-commit-hash 'origin/release-cayenne-*')" >> "$GITHUB_OUTPUT"
env:
GH_PAT: ${{ secrets.GITHUB_TOKEN }}
RUST_LOG: debug
- name: Get the latest commit SHA
id: get_latest_commit_sha
run: |
echo "COMMIT_SHA_HABANERO=$(cd scripts/ci_utils && cargo run --bin get_target_branch_commit_hash 'origin/release-habanero-*')" >> "$GITHUB_OUTPUT"
echo "COMMIT_SHA_MANZANO=$(cd scripts/ci_utils && cargo run --bin get_target_branch_commit_hash 'origin/release-manzano-*')" >> "$GITHUB_OUTPUT"
echo "COMMIT_SHA_CAYENNE=$(cd scripts/ci_utils && cargo run --bin get_target_branch_commit_hash 'origin/release-cayenne-*')" >> "$GITHUB_OUTPUT"
env:
RUST_LOG: debug
- name: Download the latest build for release-habanero-* branch
uses: actions/download-artifact@v7
with:
name: lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_HABANERO }}
run-id: ${{ steps.get_latest_workflow_run_id.outputs.LATEST_WORKFLOW_RUN_ID_HABANERO }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path: rust/lit-node/lit-node/
- name: Move the downloaded binary
run: mv lit_node target/debug/lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_HABANERO }}
- name: Download the latest build for release-manzano-* branch
uses: actions/download-artifact@v7
with:
name: lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_MANZANO }}
run-id: ${{ steps.get_latest_workflow_run_id.outputs.LATEST_WORKFLOW_RUN_ID_MANZANO }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path: rust/lit-node/lit-node/
- name: Move the downloaded binary
run: mv lit_node target/debug/lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_MANZANO }}
- name: Download the latest build for release-cayenne-* branch
uses: actions/download-artifact@v7
with:
name: lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_CAYENNE }}
run-id: ${{ steps.get_latest_workflow_run_id.outputs.LATEST_WORKFLOW_RUN_ID_CAYENNE }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path: rust/lit-node/lit-node/
- name: Move the downloaded binary
run: mv lit_node target/debug/lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_CAYENNE }}
- name: Enable execute permissions for the binary
run: |
chmod +x target/debug/lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_HABANERO }}
chmod +x target/debug/lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_MANZANO }}
chmod +x target/debug/lit_node_${{ steps.get_latest_commit_sha.outputs.COMMIT_SHA_CAYENNE }}
- name: Setup local files for testing
run: make setup-local-files
- name: Run acceptance, component and integration tests.
run: "~/.cargo/bin/cargo-nextest nextest run --archive-file nextest-archive.tar.zst --final-status-level pass --profile version-upgrade-tests -E 'test(/^upgrades/)' --partition count:${{ matrix.partition }}/3 --nocapture --"


# AND together the results
check_status:
needs:
[
lit_node_unit_tests,
lit_node_integration_tests,
lit_node_version_upgrade_tests,
]
runs-on: ubuntu-latest
steps:
Expand All @@ -289,10 +184,4 @@ jobs:
echo "Integration tests failed"
exit 1
fi
# TODO: enable this when you want to turn on version upgrade tests
# To enable, uncomment the check below (and enable the job above)
# if [ ${{ needs.lit_node_version_upgrade_tests.result }} != 'success' ]; then
# echo "Version upgrade tests failed"
# exit 1
# fi
echo "All tests passed"
1 change: 1 addition & 0 deletions .github/workflows/rust-lit-node-long-running-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rust-lit-node-perf-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions blockchain/contracts/abis/BackupRecovery.abi
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,11 @@
"internalType": "bytes",
"name": "sessionId",
"type": "bytes"
},
{
"internalType": "string",
"name": "keySetId",
"type": "string"
}
],
"name": "registerRecoveryKeys",
Expand Down
13 changes: 13 additions & 0 deletions blockchain/contracts/abis/ContractResolver.abi
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PUB_KEY_ROUTER_VIEWS_CONTRACT",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "RATE_LIMIT_NFT_CONTRACT",
Expand Down
Loading
Loading