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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/blockchain-contracts-abi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.86' # keep in sync with rust/lit-node/rust-toolchain.toml
toolchain: '1.91' # keep in sync with rust/lit-node/rust-toolchain.toml
components: rustfmt

- name: Run Contract Updates
Expand Down
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
4 changes: 2 additions & 2 deletions .github/workflows/deploy-release-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
ref: ${{ github.event.inputs.source_branch || 'master' }}

- name: Checkout Release Data from lit-peer
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'LIT-Protocol/lit-peer'
ref: 'releases-info'
Expand All @@ -58,7 +58,7 @@ jobs:
node-version: '20'

- name: Cache Node Modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: lit-ansible/infrastructure/release-info-store/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('lit-ansible/infrastructure/release-info-store/package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-lit-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.86' # keep in sync with rust/lit-node/rust-toolchain.toml
toolchain: '1.91' # keep in sync with rust/lit-node/rust-toolchain.toml
components: rustfmt clippy rust-src
- name: Install tools
uses: taiki-e/install-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-lit-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.86" # keep in sync with rust/lit-core/rust-toolchain.toml
toolchain: "1.91" # keep in sync with rust/lit-core/rust-toolchain.toml
components: rustfmt clippy rust-src
- name: Rust Cache
uses: WarpBuilds/rust-cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-lit-node-build-commit-hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.86' # keep in sync with rust/lit-node/rust-toolchain.toml
toolchain: '1.91' # keep in sync with rust/lit-node/rust-toolchain.toml
components: rustfmt rust-src
- name: Build node
run: cargo build --features lit-actions,testing
Expand All @@ -59,7 +59,7 @@ jobs:
working-directory: rust/lit-node/shiva
run: cargo build
- name: Upload build artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: lit_node_${{ github.sha }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-lit-node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.86' # keep in sync with rust/lit-node/lit-node/rust-toolchain.toml
toolchain: '1.91' # keep in sync with rust/lit-node/lit-node/rust-toolchain.toml
components: rustfmt rust-src
- name: Setup local files for testing
run: make setup-local-files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-lit-node-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.86" # keep in sync with rust/lit-node/lit-node/rust-toolchain.toml
toolchain: "1.91" # keep in sync with rust/lit-node/lit-node/rust-toolchain.toml
components: rustfmt clippy rust-src
- name: Cargo fmt check
run: cargo fmt -- --check
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# 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:
Expand Down Expand Up @@ -57,6 +62,7 @@ jobs:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
- 8549:8549
credentials:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -78,7 +84,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.86' # keep in sync with rust/lit-node/rust-toolchain.toml
toolchain: '1.91' # keep in sync with rust/lit-node/rust-toolchain.toml
- name: Rust Cache
uses: WarpBuilds/rust-cache@v2
with:
Expand Down Expand Up @@ -107,6 +113,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 @@ -162,7 +169,7 @@ jobs:
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.
if: false
if: ${{ inputs.enable_version_upgrade_tests }}
timeout-minutes: 60
strategy:
matrix:
Expand All @@ -173,6 +180,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 @@ -201,7 +209,7 @@ jobs:
- name: Install rust because the version upgrade tests do a recompile
uses: dtolnay/rust-toolchain@master
with:
toolchain: '1.86' # keep in sync with rust/lit-node/rust-toolchain.toml
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"
Expand Down Expand Up @@ -231,7 +239,7 @@ jobs:
env:
RUST_LOG: debug
- name: Download the latest build for release-habanero-* branch
uses: actions/download-artifact@v6
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 }}
Expand All @@ -240,7 +248,7 @@ jobs:
- 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@v6
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 }}
Expand All @@ -249,7 +257,7 @@ jobs:
- 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@v6
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 }}
Expand Down
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
2 changes: 1 addition & 1 deletion .github/workflows/rust-lit-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.86" # keep in sync with rust/lit-os/rust-toolchain.toml
toolchain: "1.91" # keep in sync with rust/lit-os/rust-toolchain.toml
components: rustfmt clippy rust-src
- name: Rust Cache
uses: WarpBuilds/rust-cache@v2
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