Commit b7cb572
committed
Fix stale audit row, add refund test, run cargo doc in CI, commit npm lockfile
Closes #170, closes #174, closes #173, closes #167
- docs/access-control-audit.md: correct the refund permissionless-window
row, which said the deliberate no-auth path opens "at/after deadline";
it actually opens at deadline + GRACE_PERIOD since #49 introduced the
14-day grace period to stop a sponsor from racing permissionless
refund() against an already-processed release(). Cross-referenced #49.
- contracts/escrow/src/test.rs: add
test_contribute_rejects_after_already_refunded, mirroring
test_contribute_rejects_after_already_paid, covering the AlreadyRefunded
branch of contribute()'s status check that had no test.
- .github/workflows/ci.yml: run cargo doc --workspace --no-deps
--document-private-items with RUSTDOCFLAGS=-D warnings so broken
intra-doc links or malformed doc comments fail CI instead of only
being caught by chance.
- .gitignore / package-lock.json: stop ignoring package-lock.json and
commit it so @stellar/stellar-sdk's resolved dependency tree (used by
scripts/deploy.mjs, which deployed the live testnet contracts) is
reproducible across machines, matching the reproducibility guarantee
Cargo.lock already gives the Rust side.1 parent f4abb98 commit b7cb572
5 files changed
Lines changed: 587 additions & 3 deletions
File tree
- .github/workflows
- contracts/escrow/src
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
746 | 769 | | |
747 | 770 | | |
748 | 771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments