Skip to content

Conversation

@JonathanOppenheimer
Copy link
Member

* Enable state sync by default

* add comment
return errFirewoodOfflinePruningUnsupported
}
if vm.config.StateSyncEnabled {
if vm.config.StateSyncEnabled == nil || *vm.config.StateSyncEnabled {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the difference is rectified! annoyed me a couple months ago.

Comment on lines -343 to -347
// NetworkID here is different than Avalanche's NetworkID.
// Avalanche's NetworkID represents the Avalanche network is running on
// like Fuji, Mainnet, Local, etc.
// The NetworkId here is kept same as ChainID to be compatible with
// Ethereum tooling.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment is not present in coreth, but not part of the original PR. I removed it to align the two repositories.

@JonathanOppenheimer
Copy link
Member Author

After being educated by Stephen and Cey, I learned why this was a bad idea. Instead, I will do the far less harmful task of aligning the config.go file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants