Skip to content
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
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,19 @@ jobs:
continue-on-error: true # non-blocking until pre-existing findings are triaged
run: cargo audit

- name: Reject stray source files in contract crates
# Only Rust sources belong in a contract crate root; loose TS/JS files
# look like delivered on-chain features while compiling to nothing.
run: |
stray=$(find . -mindepth 2 -maxdepth 2 -type f \
\( -name '*.ts' -o -name '*.tsx' -o -name '*.js' -o -name '*.jsx' -o -name '*.py' -o -name '*.go' \) \
! -path './scripts/*')
if [ -n "$stray" ]; then
echo "Non-Rust source files found inside contract crates:"
echo "$stray"
exit 1
fi

- name: Check formatting
run: cargo fmt --all -- --check

Expand Down
1 change: 0 additions & 1 deletion contracts/escrow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ Actions: `funded`, `released`, `refunded`, `disputed`, `resolved`.
- Pausing stops funding and settlement alike, so a paused contract holds
funds in place until the admin unpauses (see
[`SECURITY-MODEL.md`](../SECURITY-MODEL.md)).
- Historical notes on specific audits live in [`audit.md`](audit.md).
70 changes: 0 additions & 70 deletions contracts/escrow/escrow-dispute.test.ts

This file was deleted.

174 changes: 0 additions & 174 deletions contracts/escrow/src/admin.rs

This file was deleted.

Loading
Loading