Skip to content

Commit

Permalink
refactor!: remove SetOperatorParams in favor of MsgJoinService (#128)
Browse files Browse the repository at this point in the history
## Description

Closes: MILK-97
Depends-On: #126 

This PR is a continuation of #126 where I extract the `JoinedServiceIDs`
from `OperatorParams` in order to store them insidea `collection.map`
where the key is the operator id and the value is the list of services
being secured by the operator.

---

### Author Checklist

*All items are required. Please add a note to the item if the item is
not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [x] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR
Targeting](https://github.com/milkyway-labs/milkyway/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building
modules](https://docs.cosmos.network/v0.44/building-modules/intro.html)
- [ ] included the necessary unit and integration
[tests](https://github.com/milkyway-labs/milkyway/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go
code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable
and please add
your handle next to the items reviewed if you only reviewed selected
items.*

I have...

- [x] confirmed the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [x] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
  • Loading branch information
manu0466 authored Oct 21, 2024
1 parent 384c929 commit 9158bf4
Show file tree
Hide file tree
Showing 53 changed files with 4,893 additions and 3,376 deletions.
788 changes: 788 additions & 0 deletions api/milkyway/restaking/legacy/models.pulsar.go

Large diffs are not rendered by default.

440 changes: 222 additions & 218 deletions api/milkyway/restaking/v1/genesis.pulsar.go

Large diffs are not rendered by default.

937 changes: 449 additions & 488 deletions api/milkyway/restaking/v1/messages.pulsar.go

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions api/milkyway/restaking/v1/messages_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9158bf4

Please sign in to comment.