Skip to content

Commit

Permalink
Remove bridge registry and code cleanup (#599)
Browse files Browse the repository at this point in the history
* remove bridge registry using linked anchor config

* skip tests

* remove typescript tests
  • Loading branch information
salman01zp authored Jan 22, 2024
1 parent e71db78 commit 4ee78e6
Show file tree
Hide file tree
Showing 45 changed files with 13 additions and 20,627 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,66 +145,3 @@ jobs:
matrix:
target:
- x86_64-unknown-linux-gnu

linux-integration-tests:
name: Linux Integration Tests
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-linux-integration-tests-${{ matrix.target }}-${{ matrix.test-type }}
cancel-in-progress: true
steps:
- name: install system build dependencies
run: sudo apt-get update && sudo apt-get install ${DEV_PACKAGES}

- uses: actions/checkout@v3
with:
fetch-depth: 50

- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
shared-key: "rust"

- name: Download fixtures
run: |
mkdir -p ./tests/solidity-fixtures/vanchor_2/2
mkdir -p ./tests/solidity-fixtures/vanchor_16/2
curl -L -o ./tests/solidity-fixtures/vanchor_2/2/witness_calculator.cjs https://dapp-fixtures.s3.amazonaws.com/develop/vanchor_2/2/witness_calculator.cjs
curl -L -o ./tests/solidity-fixtures/vanchor_2/2/poseidon_vanchor_2_2.wasm https://dapp-fixtures.s3.amazonaws.com/develop/vanchor_2/2/poseidon_vanchor_2_2.wasm
curl -L -o ./tests/solidity-fixtures/vanchor_2/2/circuit_final.zkey https://dapp-fixtures.s3.amazonaws.com/develop/vanchor_2/2/circuit_final.zkey
curl -L -o ./tests/solidity-fixtures/vanchor_16/2/witness_calculator.cjs https://dapp-fixtures.s3.amazonaws.com/develop/vanchor_16/2/witness_calculator.cjs
curl -L -o ./tests/solidity-fixtures/vanchor_16/2/poseidon_vanchor_16_2.wasm https://dapp-fixtures.s3.amazonaws.com/develop/vanchor_16/2/poseidon_vanchor_16_2.wasm
curl -L -o ./tests/solidity-fixtures/vanchor_16/2/circuit_final.zkey https://dapp-fixtures.s3.amazonaws.com/develop/vanchor_16/2/circuit_final.zkey
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: "./tests/.nvmrc"
cache: "yarn"
cache-dependency-path: "./tests/yarn.lock"
registry-url: "https://npm.pkg.github.com"

- name: Install Node Packages.
run: cd tests && yarn

- name: Build relayer
run: cargo build --features integration-tests,cli,native-tls/vendored

- name: Pull Docker Images used for testing.
run: docker pull ghcr.io/webb-tools/tangle/tangle-standalone-integration-tests:main

- name: Webb Relayer Integration tests.
run: cd tests && yarn ${{ matrix.test-type }}

- name: Cleanup fixtures
run: |
rm -rf ./tests/solidity-fixtures
rm -rf ./tests/solidity-fixtures
strategy:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-gnu
test-type:
- test-evm
27 changes: 0 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 0 additions & 33 deletions crates/bridge-registry-backends/Cargo.toml

This file was deleted.

64 changes: 0 additions & 64 deletions crates/bridge-registry-backends/src/dkg.rs

This file was deleted.

99 changes: 0 additions & 99 deletions crates/bridge-registry-backends/src/lib.rs

This file was deleted.

40 changes: 0 additions & 40 deletions crates/bridge-registry-backends/src/mocked.rs

This file was deleted.

Loading

0 comments on commit 4ee78e6

Please sign in to comment.