-
Notifications
You must be signed in to change notification settings - Fork 490
chore: Register all contracts in IBCv2 port router #2277
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
base: main
Are you sure you want to change the base?
Conversation
644017b
to
082f2ff
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2277 +/- ##
==========================================
- Coverage 44.90% 44.87% -0.03%
==========================================
Files 79 79
Lines 11035 11050 +15
==========================================
+ Hits 4955 4959 +4
- Misses 5643 5654 +11
Partials 437 437
🚀 New features to boost your workflow:
|
e1f584e
to
7f3d719
Compare
|
||
// TODO: Remove the registration of each contract in https://github.com/CosmWasm/wasmd/issues/2278 | ||
// and add IBCv2 port ID prefix before calling `SetRouterV2` during WasmKeeper creation. | ||
app.WasmKeeper.RegisterContractsInIbc2Router(ctx) |
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 couldn't find a way to test the contracts registration during the app initialization procedure. It seems like the contracts list on the app start up is always empty. As for now I found out that the only way to update the application with an up-to-date state is via InitGenesis
procedure.
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've tested that manually - the contracts are registered in the RouterV2 after reboot of wasmd
7f3d719
to
d2a1e80
Compare
No description provided.