-
Notifications
You must be signed in to change notification settings - Fork 699
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
Move network
implementation to separate package
#2296
Merged
Merged
Changes from 25 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e910b5d
Move management of platformvm preferred block to `executor.Manager`
dhrubabasu 5851eed
Add `VerifyTx` to `executor.Manager`
dhrubabasu a93a379
`vms/platformvm`: Remove `Network` interface from `Builder`
dhrubabasu 149d211
move to own pkg
dhrubabasu 691f9ec
remove todo
dhrubabasu 87dbb0c
nit
dhrubabasu 23c2ce7
nit
dhrubabasu 85adc91
reduce diff
dhrubabasu c418f6c
Merge branch 'move-preferred-to-blk-manager' into move-verify-tx-to-b…
dhrubabasu bdd6da1
fix merge
dhrubabasu bbcc960
merged
dhrubabasu 662bbdc
merged
dhrubabasu 46cd75c
merged
dhrubabasu f739b51
Move `AddUnverifiedTx` logic to `Network` interface
dhrubabasu b3844a9
Remove `AddUnverifiedTx` from `Builder`
dhrubabasu fec3091
Remove `Network` interface from `Builder`
dhrubabasu ac427c5
merged
dhrubabasu c2515b7
nit
dhrubabasu 3433403
maybe
dhrubabasu 7772c04
fill in contextx
dhrubabasu 068469a
fill in ctxs
dhrubabasu 290e5f3
merged
dhrubabasu 8131488
Merge branch 'remove-network-interface-from-builder' into remove-add-…
dhrubabasu cbc5cee
push
dhrubabasu 9a4b955
nit
dhrubabasu ac930ea
revert
dhrubabasu 8fb176c
merged
dhrubabasu d69f0e4
Merge branch 'delete-add-unverified-tx' into remove-network-interface…
dhrubabasu 5c92cbf
Merge branch 'remove-network-interface-from-builder' into remove-add-…
dhrubabasu 599248a
merged
dhrubabasu eef0f77
Merge branch 'remove-network-interface-from-builder' into remove-add-…
dhrubabasu f6a9140
merged
dhrubabasu 1d1be7c
Merge branch 'dev' into remove-add-unverified-tx
dhrubabasu e0f1b94
nit
dhrubabasu d2cf336
Apply suggestions from code review
StephenButtolph File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved. | ||
// See the file LICENSE for licensing terms. | ||
|
||
package network | ||
|
||
import ( | ||
"testing" | ||
|
||
"go.uber.org/goleak" | ||
) | ||
|
||
func TestMain(m *testing.M) { | ||
goleak.VerifyTestMain(m) | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is used in
builder_test.go
and was originally innetwork_test.go
. Added here as we movednetwork_test.go
to its own pkg