erigontech / erigontech/erigon
SnapsPanic on empty ChainName
Open
ErigonDB
- Dominant language
- Go
- Stars
- 3.6k
- Forks
- 1.5k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 455
Description
after https://github.com/erigontech/erigon/issues/13017
- add panic to:
```
if cfg.ChainName == "" {
log.Debug("[dbg] NewCaplinSnapshots created with empty ChainName", "stack", dbg.Stack())
}
```
or somehow avoid usage of ChainName by `KnownCfg` method
- add panic to:
```
func Seedable(networkName string, info snaptype.FileInfo) bool {
if networkName == "" {
return false
}
```
- same about
```
if cfg.ChainName == "" {
log.Debug("[dbg] newRoSnapshots created with empty ChainName", "stack", dbg.Stack())
}
```
Contributor guide
Assessment
This issue has not been assessed yet.