-
Notifications
You must be signed in to change notification settings - Fork 59
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
feat: removal message #772
Merged
Merged
Changes from 31 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
594d6b7
init proto
aljo242 c22b466
gen proto:
aljo242 44b9fc5
Merge branch 'main' into feat/removal-msg
aljo242 5364064
validate basic
aljo242 e812c89
test
aljo242 0d0e239
interface registry
aljo242 4ca8ad9
delete enabled
aljo242 62776ab
msg handler
aljo242 fb64aed
init test
aljo242 8e0081e
format
aljo242 0e55072
hooks and mocks
aljo242 a749d36
hooks
aljo242 d00d7e3
testingtown
aljo242 a69fe19
update
aljo242 bfcd9b8
todos
aljo242 786d3bc
Merge branch 'main' into feat/removal-msg
aljo242 4ab6bfe
admin
aljo242 5b07a79
admin fix
aljo242 713c7eb
test
aljo242 4cfbb95
clean
aljo242 68414d8
test
aljo242 bc9c93c
Merge branch 'main' into feat/removal-msg
aljo242 c0f9cc0
Merge branch 'main' into feat/removal-msg
aljo242 205f63d
clean
aljo242 730d774
some logs
aljo242 a6c710b
keep enabled in integ
aljo242 77d2b69
format
aljo242 ef2383f
Merge branch 'main' into feat/removal-msg
aljo242 02886b9
Merge branch 'main' into feat/removal-msg
aljo242 a66e198
Update x/marketmap/types/msg.go
aljo242 c5eb8af
Merge branch 'main' into feat/removal-msg
aljo242 918260f
create simple delete wrapper that is idempotent
aljo242 6a53f07
hooks
aljo242 ec18f6d
test
aljo242 feaf670
fix test
aljo242 41813ad
proto-gen-new
aljo242 7e38f75
track deleted markets
aljo242 1c57735
tested
aljo242 f87466e
e2e
aljo242 439f28d
nice
aljo242 69bed9f
add helper set method
aljo242 846cd22
clean
aljo242 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume we are only succeeded if all markets to be removed exist, and are successfully removed which is why we don't need a response, maybe.
We could support making this message idempotent where we instead succeed if either the market does not exist, or was successfully removed. In that case it might make sense to return how many markets were actually removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to return
[]string
which is the array of markets that were successfully removed.