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

Sync layer stable #1155

Open
wants to merge 1,147 commits into
base: release-v25-protocol-defense
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1147 commits
Select commit Hold shift + click to select a range
269ef38
(fix): system contracts
Oct 27, 2024
416c2aa
(fix): imports
Oct 27, 2024
71ec9c8
(fix): slight refactoring
Oct 27, 2024
3fef0bb
(fix): foundry tests and system-contract hashes
Oct 27, 2024
18f6e55
some fixme/cleanup
StanislavBreadless Oct 27, 2024
39adc69
links and reading order
kelemeno Oct 27, 2024
cb577e2
Merge branch 'sb-port-docs-to-reorg' of ssh://github.com/matter-labs/…
kelemeno Oct 27, 2024
e16768a
add an issue fix
StanislavBreadless Oct 27, 2024
4474d53
(fix): change to encodeWithCall
Oct 27, 2024
77703e3
fix some fixmes
StanislavBreadless Oct 27, 2024
9fe6121
(fix): remove duplicate check
Oct 27, 2024
623e131
(fix): lint
Oct 27, 2024
b8b3df5
more link fixes
StanislavBreadless Oct 27, 2024
6e93fa9
fix constants and more links
StanislavBreadless Oct 27, 2024
bc4674b
Merge pull request #1021 from matter-labs/ra/fix-oz-library
StanislavBreadless Oct 27, 2024
bfb0c07
fix links
StanislavBreadless Oct 27, 2024
6f188d3
more todos fixed
StanislavBreadless Oct 27, 2024
a6af5bc
remove todos from contracts
StanislavBreadless Oct 27, 2024
473bffa
comment on general ugprade process
StanislavBreadless Oct 27, 2024
5ea8a06
sync with base
StanislavBreadless Oct 27, 2024
d1b1e45
fmt
StanislavBreadless Oct 27, 2024
1100a4d
more lints
StanislavBreadless Oct 27, 2024
6d87d5a
more lints
StanislavBreadless Oct 27, 2024
6c1d24e
fmt
StanislavBreadless Oct 27, 2024
dfc7595
raid's comment
kelemeno Oct 27, 2024
620285a
Merge branch 'sb-port-docs-to-reorg' of ssh://github.com/matter-labs/…
kelemeno Oct 27, 2024
bfda290
spellcheck
StanislavBreadless Oct 27, 2024
ec36f3c
fix more lint
StanislavBreadless Oct 27, 2024
9571efa
Merge remote-tracking branch 'origin/sb-port-docs-to-reorg' into sb-p…
StanislavBreadless Oct 27, 2024
d179768
(feat): add dead-links jobs
Oct 27, 2024
33d84ef
(fix): installation
Oct 27, 2024
1505139
(fix): yaml flow
Oct 27, 2024
2c80631
(fix): lint & flow
Oct 27, 2024
30e04a8
(fix): dead links && make CI fail with a dead link
Oct 27, 2024
57ec871
(fix): linting
Oct 27, 2024
6f06427
(fix): remove saving to file
Oct 27, 2024
81f9f9a
(fix): renaming
Oct 27, 2024
209cd09
(fix): Overview.md to lowercase
Oct 27, 2024
6ff8f09
Merge pull request #997 from matter-labs/sb-port-docs-to-reorg
StanislavBreadless Oct 27, 2024
77962ab
fix some links
StanislavBreadless Oct 27, 2024
64859dc
Merge pull request #1032 from matter-labs/sb-fix-some-links
StanislavBreadless Oct 27, 2024
563056e
Consensus fix review (#1031)
vladbochok Oct 28, 2024
96d42f2
Update docs (#1033)
vladbochok Oct 28, 2024
85046c1
Delete unused function (#1043)
StanislavBreadless Oct 29, 2024
9de1edc
fix: oz link for system contracts (#1042)
perekopskiy Oct 29, 2024
9d0ffa4
Fix tests for the contest (#1048)
vladbochok Oct 29, 2024
d1cc94e
fix scripts
StanislavBreadless Oct 30, 2024
82da31f
l1/l2 foundry
StanislavBreadless Oct 30, 2024
6243003
sc wip
StanislavBreadless Oct 31, 2024
a48dfd9
Merge branch 'sync-layer-stable' into sb-gateway-release-with-foundry
StanislavBreadless Oct 31, 2024
5632b16
use foundry for sc as well
StanislavBreadless Oct 31, 2024
5756f64
sc wip
StanislavBreadless Oct 31, 2024
7884afe
foundry for system contracts
StanislavBreadless Oct 31, 2024
e70ad6b
self review
StanislavBreadless Oct 31, 2024
0a62d4f
fix lint
StanislavBreadless Oct 31, 2024
7bccc62
add comments
StanislavBreadless Oct 31, 2024
a896ed6
fix lint
StanislavBreadless Oct 31, 2024
97723c7
hopefully fix tests
StanislavBreadless Oct 31, 2024
27ead9c
add building da contracts
StanislavBreadless Oct 31, 2024
e343e72
fix ci
StanislavBreadless Oct 31, 2024
246c076
cache sc zkout
StanislavBreadless Oct 31, 2024
2de93c2
an attempt to fix ci
StanislavBreadless Oct 31, 2024
181b56f
fix foundry script tests
StanislavBreadless Oct 31, 2024
c001b0e
add tup bytecode upon registration
StanislavBreadless Oct 31, 2024
c4f8923
fix zkfoundry tests
StanislavBreadless Oct 31, 2024
0315627
Merge remote-tracking branch 'origin/sb-gateway-release-with-foundry'…
StanislavBreadless Oct 31, 2024
321fc28
refactor some unused fiels
StanislavBreadless Oct 31, 2024
9bdcb87
fix
StanislavBreadless Oct 31, 2024
4469965
fix foundry
StanislavBreadless Oct 31, 2024
557b887
Merge remote-tracking branch 'origin/sb-gateway-release-with-foundry'…
StanislavBreadless Oct 31, 2024
9771f8e
temporarily delete gas report ci
StanislavBreadless Oct 31, 2024
2451c42
add TimestampAsserter to sync-layer-stable (#1057)
perekopskiy Nov 11, 2024
6549b57
Merge branch 'sync-layer-stable' into sb-gateway-release-with-foundry
StanislavBreadless Nov 11, 2024
4c89158
sync with protocol defense
StanislavBreadless Nov 11, 2024
190b123
server compatible registry
StanislavBreadless Nov 11, 2024
563dfef
fmt
StanislavBreadless Nov 11, 2024
7fb81ec
use DataEncoding for consistency and fix comments
nikitastupin-matterlabs Nov 12, 2024
5865717
fix typo
nikitastupin-matterlabs Nov 12, 2024
c3467e2
use l2 chain admin
StanislavBreadless Nov 13, 2024
e9fe166
fmt
StanislavBreadless Nov 14, 2024
188e9aa
cleanup + conditional legacy bridge output
StanislavBreadless Nov 14, 2024
7811eba
lint fix
StanislavBreadless Nov 14, 2024
35e5dd3
Merge branch 'sb-gateway-release-with-foundry' into sb-use-l2-chain-a…
StanislavBreadless Nov 14, 2024
bed773e
fix contract link
StanislavBreadless Nov 14, 2024
45b901e
rename file
StanislavBreadless Nov 15, 2024
6213f74
Merge pull request #3 from matter-labs/nikita/gateway-release-candidate
StanislavBreadless Nov 15, 2024
00dcd44
try using 1.5.0
StanislavBreadless Nov 15, 2024
5352305
remove da contracts dependency
StanislavBreadless Nov 17, 2024
adc6093
use older version of foundry zksync
StanislavBreadless Nov 17, 2024
b3f4148
use foundry more
StanislavBreadless Nov 17, 2024
f98ddca
Merge pull request #1 from matter-labs/sb-gateway-release-with-foundry
StanislavBreadless Nov 17, 2024
eed140a
Merge branch 'sync-layer-stable' into sb-use-l2-chain-admin
StanislavBreadless Nov 18, 2024
128ad4f
migrate from gateway
StanislavBreadless Nov 19, 2024
5599678
Support weth non standard tokens (#7)
StanislavBreadless Nov 20, 2024
e864827
Merge branch 'sync-layer-stable' into sb-use-l2-chain-admin
StanislavBreadless Nov 20, 2024
660ac5e
Merge pull request #6 from matter-labs/sb-use-l2-chain-admin
StanislavBreadless Nov 21, 2024
f2a1fd3
feat: support validiums via 'zkstack'
dimazhornyk Nov 25, 2024
017c315
fmt
dimazhornyk Nov 27, 2024
c015ad0
Merge branch 'sync-layer-stable' of ssh://github.com/matter-labs/era-…
kelemeno Nov 27, 2024
081e43c
typo
kelemeno Nov 27, 2024
3f783e2
Merge pull request #24 from matter-labs/kl/merge-sls2
kelemeno Nov 27, 2024
4039eab
Audittens audit C01 (#11)
StanislavBreadless Nov 28, 2024
519729e
Fix audittens H01 (#15)
StanislavBreadless Nov 28, 2024
4475424
Update foundry; replace --zk-avoid-contracts with --skip
perekopskiy Nov 28, 2024
b64e25c
typo
perekopskiy Nov 28, 2024
7673edf
Fix audittens H02 (#16)
StanislavBreadless Nov 28, 2024
a11df6a
Fix H03 (#17)
StanislavBreadless Nov 28, 2024
aebdcda
Install dependencies in build
perekopskiy Nov 29, 2024
4e6d0d4
Merge pull request #29 from matter-labs/replace-zk-avoid-contracts
perekopskiy Nov 29, 2024
4f1dde9
Fix h04 (#18)
StanislavBreadless Nov 29, 2024
dca7b55
Fix audittens h05 (#19)
StanislavBreadless Nov 29, 2024
ba63591
merge audittens review into sls
StanislavBreadless Nov 29, 2024
9016bd3
Fix I03 (#38)
StanislavBreadless Nov 29, 2024
6bd1fb6
Fix audittens I04 (#39)
StanislavBreadless Nov 29, 2024
db41088
Fix audittens i05 (#40)
StanislavBreadless Nov 29, 2024
3f2589c
Fix audittens I10 (#44)
StanislavBreadless Nov 29, 2024
2edde4c
Fix audittens I11 (#45)
StanislavBreadless Nov 29, 2024
68d55a9
Fix audittens I21 (#52)
StanislavBreadless Nov 29, 2024
4cab4c3
Fix audittens i17 (#51)
StanislavBreadless Nov 29, 2024
fcca8de
Fix audittens I01 (#36)
StanislavBreadless Nov 29, 2024
f54121e
Fix audittens I02 (#37)
StanislavBreadless Nov 29, 2024
5c11f85
Fix audittens I07 (#41)
StanislavBreadless Nov 29, 2024
d335fe3
Fix audittens I15 (#49)
StanislavBreadless Nov 29, 2024
39ca05d
Fix audittens i16 (#50)
StanislavBreadless Nov 29, 2024
19262a2
Fix I09 (#43)
StanislavBreadless Nov 29, 2024
f7364fb
Fix audittens I08 (#42)
StanislavBreadless Nov 29, 2024
f8578bd
quick register available
StanislavBreadless Dec 2, 2024
b5056fb
fmt
StanislavBreadless Dec 2, 2024
a9a28a2
Fix audittens H07 (#47)
StanislavBreadless Dec 2, 2024
a71a049
Fix audittens I23 (#53)
StanislavBreadless Dec 2, 2024
2bcd5de
Resolve h06 (#20)
StanislavBreadless Dec 2, 2024
59d11f7
Fix audittens m02 (#21)
StanislavBreadless Dec 2, 2024
9db7c17
Fix audittens m01 (#22)
StanislavBreadless Dec 2, 2024
dc549e2
FIx audittens L10 (#35)
StanislavBreadless Dec 2, 2024
aeade7e
Fix audittens L08 (#34)
StanislavBreadless Dec 2, 2024
0ef3a0b
amend upgrade scripts
StanislavBreadless Dec 2, 2024
7663cfc
Fix audittens m03 (#23)
StanislavBreadless Dec 2, 2024
1f1c141
fmt
StanislavBreadless Dec 2, 2024
4c27dc6
Fix audittens L02 (#25)
StanislavBreadless Dec 2, 2024
fd7e4cd
Fix audittens L03 (#26)
StanislavBreadless Dec 2, 2024
ae91ae4
Fix audittens L04 (#27)
StanislavBreadless Dec 2, 2024
2c1aadc
Fix audittens L05 (#28)
StanislavBreadless Dec 2, 2024
ed7da5d
Fix audittens L06 (#32)
StanislavBreadless Dec 2, 2024
4324fe6
Fix audittens I12 (#46)
StanislavBreadless Dec 2, 2024
201b7f0
Fix audittens I14 (#48)
StanislavBreadless Dec 2, 2024
1982d82
Fix audittens L09 (#54)
kelemeno Dec 2, 2024
d3931b4
sync with review
StanislavBreadless Dec 2, 2024
100ccab
sync with review
StanislavBreadless Dec 2, 2024
38edfb7
Merge branch 'gateway-release-candidate' into sb-sls-audittens-review
StanislavBreadless Dec 2, 2024
aab4b22
sync with just fixes
StanislavBreadless Dec 2, 2024
d79c367
fmt
StanislavBreadless Dec 2, 2024
fedf677
fix error lint
StanislavBreadless Dec 3, 2024
c944c09
hardhat testing
StanislavBreadless Dec 3, 2024
b75aa3f
remove hardhat testing
StanislavBreadless Dec 3, 2024
57bc93a
rename contracts, provide AvailDAValidator as input
dimazhornyk Dec 3, 2024
540811c
fix upgrade nonce
StanislavBreadless Dec 3, 2024
cf51e73
Merge branch 'sync-layer-stable' of github.com:matter-labs/era-contra…
dimazhornyk Dec 3, 2024
a0a85e2
fix comment
dimazhornyk Dec 3, 2024
adc4293
remove unnecessary methods from interface
dimazhornyk Dec 3, 2024
1cb01cd
lint
dimazhornyk Dec 3, 2024
b08b386
fix up migration
StanislavBreadless Dec 3, 2024
3cc0e75
fix init tokens
StanislavBreadless Dec 3, 2024
6cc47f9
fix
dimazhornyk Dec 3, 2024
91f10dc
fixes
dimazhornyk Dec 3, 2024
a848557
track migrations + fix comment
StanislavBreadless Dec 9, 2024
c3fcbfc
correctly track gas before preparation
StanislavBreadless Dec 9, 2024
ce74caf
correct error in init
StanislavBreadless Dec 9, 2024
564c5eb
emit event upon deployment
StanislavBreadless Dec 9, 2024
352fde6
fix comment
StanislavBreadless Dec 9, 2024
8bebbd0
fix historical root
StanislavBreadless Dec 9, 2024
a4d7d6a
remove reentrancy guard
StanislavBreadless Dec 9, 2024
ddfe592
gas optimization
StanislavBreadless Dec 9, 2024
472f972
upd comment
StanislavBreadless Dec 9, 2024
5e07a0f
fix interface
StanislavBreadless Dec 9, 2024
08891b9
rename + initializers
StanislavBreadless Dec 9, 2024
806b5ec
fix asset router send
StanislavBreadless Dec 9, 2024
96208c4
remove msg root limitation
StanislavBreadless Dec 9, 2024
701fd2a
remove unneeded force approve
StanislavBreadless Dec 9, 2024
5ebf38c
add comment
StanislavBreadless Dec 9, 2024
93b71bc
fix comment
StanislavBreadless Dec 9, 2024
53f43c5
small consistency
StanislavBreadless Dec 9, 2024
920a530
add comment
StanislavBreadless Dec 9, 2024
541bbbc
event and bootloader comment
StanislavBreadless Dec 9, 2024
8320242
set of minor nits + wrapeed base token check
StanislavBreadless Dec 9, 2024
b26a2e7
public -> external
StanislavBreadless Dec 9, 2024
8c00cbb
lint
StanislavBreadless Dec 9, 2024
750fbfc
detach pricing from is permanent rollup
StanislavBreadless Dec 9, 2024
b0ce40b
fix lint
StanislavBreadless Dec 9, 2024
d9a2717
remove unused error
StanislavBreadless Dec 9, 2024
502ee80
Support quick registration of NTV assets (#56)
StanislavBreadless Dec 9, 2024
90f35fa
sync with release candidate
StanislavBreadless Dec 9, 2024
b350a58
respond to comments
StanislavBreadless Dec 9, 2024
60f5bad
fix lint/slither
StanislavBreadless Dec 9, 2024
7d809dd
Restore loadtest final merge (#61)
StanislavBreadless Dec 9, 2024
02d6fbb
Fix audittens L07 (#33)
StanislavBreadless Dec 10, 2024
d947519
Fix audittens i26 (#62)
StanislavBreadless Dec 10, 2024
0fff609
sync with final release
StanislavBreadless Dec 10, 2024
c27d37f
Merge pull request #63 from matter-labs/sb-sync-audittens-base-with-r…
StanislavBreadless Dec 10, 2024
61d9caf
Merge branch 'gateway-release-candidate-2' into sb-codehawks-batch
StanislavBreadless Dec 10, 2024
99f9a35
Merge pull request #60 from matter-labs/sb-codehawks-batch
StanislavBreadless Dec 10, 2024
924bf42
fix i24
StanislavBreadless Dec 10, 2024
96e3a9b
fix i28
StanislavBreadless Dec 10, 2024
2882911
Fix ci (#65)
StanislavBreadless Dec 10, 2024
51363b9
fix i29
StanislavBreadless Dec 10, 2024
77ea5da
fix i30
StanislavBreadless Dec 10, 2024
8409737
fix i31
StanislavBreadless Dec 10, 2024
d994088
fix i32
StanislavBreadless Dec 10, 2024
b8970e5
fix i35
StanislavBreadless Dec 10, 2024
0be70a2
fix i36
StanislavBreadless Dec 10, 2024
067b33c
fix i37
StanislavBreadless Dec 10, 2024
2a7723f
fix i38
StanislavBreadless Dec 10, 2024
235b42e
i39
StanislavBreadless Dec 10, 2024
e1c27b1
Merge branch 'sb-i37' into sb-audittens-informational-batch
StanislavBreadless Dec 10, 2024
35b1744
fix i40
StanislavBreadless Dec 10, 2024
0c1905e
fix lint + compile
StanislavBreadless Dec 10, 2024
35f5eb8
fix tests
StanislavBreadless Dec 10, 2024
fe16f54
follow up for i32
StanislavBreadless Dec 11, 2024
0e1c1a1
update scripts
perekopskiy Dec 11, 2024
bc97353
code review fixes
dimazhornyk Dec 11, 2024
22db8d4
include state diff hash in the l2DAValidatorOutputHash
dimazhornyk Dec 11, 2024
0601e4c
fmt
dimazhornyk Dec 11, 2024
bd2809d
fix enum checks
dimazhornyk Dec 11, 2024
c6c4cb1
maybe fix ci
StanislavBreadless Dec 11, 2024
b0536df
Revert "maybe fix ci"
koloz193 Dec 11, 2024
9cc1ccc
Revert "Revert "maybe fix ci""
koloz193 Dec 11, 2024
00f8875
undo revert and only update install deps
koloz193 Dec 11, 2024
d999af4
Merge pull request #66 from matter-labs/sb-audittens-informational-batch
koloz193 Dec 11, 2024
ae4b561
Merge pull request #67 from matter-labs/mp-upgrade-tmp
perekopskiy Dec 12, 2024
b8f8932
Merge pull request #58 from matter-labs/dz-support-validiums-in-zkstack
dimazhornyk Dec 13, 2024
5054f9f
chore: add comment to the attestations mapping in AvailAttestationLib
dimazhornyk Dec 13, 2024
94c191c
Fix audittens comments (#71)
StanislavBreadless Dec 16, 2024
f435dd0
sync with sls
StanislavBreadless Dec 16, 2024
111173e
comment out some of the migration hacks
StanislavBreadless Dec 16, 2024
68ddadf
fix lint
StanislavBreadless Dec 16, 2024
b3aa336
remove kludges for gateway testing
StanislavBreadless Dec 17, 2024
349ba7c
Merge pull request #72 from matter-labs/sb-merge-grc-2-sls
StanislavBreadless Dec 17, 2024
25329f7
script cleanup
StanislavBreadless Dec 17, 2024
cbf5691
Merge pull request #1153 from matter-labs/sb-sync-sls
StanislavBreadless Dec 18, 2024
786a0d0
new protocol version
StanislavBreadless Dec 18, 2024
4a03500
mini cleanup
StanislavBreadless Dec 18, 2024
89a0194
support old admin
StanislavBreadless Dec 19, 2024
1ce71c1
use new admin
StanislavBreadless Dec 19, 2024
f7ca214
fix gateway tests
StanislavBreadless Dec 19, 2024
1fd35e7
fmt
StanislavBreadless Dec 19, 2024
4653906
more cleanup
StanislavBreadless Dec 19, 2024
7bfe12d
fmt
StanislavBreadless Dec 19, 2024
a575417
Audittens Comments fixes (#73)
StanislavBreadless Dec 20, 2024
97c8b05
Merge branch 'gateway-release-candidate-2' into sb-cleanup-scripts
StanislavBreadless Dec 20, 2024
4955a41
Merge branch 'sync-layer-stable' into sb-cleanup-scripts
StanislavBreadless Dec 20, 2024
49c688f
Merge pull request #1158 from matter-labs/sb-cleanup-scripts
StanislavBreadless Dec 20, 2024
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/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ We truly appreciate efforts to discover and disclose security issues responsibly
## Vulnerabilities

If you'd like to report a security issue in the repositories of matter-labs organization, please proceed to our
[Bug Bounty Program on Immunefi](https://era.zksync.io/docs/reference/troubleshooting/audit-bug-bounty.html#bug-bounty-program).
[Bug Bounty Program on Immunefi](https://immunefi.com/bug-bounty/zksyncera/information/).

## Other Security Issues

Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install foundry-zksync
run: |
mkdir ./foundry-zksync
curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz
curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly-27360d4c8d12beddbb730dae07ad33a206b38f4b/foundry_nightly_linux_amd64.tar.gz
tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync
chmod +x ./foundry-zksync/forge ./foundry-zksync/cast
echo "$PWD/foundry-zksync" >> $GITHUB_PATH
Expand All @@ -47,21 +47,18 @@ jobs:
- name: Build l1 contracts
working-directory: l1-contracts
run: |
forge build
yarn build:foundry

- name: Build l2 contracts
working-directory: l2-contracts
run: |
forge build --zksync --zk-enable-eravm-extensions
yarn build:foundry

- name: Build system-contracts
working-directory: system-contracts
run: |
yarn install
yarn preprocess:system-contracts
forge build --zksync --zk-enable-eravm-extensions
yarn preprocess:bootloader
forge build --zksync --zk-enable-eravm-extensions
yarn build:foundry

- name: Prepare artifacts
run: |
Expand Down
39 changes: 20 additions & 19 deletions .github/workflows/codespell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,26 @@ name: Codespell
on: pull_request

jobs:
codespell:
runs-on: ubuntu-latest

steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-

- name: Install prerequisites
run: sudo pip install -r ./.codespell/requirements.txt

- name: Spell check
run: codespell --config=./.codespell/.codespellrc
# TODO: fix codespell CI
# codespell:
# runs-on: ubuntu-latest

# steps:
# - name: Checkout the repository
# uses: actions/checkout@v4

# - name: pip cache
# uses: actions/cache@v4
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
# restore-keys: ${{ runner.os }}-pip-

# - name: Install prerequisites
# run: sudo pip install -r ./.codespell/requirements.txt

# - name: Spell check
# run: codespell --config=./.codespell/.codespellrc

typos:
runs-on: ubuntu-latest
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/dead-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check Dead Links in Markdown Files

on: pull_request

jobs:
check-dead-links:
name: Check Dead Links in Markdown Files
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Rust and Lychee
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
~/.cargo/bin/cargo install lychee

- name: Find and check markdown files
run: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
find . -type f -name "*.md" ! -path "*/node_modules/*" ! -path "*/openzeppelin*" ! -path "*/murky/*" -exec lychee --github-token $GITHUB_TOKEN {} +
Loading