Limit the creation of uncessary EncodingConfigs #7631
Labels
T: Tests
Type: Code Hygiene
General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
Summary
In some tests we are creating and using encoding config in addition to the codec object in
app
:Moreover we have
RegisterInterfaces
module functions which use a module global codec variable.Related to:
amino
codec instances #7310 Remove globalamino
codec instancesProblem Definition
Managing codec objects is cumbersome and error prone. Errors usually panic and it's hard to debug.
Proposal
Make a canonical way how we will use codec in tests and in modules.
For Admin Use
The text was updated successfully, but these errors were encountered: