Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SnapsPanic on empty ChainName #13019

Open
AskAlexSharov opened this issue Dec 6, 2024 · 0 comments
Open

SnapsPanic on empty ChainName #13019

AskAlexSharov opened this issue Dec 6, 2024 · 0 comments
Labels
erigon3 imp2 Medium importance

Comments

@AskAlexSharov
Copy link
Collaborator

after #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())
	}
	
@AskAlexSharov AskAlexSharov added imp2 Medium importance erigon3 labels Dec 6, 2024
@AskAlexSharov AskAlexSharov modified the milestone: 3.0.0-beta2 Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erigon3 imp2 Medium importance
Projects
None yet
Development

No branches or pull requests

1 participant