Remove Eth2-Types Dependency in Prysm (#10578)

* replace eth2 types

* replace protos

* regen proto

* replace

* gaz

* deps

* amend

* regen proto

* mod

* gaz

* gaz

* ensure build

* ssz

* add dep

* no more eth2 types

* no more eth2

* remg

* all builds

* buidl

* tidy

* clean

* fmt

* val serv

* gaz

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
This commit is contained in:
Raul Jordan
2022-04-29 14:32:11 +00:00
committed by GitHub
parent 2f29bb64f6
commit 84916672c6
690 changed files with 6570 additions and 6295 deletions

View File

@@ -15,6 +15,5 @@ go_test(
deps = [
":go_default_library",
"//testing/require:go_default_library",
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
],
)

View File

@@ -5,7 +5,6 @@ import (
stdmath "math"
"testing"
types "github.com/prysmaticlabs/eth2-types"
"github.com/prysmaticlabs/prysm/math"
"github.com/prysmaticlabs/prysm/testing/require"
)
@@ -143,7 +142,7 @@ func TestMath_Mod(t *testing.T) {
{args: args{1<<63 + 1, 2}, res: 1},
}
for _, tt := range tests {
got, err := types.Mod64(tt.args.a, tt.args.b)
got, err := math.Mod64(tt.args.a, tt.args.b)
if tt.err && err == nil {
t.Errorf("Mod64() Expected Error = %v, want error", tt.err)
continue