wrapper.GetPubKeys silently ignore unpacked keys #8129
Labels
C:x/auth
T: API Breaking
Breaking changes that impact APIs and the SDK only (not state machine).
T:Bug
Milestone
Summary of an Issue
wrapper
is a structure which providesTxBuilder
functionality. One of the interface methods isGetPubKeys
. There is a dangerous, undocumented behavior.wrapper
stores signers public keys in aAny
structure to support proto marshaling.We must make sure that whenever we add keys to the
wrapper
, they should be unpacked, otherwise this can lead to an difficult to catch issues.Version: v0.40
Proposal
wrapper.GetPubKeys
should return internal error.For Admin Use
The text was updated successfully, but these errors were encountered: