Update go to 1.19.3 (#11630)

* Update go to 1.19.3

* Update other items to 1.19

* Update golangci-lint to latest release

* Run gofmt -s with go1.19

* Huge gofmt changes

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
This commit is contained in:
Preston Van Loon
2022-11-18 14:12:19 -05:00
committed by GitHub
parent 07d0a00f88
commit 4b033f4cc7
88 changed files with 1603 additions and 1470 deletions

View File

@@ -215,8 +215,9 @@ func TestStore_Prune_ReturnEarly(t *testing.T) {
// This unit tests starts with a simple branch like this
//
// - 1
// - 1
// /
//
// -- 0 -- 2
//
// And we finalize 1. As a result only 1 should survive
@@ -237,17 +238,15 @@ func TestStore_Prune_NoDanglingBranch(t *testing.T) {
}
// This test starts with the following branching diagram
/// We start with the following diagram
//
// E -- F
// /
// C -- D
// / \
// A -- B G -- H -- I
// \ \
// J -- K -- L
//
// / We start with the following diagram
//
// E -- F
// /
// C -- D
// / \
// A -- B G -- H -- I
// \ \
// J -- K -- L
func TestStore_tips(t *testing.T) {
ctx := context.Background()
f := setup(1, 1)