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

refactor: change metadata system contract and add annotation #1449

Merged
merged 12 commits into from
Oct 9, 2023
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}

- name: Run Rust unit-test
run: make test

Expand All @@ -45,7 +45,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: Run metadata-test
run: make metadata-test
- name: Run crosschain-test
run: make crosschain-test
1 change: 1 addition & 0 deletions Cargo.lock

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

9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,14 @@ security-audit:
@cargo audit --version || cargo install cargo-audit
@cargo audit

metadata-test:
cd builtin-contract/metadata \
&& yarn --from-lock-file && yarn run compile && yarn run test

metadata-genesis-deploy:
cd builtin-contract/metadata && yarn run deploy

crosschain-test:
cd builtin-contract/crosschain \
&& yarn --from-lock-file && yarn run compile && yarn run test

crosschain-genesis-deploy:
cd builtin-contract/crosschain && yarn run deploy

unit-test: test metadata-test crosschain-test
unit-test: test crosschain-test

schema:
make -C core/cross-client/ schema
Expand Down
12 changes: 0 additions & 12 deletions builtin-contract/metadata/.gitignore

This file was deleted.

151 changes: 0 additions & 151 deletions builtin-contract/metadata/contracts/metadata.sol

This file was deleted.

22 changes: 0 additions & 22 deletions builtin-contract/metadata/hardhat.config.js

This file was deleted.

24 changes: 0 additions & 24 deletions builtin-contract/metadata/package.json

This file was deleted.

60 changes: 0 additions & 60 deletions builtin-contract/metadata/scripts/metadata.deploy.js

This file was deleted.

62 changes: 0 additions & 62 deletions builtin-contract/metadata/scripts/metadata.proxy.js

This file was deleted.

Loading
Loading