Applies diff from https://github.com/cosmos/cosmjs/pull/1015
Helpers for Amino for @cosmjs/stargate.
This package is part of the cosmjs repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).