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
For my understanding, essentially there are imports that could not be resolved by proto. By allowing these imports to be unresolved and thus replaced by a placeholder file, we avoid a panic and this is safe because the files in question are unused?
Summary of Bug
When trying to upgrade the Evmos chain to use ibc-go v7.5.0, encountered an issue related to the changes introduced in #5785.
On starting the chain binary, the application panics with the error
This panic is triggered in the
newModuleQuerySafeAllowList
function, when callinggogoproto.MergedRegistry()
. It is related to the memIAVL dependency, specifically thememiavl/wal.proto
file.The panic happens because the file is registered using the
proto.RegisterFile
function which usesFileOptions{AllowUnresolvable: true}
, while thegogoproto.MergedRegistry()
uses the functionprotodesc.NewFiles()
, which usesFileOptions{}.NewFiles(fd)
(i.e.AllowUnresolvable: false
). In theprotodesc.New()
function called by theprotodesc.NewFiles()
there's the corresponding logicIn the reported case, the error is
protoregistry.NotFound
and theo.AllowUnresolvable == false
, so the application panics.Expected Behaviour
Should not panic
Version
v7.5.0
And any other version with the changes introduced in #5785
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: