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

Remove lists from Chits messages #1412

Merged
merged 29 commits into from
Jun 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5a1bdb3
If the network is not fuji or mainnet linearize on init
StephenButtolph Mar 20, 2023
f6d6d18
Loop until stop vertex is accepted
StephenButtolph Mar 20, 2023
3c96f9b
If the stop vertex is accepted, transition to snowman bootstrapping
StephenButtolph Mar 20, 2023
9f1f252
merged
StephenButtolph Mar 20, 2023
af9460a
merged
StephenButtolph Apr 13, 2023
75f42a5
wip removing avalanche consensus engine
StephenButtolph Apr 13, 2023
1be3d27
Use require in Avalanche bootstrapping tests
StephenButtolph Apr 13, 2023
9614cec
Merge branch 'cleanup-avalanche-bootstrap-tests' into linearize-on-start
StephenButtolph Apr 13, 2023
853a70c
merged
StephenButtolph Apr 13, 2023
dd8c14f
remove bootstrapping tests from the consensus engine
StephenButtolph Apr 13, 2023
fff4c15
lint
StephenButtolph Apr 13, 2023
83cb219
wip fix tests
StephenButtolph Apr 14, 2023
c56755a
fix tests
StephenButtolph Apr 14, 2023
395e510
Merge branch 'dev' into cleanup-avalanche-bootstrap-tests
StephenButtolph Apr 14, 2023
1d8904b
Merge branch 'cleanup-avalanche-bootstrap-tests' into linearize-on-start
StephenButtolph Apr 14, 2023
50e9ebd
Update metrics
StephenButtolph Apr 14, 2023
ad9b139
Merge branch 'linearize-on-start' of github.com:ava-labs/avalanchego …
StephenButtolph Apr 14, 2023
708b260
remove whitelist vtx tests
StephenButtolph Apr 14, 2023
caa60ba
Remove avalanche consensus
StephenButtolph Apr 15, 2023
5b8ae87
Remove whitelist interface
StephenButtolph Apr 15, 2023
798d62b
Remove more dead code
StephenButtolph Apr 15, 2023
d56f8da
deadcode
StephenButtolph Apr 15, 2023
b113a2b
merged
StephenButtolph Apr 24, 2023
87d0f99
merged
StephenButtolph Apr 24, 2023
06ee7bf
Remove lists from Chits messages
StephenButtolph Apr 24, 2023
869a04a
merged
StephenButtolph Apr 25, 2023
0abb509
Merge branch 'remove-avalanche-consensus' into simplify-chits-message
StephenButtolph Apr 25, 2023
4991f15
merged
StephenButtolph Jun 1, 2023
c824df4
remove old comment
StephenButtolph Jun 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merged
  • Loading branch information
StephenButtolph committed Apr 24, 2023
commit b113a2b848a05b783d80216ad9dd53e775cdf574
16 changes: 8 additions & 8 deletions snow/engine/avalanche/bootstrap/bootstrapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func TestBootstrapperSingleFrontier(t *testing.T) {
case bytes.Equal(vtxBytes, vtxBytes2):
return vtx2, nil
default:
t.Fatal(errParsedUnknownVertex)
require.FailNow(errParsedUnknownVertex.Error())
panic(errParsedUnknownVertex)
}
}
Expand Down Expand Up @@ -303,7 +303,7 @@ func TestBootstrapperByzantineResponses(t *testing.T) {
vtx2.StatusV = choices.Processing
return vtx2, nil
default:
t.Fatal(errParsedUnknownVertex)
require.FailNow(errParsedUnknownVertex.Error())
panic(errParsedUnknownVertex)
}
}
Expand Down Expand Up @@ -445,7 +445,7 @@ func TestBootstrapperTxDependencies(t *testing.T) {
case bytes.Equal(vtxBytes, vtxBytes0):
return vtx0, nil
default:
t.Fatal(errParsedUnknownVertex)
require.FailNow(errParsedUnknownVertex.Error())
panic(errParsedUnknownVertex)
}
}
Expand Down Expand Up @@ -479,7 +479,7 @@ func TestBootstrapperTxDependencies(t *testing.T) {
vtx0.StatusV = choices.Processing
return vtx0, nil
default:
t.Fatal(errParsedUnknownVertex)
require.FailNow(errParsedUnknownVertex.Error())
panic(errParsedUnknownVertex)
}
}
Expand Down Expand Up @@ -588,7 +588,7 @@ func TestBootstrapperIncompleteAncestors(t *testing.T) {
case bytes.Equal(vtxBytes, vtxBytes2):
return vtx2, nil
default:
t.Fatal(errParsedUnknownVertex)
require.FailNow(errParsedUnknownVertex.Error())
panic(errParsedUnknownVertex)
}
}
Expand Down Expand Up @@ -706,7 +706,7 @@ func TestBootstrapperFinalized(t *testing.T) {
parsedVtx1 = true
return vtx1, nil
default:
t.Fatal(errUnknownVertex)
require.FailNow(errUnknownVertex.Error())
panic(errUnknownVertex)
}
}
Expand Down Expand Up @@ -842,7 +842,7 @@ func TestBootstrapperAcceptsAncestorsParents(t *testing.T) {
parsedVtx2 = true
return vtx2, nil
default:
t.Fatal(errUnknownVertex)
require.FailNow(errUnknownVertex.Error())
panic(errUnknownVertex)
}
}
Expand Down Expand Up @@ -1035,7 +1035,7 @@ func TestRestartBootstrapping(t *testing.T) {
parsedVtx5 = true
return vtx5, nil
default:
t.Fatal(errUnknownVertex)
require.FailNow(errUnknownVertex.Error())
panic(errUnknownVertex)
}
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.