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

Remodel solvers #44

Merged
merged 3 commits into from
Aug 16, 2024
Merged

Remodel solvers #44

merged 3 commits into from
Aug 16, 2024

Conversation

anxolin
Copy link
Contributor

@anxolin anxolin commented Aug 16, 2024

Improves the modeling of solvers.

Moves the addresses from the solver entity to a new solver-network one. This way, we avoid replication of data.

These are the changes

Add environments

We add a master record for the environments
image

Remove addresses and networks from solver

This info has been moved

image

Create new Solver-Network entity

This entity maps a solver, to a network and a environment. It includes information about the address and payoutAddress
image

Test

Run it locally and test creating a few solvers and solver networks

@anxolin anxolin marked this pull request as ready for review August 16, 2024 16:03
@anxolin anxolin merged commit ad29295 into main Aug 16, 2024
3 checks passed
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