-
Notifications
You must be signed in to change notification settings - Fork 772
[Not to be merged] Integrate Simplex within Avalanchego #3957
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Yacov Manevich <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
@@ -24,7 +24,7 @@ const ( | |||
DefaultNetworkTimeout = 2 * time.Minute | |||
|
|||
// Minimum required to ensure connectivity-based health checks will pass | |||
DefaultNodeCount = 2 | |||
DefaultNodeCount = 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(No action required) Note that this can also be configured with the --node-count
flag.
@@ -57,7 +57,7 @@ func DefaultTmpnetFlags() FlagsMap { | |||
config.PublicIPKey: "127.0.0.1", | |||
config.HTTPHostKey: "127.0.0.1", | |||
config.StakingHostKey: "127.0.0.1", | |||
config.LogDisplayLevelKey: logging.Off.String(), // Display logging not needed since nodes run headless | |||
config.LogDisplayLevelKey: logging.Info.String(), // Display logging not needed since nodes run headless |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(No action required) Note that master no longer sets a value for log display level, so the value ends up the same as log-level.
if m.TracingEnabled { | ||
messageSender = sender.Trace(messageSender, m.Tracer) | ||
} | ||
|
||
chainConfig, err := m.getChainConfig(ctx.ChainID) | ||
if err != nil { | ||
return nil, fmt.Errorf("error while fetching chain config: %w", err) | ||
} | ||
|
||
if m.TracingEnabled { | ||
vm = tracedvm.NewBlockVM(vm, primaryAlias, m.Tracer) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yacovm what is the purpose of setting the vm twice if tracing is enabled?
vm = tracedvm.NewBlockVM(vm, primaryAlias, m.Tracer)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it just wraps the VM with a tracing VM
This PR has become stale because it has been open for 30 days with no activity. Adding the |
Why this should be merged
How this works
How this was tested
Need to be documented in RELEASES.md?