Skip to content

test: cover liquidator health factor scenarios - #1340

Open
Amlan2006 wants to merge 1 commit into
aave:mainfrom
Amlan2006:test/liquidator-health-factor-scenarios
Open

test: cover liquidator health factor scenarios#1340
Amlan2006 wants to merge 1 commit into
aave:mainfrom
Amlan2006:test/liquidator-health-factor-scenarios

Conversation

@Amlan2006

Copy link
Copy Markdown

Adds liquidation scenario coverage for liquidators with existing unhealthy positions.

  • Covers a liquidator receiving collateral shares and improving their health factor
  • Covers a competing liquidation where another liquidator liquidates the unhealthy liquidator first

Note: only the targeted scenario suite was run locally.

Testing:

forge test --match-path tests/contracts/spoke/liquidation/Spoke.LiquidationCall.Scenarios.t.sol

@Amlan2006

Amlan2006 commented Aug 27, 2026

Copy link
Copy Markdown
Author

@avniculae @Kogaroshi

The failing workflow appears to fail during Foundry setup before running the test suite:

/home/runner/.foundry/bin/foundryup: cannot execute binary file

The targeted suite passes locally:

forge test --match-path tests/contracts/spoke/liquidation/Spoke.LiquidationCall.Scenarios.t.sol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant