Skip to content

Fix: property implementations + setup for foundry fork testing #810

Merged
GalloDaSballo merged 5 commits intoebtc-protocol:recon-update-sept-2024from
nican0r:fix-recon-update-sept-2024
Jan 2, 2025
Merged

Fix: property implementations + setup for foundry fork testing #810
GalloDaSballo merged 5 commits intoebtc-protocol:recon-update-sept-2024from
nican0r:fix-recon-update-sept-2024

Conversation

@nican0r
Copy link
Copy Markdown

@nican0r nican0r commented Oct 22, 2024

This PR includes fixes to two of the definitions in Properties made in this commit that changes them to use the IPriceFeed::fetchPrice function instead of PriceFeedTestnet::lastGoodPrice as they were previously which caused inconsistencies with the price used in CRLens computations, leading to false-positive broken properties in this run.

Also included are fixes to the ForkToFoundry::setUp to use the same fork setup as echidna. For this to work for local fork testing the Setup::_setUpFork function had to be modified in this commit.

@GalloDaSballo GalloDaSballo merged commit f39bb10 into ebtc-protocol:recon-update-sept-2024 Jan 2, 2025
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.

2 participants