When trying to use the Validators module in an application, it complains about missing instances.
Specifically:
No instance for (QueryData V.PubKey_)
and
No instance for (Tendermint.SDK.Codec.HasCodec (Data.Map.Internal.Map V.PubKey_ GHC.Word.Word64))
I gather this is a result of the query methods GetPowerOf (which uses PubKey_ as a search key), and GetValidators which returns the full Map.
Bugfix for Validators module.
When trying to use the Validators module in an application, it complains about missing instances. Specifically:
No instance for (QueryData V.PubKey_)
andNo instance for (Tendermint.SDK.Codec.HasCodec (Data.Map.Internal.Map V.PubKey_ GHC.Word.Word64))
I gather this is a result of the query methods
GetPowerOf
(which uses PubKey_ as a search key), andGetValidators
which returns the fullMap
.