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

Goal: add --start option for network create command #4902

Merged

Conversation

mciccarello
Copy link
Contributor

Summary

Added --start flag to "goal network create" that will cause the network to be run after creation.

Test Plan

Manually run.

@codecov
Copy link

codecov bot commented Dec 13, 2022

Codecov Report

Merging #4902 (2859a93) into master (8327fc7) will increase coverage by 0.01%.
The diff coverage is 14.28%.

@@            Coverage Diff             @@
##           master    #4902      +/-   ##
==========================================
+ Coverage   53.52%   53.54%   +0.01%     
==========================================
  Files         422      422              
  Lines       53852    53859       +7     
==========================================
+ Hits        28826    28840      +14     
+ Misses      22704    22699       -5     
+ Partials     2322     2320       -2     
Impacted Files Coverage Δ
cmd/goal/network.go 16.49% <14.28%> (-0.18%) ⬇️
ledger/acctupdates.go 69.34% <0.00%> (-0.25%) ⬇️
network/wsPeer.go 69.68% <0.00%> (+0.23%) ⬆️
catchup/peerSelector.go 100.00% <0.00%> (+1.04%) ⬆️
crypto/merkletrie/node.go 93.48% <0.00%> (+1.86%) ⬆️
crypto/merkletrie/trie.go 68.61% <0.00%> (+2.18%) ⬆️
ledger/blockqueue.go 88.50% <0.00%> (+2.87%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mciccarello
Copy link
Contributor Author

@winder could use a review

winder
winder previously approved these changes Jan 11, 2023
@@ -112,6 +114,16 @@ var networkCreateCmd = &cobra.Command{
}

reportInfof(infoNetworkCreated, network.Name(), networkRootDir)

if startOnCreation {
fmt.Printf("startOnCreation true\n")
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove the debug output

@algorandskiy algorandskiy merged commit f7e96d2 into algorand:master Jan 30, 2023
@algorandskiy algorandskiy changed the title Goal: --start option for network create command Goal: add --start option for network create command Jan 30, 2023
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.

4 participants