mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
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:
@@ -15,6 +15,5 @@ go_test(
|
||||
deps = [
|
||||
":go_default_library",
|
||||
"//testing/require:go_default_library",
|
||||
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user