You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, AminoTypes works by having a set of default types and additions.
However, that conflicts with the idea of having independent modules and very different client configurations for each chain. It also makes testing hard.
Let The AminoTypes class take a AminoConverters (same as Record<string, AminoConverter | "not_supported_by_chain">) argument in the constructor
Move function createDefaultTypes(prefix: string): AminoConverters to the SigningStargateClient
Export all create*AminoConverters in @cosmjs/stargate
Use only auth, bank and wasm Amino converter types in the AminoTypes instance of the SigningCosmWasmClient
Split test from packages/stargate/src/aminotypes.spec.ts and move them to src/modules/*/aminomessages.spec.ts
Move AminoConverter/AminoConverters into packages/stargate/src/aminotypes.ts
CHANGELOG
The text was updated successfully, but these errors were encountered:
Right now, AminoTypes works by having a set of default types and additions.
However, that conflicts with the idea of having independent modules and very different client configurations for each chain. It also makes testing hard.
AminoTypes
class take aAminoConverters
(same asRecord<string, AminoConverter | "not_supported_by_chain">
) argument in the constructorfunction createDefaultTypes(prefix: string): AminoConverters
to theSigningStargateClient
create*AminoConverters
in @cosmjs/stargateAminoTypes
instance of theSigningCosmWasmClient
packages/stargate/src/aminotypes.spec.ts
and move them tosrc/modules/*/aminomessages.spec.ts
AminoConverter
/AminoConverters
intopackages/stargate/src/aminotypes.ts
The text was updated successfully, but these errors were encountered: