imp(ibc-testkit): Deprecate MockContext::new*
methods and their uses in favor of MockContextConfig
#1042
Milestone
MockContext::new*
methods and their uses in favor of MockContextConfig
#1042
Bug Summary
Rust doesn't have default arguments in methods. So
MockContext
has two methods that allow initialization with default arguments in a hacky way.We introduced
MockContextConfig
earlier to adopt the builder pattern.But our tests are yet to be refactored to use
MockContextConfig
overMockContext::new
.Details
The following methods need to be deprecated
ibc-rs/ibc-testkit/src/testapp/ibc/core/types.rs
Lines 186 to 191 in d5e8314
ibc-rs/ibc-testkit/src/testapp/ibc/core/types.rs
Lines 244 to 249 in d5e8314
in favor of
ibc-rs/ibc-testkit/src/fixtures/core/context.rs
Lines 17 to 40 in d5e8314
Version
till v0.49.1
The text was updated successfully, but these errors were encountered: