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
Ignite apps that access the chain instance through the client API die when running from a directory that contains a Go module and a Git repository because that directory is considered a valid app chain.
The error is triggered when accessing the first validator, which is mandatory, which in this case is not configured because the default configuration is used before a validator is initialized. The default config is used because a directory with a go.mod and a .git folder is initially considered an app chain but because it isn't it doesn't contain a config file.
The text was updated successfully, but these errors were encountered:
jeronimoalbi
changed the title
Ignite apps panic on chain get when running inside a Go module
Ignite apps can panic on chain get when running inside a Go module
Feb 14, 2024
Ignite apps that access the chain instance through the client API die when running from a directory that contains a Go module and a Git repository because that directory is considered a valid app chain.
The error is triggered when accessing the first validator, which is mandatory, which in this case is not configured because the default configuration is used before a validator is initialized. The default config is used because a directory with a
go.mod
and a.git
folder is initially considered an app chain but because it isn't it doesn't contain a config file.The text was updated successfully, but these errors were encountered: