Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove trade simulator #209

Merged
merged 1 commit into from
Aug 15, 2024
Merged

chore: remove trade simulator #209

merged 1 commit into from
Aug 15, 2024

Conversation

fedgiac
Copy link
Contributor

@fedgiac fedgiac commented Aug 14, 2024

Description

I don't think we've ever made use of the trade simulator. It was an interesting way to showcase the StorageAccessible contract, but had limited practical use: every time we need to simulate a trade, we just simulate a full settlement.
The related code is therefore removed for the sake of simplification.

Internal discussion didn't bring up any use for it.

As mentioned in commit 5475208, test/src/GPv2SettlementTestInterface.sol was only needed because of the trade simulator tests and can now be removed as well.

Test Plan

CI.

Related Issues

Closes #122 as not needed anymore.

@fedgiac fedgiac requested a review from a team as a code owner August 14, 2024 13:03
@fedgiac fedgiac requested a review from fleupold August 14, 2024 13:05
@fedgiac fedgiac merged commit 291e4f4 into main Aug 15, 2024
9 checks passed
@fedgiac fedgiac deleted the remove-trade-simulator branch August 15, 2024 08:47
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests(core): GPv2TradeSimulator
3 participants