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

Idempotent Setters Only #153

Merged
merged 4 commits into from
Mar 20, 2024
Merged

Idempotent Setters Only #153

merged 4 commits into from
Mar 20, 2024

Conversation

noahlitvin
Copy link
Contributor

AFAIK, all markets only have 1 settlement strategy, which means its been assigned to ID 0.

We should be able to remove the "add" steps and hardcode this ID, such that updated settings files don't trigger new settlement strategies to be added.

Strategies can be added in the future by adding a new "set" step with ID 1, 2 ,3, etc.

Copy link
Contributor

@noisekit noisekit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as long as we get CI happy

@noahlitvin
Copy link
Contributor Author

Bumping OP version resolved that CI test because it adds the setSettlementStrategy function.

@mjlescano mjlescano force-pushed the idemponent-setters-only branch from 9bf3792 to 506b730 Compare March 19, 2024 19:43
@noahlitvin noahlitvin merged commit 10ab9e0 into main Mar 20, 2024
9 checks passed
@noahlitvin noahlitvin deleted the idemponent-setters-only branch March 20, 2024 23:17
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