-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Using main.go, I am trying to query block 3513 from an Osmosis Archive Node. Although I am able to retrieve the block, I am unable to retrieve the transactions with the following error message:
rpc error: code = Unknown desc = unable to resolve type URL /osmosis.gamm.v1beta1.MsgCreatePool: tx parse error: unknown request
I have also attempted to add the following lines to the MakeCodec function, with the hopes of the system being able to recognize the MsgCreatePool transaction, however had no luck:
func MakeCodec(moduleBasics []module.AppModuleBasic) Codec {
modBasic := module.NewBasicManager(moduleBasics...)
encodingConfig := MakeCodecConfig()
std.RegisterLegacyAminoCodec(encodingConfig.Amino)
std.RegisterInterfaces(encodingConfig.InterfaceRegistry)
modBasic.RegisterLegacyAminoCodec(encodingConfig.Amino)
modBasic.RegisterInterfaces(encodingConfig.InterfaceRegistry)
---> RegisterOsmosisInterfaces(encodingConfig.InterfaceRegistry)
---> RegisterTendermintLiquidityInterfaces(encodingConfig.Amino, encodingConfig.InterfaceRegistry)
return encodingConfig
}
Is there something I am doing incorrectly, or is this a bug?
NB: Querying other blocks not containing this transaction type works as intended.
TIA
Metadata
Metadata
Assignees
Labels
No labels