Skip to content

docs(lending_pool): add #1089 references to donation-attack fix comments - #1699

Open
Aj-Kayvee wants to merge 10 commits into
LabsCrypt:mainfrom
Aj-Kayvee:docs/1089-refer-donation-attack-fix
Open

docs(lending_pool): add #1089 references to donation-attack fix comments#1699
Aj-Kayvee wants to merge 10 commits into
LabsCrypt:mainfrom
Aj-Kayvee:docs/1089-refer-donation-attack-fix

Conversation

@Aj-Kayvee

Copy link
Copy Markdown

Link issue #1089 (first-depositor share inflation / donation attack) to the existing code and test documentation so future readers can trace the fix back to the original report.

No logic changes — documentation only.

Closes #1089

🤖 Generated with Codebuff

Pull Request Checklist

Please ensure your PR follows these steps, mirroring our CONTRIBUTING.md guidelines.

  • I have read the CONTRIBUTING.md document.
  • My code follows the code style of this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation accordingly.
  • I have verified the changes locally.

Benjamin O. Ajayi and others added 10 commits August 30, 2026 21:42
…fix comments

Link issue LabsCrypt#1089 (first-depositor share inflation / donation attack) to
the existing code and test documentation so future readers can trace the
fix back to the original report.

- TotalManagedAssets doc: add (LabsCrypt#1089) to donation-immunity note
- VIRTUAL_SHARES/VIRTUAL_ASSETS doc: add (LabsCrypt#1089) to attack description
- total_managed_assets() doc: add LabsCrypt#1089 alongside LabsCrypt#1380
- calc_shares_to_mint() doc: add LabsCrypt#1089 alongside LabsCrypt#1380
- test module header: add LabsCrypt#1089 to the slippage/donation test section

No logic changes — documentation only.

Closes LabsCrypt#1089

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <[email protected]>
The contracts 'rust-toolchain.toml' pins Rust 1.85.0 for soroban-sdk 22
compatibility, but the CI workflows used dtolnay/rust-toolchain@stable
which overrides the pin with the latest stable Rust. The newest stable
is incompatible with soroban-sdk 22, causing cargo clippy to panic with
exit code 101. Switch to @master so the action respects the repository's
rust-toolchain.toml.
dtolnay/rust-toolchain with an explicit toolchain installs only that
toolchain without the extra components declared in rust-toolchain.toml.
The contracts Clippy step then runs without a clippy component installed,
causing cargo clippy to panic with exit 101. Add the rustfmt and clippy
components matched to the repository's rust-toolchain.toml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant