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
Hi, I am running an appchain using the latest sdk version (0.50.8) and I am trying to run test but I am getting error in my code which I have posted below:
Error is originating from this code(here cctptypes is a dependency that i am importing in my repo):
The error is:
"unable to resolve type URL /cctp.MsgAddRemoteTokenMessenger"
I have pasted the code snippet of its tx.pb.go file :
proto.RegisterType((*MsgAddRemoteTokenMessenger)(nil), "cctp.MsgAddRemoteTokenMessenger")
proto.RegisterType((*MsgAddRemoteTokenMessengerResponse)(nil), "cctp.MsgAddRemoteTokenMessengerResponse")
where could the issue be?
Hi, I am running an appchain using the latest sdk version (0.50.8) and I am trying to run test but I am getting error in my code which I have posted below:
Error is originating from this code(here cctptypes is a dependency that i am importing in my repo):
msgs := []sdk.Msg{}
The error is:
"unable to resolve type URL /cctp.MsgAddRemoteTokenMessenger"
I have pasted the code snippet of its tx.pb.go file :
proto.RegisterType((*MsgAddRemoteTokenMessenger)(nil), "cctp.MsgAddRemoteTokenMessenger")
proto.RegisterType((*MsgAddRemoteTokenMessengerResponse)(nil), "cctp.MsgAddRemoteTokenMessengerResponse")
where could the issue be?
I have added these lines in my app.go file:
app.BasicModuleManager = module.NewBasicManagerFromManager(
app.mm,
map[string]module.AppModuleBasic{
genutiltypes.ModuleName: genutil.NewAppModuleBasic(genutiltypes.DefaultMessageValidator),
govtypes.ModuleName: gov.NewAppModuleBasic(
[]govclient.ProposalHandler{
paramsclient.ProposalHandler,
},
),
CCTPModuleName: cctp.AppModuleBasic{}
},
)
The text was updated successfully, but these errors were encountered: