Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multichain #139

Merged
merged 14 commits into from
Oct 8, 2024
Merged
18 changes: 18 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,25 @@ jobs:
with:
toolchain: 1.81.0
override: true

# We need to setup node in order to compile the hardhat contracts to get the artifacts
- name: "Setup node"
uses: actions/setup-node@v2
with:
node-version: 20

- name: Cache node modules
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: "Install the dependencies"
run: "yarn install"

- name: "Compile the contracts and generate the TypeChain bindings"
run: "yarn typechain"

# Now we can check rust formatting and run tests
- name: Checking code format
run: cd ./packages/ciphernode && cargo fmt -- --check

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
"test:integration": "./tests/basic_integration/test.sh",
"coverage": "yarn evm:coverage",
"ciphernode:launch": "cd packages/ciphernode && ./scripts/launch.sh",
"ciphernode:lint": "cd packages/ciphernode && cargo fmt -- --check",
"ciphernode:add": "cd packages/evm && yarn ciphernode:add",
"ciphernode:remove": "cd packages/evm && yarn ciphernode:remove",
"ciphernode:aggregator": "cd packages/ciphernode && ./scripts/aggregator.sh",
"ciphernode:test": "cd packages/ciphernode && cargo test",
"ciphernode:build": "cd packages/ciphernode && cargo build --release",
"preciphernode:build": "yarn evm:compile",
"committee:new": "cd packages/evm && yarn committee:new",
"committee:publish": "cd packages/evm && yarn hardhat committee:publish",
"e3:activate": "cd packages/evm && yarn hardhat e3:activate",
Expand Down
Loading
Loading