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

chore: reinstate l1-contracts package #8250

Merged
merged 1 commit into from
Aug 28, 2024
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
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,11 @@ jobs:
command: |
should_release || exit 0
yarn-project/deploy_npm.sh canary
- run:
name: "Release canary to NPM: l1-contracts"
command: |
should_release || exit 0
deploy_npm l1-contracts canary
- run:
name: "Release latest to NPM: bb.js"
command: |
Expand All @@ -440,6 +445,11 @@ jobs:
command: |
should_release || exit 0
yarn-project/deploy_npm.sh latest
- run:
name: "Release latest to NPM: l1-contracts"
command: |
should_release || exit 0
deploy_npm l1-contracts latest
- run:
name: "Update aztec-up"
command: |
Expand Down
4 changes: 4 additions & 0 deletions l1-contracts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ RUN foundryup --version nightly-de33b6af53005037b463318d2628b5cfcaf39916

WORKDIR /usr/src/l1-contracts
COPY . .

# Cleanup CI/CD files
RUN rm -rf terraform scripts

#RUN git init
RUN forge clean && forge fmt --check && forge build && forge test --no-match-contract UniswapPortalTest

Expand Down
15 changes: 15 additions & 0 deletions l1-contracts/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@aztec/l1-contracts",
"version": "0.1.0",
"license": "Apache-2.0",
"description": "Aztec contracts for the Ethereum mainnet and testnets",
"devDependencies": {
"solhint": "https://github.com/LHerskind/solhint#master"
},
"scripts": {
"format": "forge fmt",
"lint": "solhint --config ./.solhint.json --fix \"src/**/*.sol\"",
"slither": "forge clean && forge build --build-info --skip '*/test/**' --force && slither . --checklist --ignore-compile --show-ignored-findings --config-file ./slither.config.json | tee slither_output.md",
"slither-has-diff": "./slither_has_diff.sh"
}
}
Loading