-
Notifications
You must be signed in to change notification settings - Fork 65
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
c22b466
gen proto:
44b9fc5
Merge branch 'main' into feat/removal-msg
5364064
validate basic
e812c89
test
0d0e239
interface registry
4ca8ad9
delete enabled
62776ab
msg handler
fb64aed
init test
8e0081e
format
0e55072
hooks and mocks
a749d36
hooks
d00d7e3
testingtown
a69fe19
update
bfcd9b8
todos
786d3bc
Merge branch 'main' into feat/removal-msg
4ab6bfe
admin
5b07a79
admin fix
713c7eb
test
4cfbb95
clean
68414d8
test
bc9c93c
Merge branch 'main' into feat/removal-msg
c0f9cc0
Merge branch 'main' into feat/removal-msg
205f63d
clean
730d774
some logs
a6c710b
keep enabled in integ
77d2b69
format
ef2383f
Merge branch 'main' into feat/removal-msg
02886b9
Merge branch 'main' into feat/removal-msg
a66e198
Update x/marketmap/types/msg.go
c5eb8af
Merge branch 'main' into feat/removal-msg
918260f
create simple delete wrapper that is idempotent
6a53f07
hooks
ec18f6d
test
feaf670
fix test
41813ad
proto-gen-new
7e38f75
track deleted markets
1c57735
tested
f87466e
e2e
439f28d
nice
69bed9f
add helper set method
846cd22
clean
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.