Skip to content

Commit

Permalink
Prysm Web V1 Release (#7921)
Browse files Browse the repository at this point in the history
* even more cors

* auth fixes for web v1

* ensure web works

* include web ui v1 release

* new site data

* fmt

* test

* tests pass

* gaz

* build fix

* no ssz

* unused type

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
  • Loading branch information
rauljordan and prestonvanloon committed Nov 23, 2020
1 parent f871e1f commit 0c5c246
Show file tree
Hide file tree
Showing 16 changed files with 788 additions and 2,486 deletions.
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ filegroup(
visibility = ["//visibility:public"],
)
""",
sha256 = "6bb16ff0dc9348090cc31a9ea453643d32b617e66ac6e7bb38985d530070631b",
sha256 = "09a8377bd3abf76d3bd14570f001cc7f00ef0e11fe314cee626d3a3ccbae506e",
urls = [
"https://github.com/prysmaticlabs/prysm-web-ui/releases/download/0.0.2-alpha/prysm-web-ui.tar.gz",
"https://github.com/prysmaticlabs/prysm-web-ui/releases/download/v1.0.0-beta.0/prysm-web-ui.tar.gz",
],
)

Expand Down
6 changes: 3 additions & 3 deletions proto/testing/ssz_static_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/prysmaticlabs/go-ssz"
"github.com/prysmaticlabs/prysm/beacon-chain/state"
pb "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1"
webpb "github.com/prysmaticlabs/prysm/proto/validator/accounts/v2"
"github.com/prysmaticlabs/prysm/shared/params/spectest"
"github.com/prysmaticlabs/prysm/shared/testutil"
"github.com/prysmaticlabs/prysm/shared/testutil/require"
Expand Down Expand Up @@ -105,10 +104,11 @@ func UnmarshalledSSZ(t *testing.T, serializedBytes []byte, folderName string) (i
obj = &ethpb.Checkpoint{}
case "Deposit":
obj = &ethpb.Deposit{}
case "DepositMessage":
t.Skip("Unused type")
return nil, nil
case "DepositData":
obj = &ethpb.Deposit_Data{}
case "DepositMessage":
obj = &webpb.DepositMessage{}
case "Eth1Data":
obj = &ethpb.Eth1Data{}
case "Eth1Block":
Expand Down
11 changes: 0 additions & 11 deletions proto/validator/accounts/v2/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@prysm//tools/go:def.bzl", "go_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@com_github_prysmaticlabs_ethereumapis//tools:ssz.bzl", "SSZ_DEPS", "ssz_gen_marshal")

# gazelle:ignore
proto_library(
Expand All @@ -19,14 +18,6 @@ proto_library(
],
)

ssz_gen_marshal(
name = "ssz_generated_files",
go_proto = ":ethereum_validator_account_go_proto",
objs = [
"DepositMessage",
],
)

go_proto_library(
name = "ethereum_validator_account_gateway_proto",
compilers = [
Expand Down Expand Up @@ -61,9 +52,7 @@ go_proto_library(

go_library(
name = "go_default_library",
srcs = [":ssz_generated_files"],
embed = [":ethereum_validator_account_go_proto"],
importpath = "github.com/prysmaticlabs/prysm/proto/validator/accounts/v2",
visibility = ["//visibility:public"],
deps = SSZ_DEPS,
)
97 changes: 0 additions & 97 deletions proto/validator/accounts/v2/generated.ssz.go

This file was deleted.

0 comments on commit 0c5c246

Please sign in to comment.