Summary
Event tests confirm the sell fee fields are emitted, but there is no regression test that verifies the protocol fee recipient actually receives the correct token amount after a sell. A direct balance assertion closes this gap.
Scope
- add a regression test that records the protocol fee recipient balance before a sell
- perform a sell and assert the recipient balance increased by the expected fee amount
- assert the fee amount matches the protocol fee bps applied to the sell price
Acceptance Criteria
- the protocol fee recipient balance increases by the correct fee amount after a sell
- the fee amount matches the bps calculation
- the test is distinct from existing sell event field tests
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg
Summary
Event tests confirm the sell fee fields are emitted, but there is no regression test that verifies the protocol fee recipient actually receives the correct token amount after a sell. A direct balance assertion closes this gap.
Scope
Acceptance Criteria
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg