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
@TalPiven13 thanks for pointing at the issue. Although I'm unsure how we'd want to approach this atm I just want to provide some context.
Every message registers itself into the typeRegistry which happens on certain message file import/require. So to fix this every message you expect on the registry needs to be imported first.
Potentially we could solve this by dynamically importing all the types inside that function call but we'd need to give it some thought first.
import { getAkashTypeRegistry} from "@akashnetwork/akashjs/build/stargate"
const types = getAkashTypeRegistry();
console.log(types);
Current Result => undefined;
Expected Result => a map of all types created from Message enum using the string valued as keys and the interfaces for each one as value.
The text was updated successfully, but these errors were encountered: