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

feat: removal message #772

Merged
merged 42 commits into from
Sep 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
594d6b7
init proto
Sep 17, 2024
c22b466
gen proto:
Sep 17, 2024
44b9fc5
Merge branch 'main' into feat/removal-msg
Sep 20, 2024
5364064
validate basic
Sep 20, 2024
e812c89
test
Sep 20, 2024
0d0e239
interface registry
Sep 20, 2024
4ca8ad9
delete enabled
Sep 20, 2024
62776ab
msg handler
Sep 20, 2024
fb64aed
init test
Sep 20, 2024
8e0081e
format
Sep 20, 2024
0e55072
hooks and mocks
Sep 20, 2024
a749d36
hooks
Sep 20, 2024
d00d7e3
testingtown
Sep 20, 2024
a69fe19
update
Sep 20, 2024
bfcd9b8
todos
Sep 23, 2024
786d3bc
Merge branch 'main' into feat/removal-msg
Sep 23, 2024
4ab6bfe
admin
Sep 23, 2024
5b07a79
admin fix
Sep 23, 2024
713c7eb
test
Sep 23, 2024
4cfbb95
clean
Sep 23, 2024
68414d8
test
Sep 23, 2024
bc9c93c
Merge branch 'main' into feat/removal-msg
Sep 23, 2024
c0f9cc0
Merge branch 'main' into feat/removal-msg
Sep 24, 2024
205f63d
clean
Sep 24, 2024
730d774
some logs
Sep 24, 2024
a6c710b
keep enabled in integ
Sep 24, 2024
77d2b69
format
Sep 24, 2024
ef2383f
Merge branch 'main' into feat/removal-msg
Sep 24, 2024
02886b9
Merge branch 'main' into feat/removal-msg
Sep 24, 2024
a66e198
Update x/marketmap/types/msg.go
Sep 24, 2024
c5eb8af
Merge branch 'main' into feat/removal-msg
Sep 26, 2024
918260f
create simple delete wrapper that is idempotent
Sep 27, 2024
6a53f07
hooks
Sep 27, 2024
ec18f6d
test
Sep 27, 2024
feaf670
fix test
Sep 27, 2024
41813ad
proto-gen-new
Sep 27, 2024
7e38f75
track deleted markets
Sep 27, 2024
1c57735
tested
Sep 27, 2024
f87466e
e2e
Sep 27, 2024
439f28d
nice
Sep 27, 2024
69bed9f
add helper set method
Sep 27, 2024
846cd22
clean
Sep 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
hooks
aljo242 committed Sep 20, 2024

Verified

This commit was signed with the committer’s verified signature.
derekpierre Derek Pierre
commit a749d366f9b951c1a9dc8751c34ad2b39915e552
7 changes: 7 additions & 0 deletions x/oracle/keeper/hooks.go
Original file line number Diff line number Diff line change
@@ -45,3 +45,10 @@ func (h Hooks) AfterMarketGenesis(ctx sdk.Context, markets map[string]marketmapt

return nil
}

// AfterMarketRemoved is the marketmap hook for x/oracle that is run after a market is removed in
// the marketmap.
func (h Hooks) AfterMarketRemoved(_ sdk.Context, _ marketmaptypes.Market) error {
// TODO
return nil
}