diff --git a/INTEROP.md b/INTEROP.md index eb2479acec..dd5551a5bd 100644 --- a/INTEROP.md +++ b/INTEROP.md @@ -15,15 +15,14 @@ prevents deterministically generating more keys than those. Prysm supports a few ways to quickly launch a beacon node from basic configurations: -- `SSZ Genesis`: Launches a beacon node from a .ssz file containing a SSZ-encoded, genesis beacon state **(Recommended)** -- `Yaml Genesis`: Launches a beacon node from a .yaml file specifying a genesis beacon state - binary data is _base64 encoded_ -- `JSON Genesis`: Launches a beacon node from a .json file specifying a genesis beacon state - binary data is _base64 encoded_ +- `NumValidators + GenesisTime`: Launches a beacon node by deterministically generating a state from a num-validators flag along with a genesis time **(Recommended)** +- `SSZ Genesis`: Launches a beacon node from a .ssz file containing a SSZ-encoded, genesis beacon state ## Generating a Genesis State -To setup the necessary files for these quick starts, Prysm provides a tool to generate `genesis.yaml`, `genesis.ssz`, `genesis.json` from an +To setup the necessary files for these quick starts, Prysm provides a tool to generate a `genesis.ssz` from a deterministically generated set of validator private keys following the official interop YAML format -[here](https://github.com/ethereum/eth2.0-pm/blob/master/interop/mocked_start). If you already have a genesis state in this format, you can skip this section. +[here](https://github.com/ethereum/eth2.0-pm/blob/master/interop/mocked_start). You can use `bazel run //tools/genesis-state-gen` to create a deterministic genesis state for interop. @@ -32,17 +31,67 @@ You can use `bazel run //tools/genesis-state-gen` to create a deterministic gene - **--genesis-time** uint: Unix timestamp used as the genesis time in the generated genesis state - **--mainnet-config** bool: Select whether genesis state should be generated with mainnet or minimal (default) params - **--num-validators** int: Number of validators to deterministically include in the generated genesis state -- **--output-json** string: Output filename of the JSON marshaling of the generated genesis state - **--output-ssz** string: Output filename of the SSZ marshaling of the generated genesis state -- **--output-yaml** string: Output filename of the YAML marshaling of the generated genesis state -The example below creates 10 validator keys, instantiates a genesis state with those 10 validators and with genesis time 1567542540, +The example below creates 64 validator keys, instantiates a genesis state with those 64 validators and with genesis unix timestamp 1567542540, and finally writes a YAML encoded output to ~/Desktop/genesis.yaml. This file can be used to kickstart the beacon chain in the next section. ``` -bazel run //tools/genesis-state-gen -- --output-yaml ~/Desktop/genesis.yaml --num-validators 10 --genesis-time 1567542540 +bazel run //tools/genesis-state-gen -- --output-yaml ~/Desktop/genesis.yaml --num-validators 64 --genesis-time 1567542540 ``` ## Launching a Beacon Node + Validator Client -TODO: Add section after incorporating the mock start functionality into the beacon chain and validator bazel binaries. \ No newline at end of file +### Launching from Pure CLI Flags + +Open up two terminal windows, run: + +``` +bazel run //beacon-chain -- \ +--no-genesis-delay \ +--bootstrap-node= \ +--deposit-contract 0xD775140349E6A5D12524C6ccc3d6A1d4519D4029 \ +--clear-db \ +--interop-num-validators 64 \ +--interop-genesis-time=$(date +%s) \ +--interop-eth1data-votes +``` + +This will deterministically generate a beacon genesis state and start +the system with 64 validators and the genesis time set to the current unix timestamp. +Wait a bit until your beacon chain starts, and in the other window: + +``` +bazel run //validator -- --interop-num-validators 64 +``` + +This will launch and kickstart the system with your 64 validators performing their duties accordingly. +specify which keys + +### Launching from `genesis.ssz` + +Assuming you generated a `genesis.ssz` file with 64 validators, open up two terminal windows, run: + +``` + bazel run //beacon-chain -- \ +--no-genesis-delay \ +--bootstrap-node= \ +--deposit-contract 0xD775140349E6A5D12524C6ccc3d6A1d4519D4029 \ +--clear-db \ +--interop-genesis-state /path/to/genesis.ssz \ +--interop-eth1data-votes +``` + +Wait a bit until your beacon chain starts, and in the other window: + +``` +bazel run //validator -- --interop-num-validators 64 +``` + +This will launch and kickstart the system with your 64 validators performing their duties accordingly. + + + + + + diff --git a/beacon-chain/blockchain/chain_info.go b/beacon-chain/blockchain/chain_info.go index d659e1e58b..c8370cac5d 100644 --- a/beacon-chain/blockchain/chain_info.go +++ b/beacon-chain/blockchain/chain_info.go @@ -17,6 +17,11 @@ type ChainInfoFetcher interface { FinalizationFetcher } +// GenesisTimeFetcher retrieves the Eth2 genesis timestamp. +type GenesisTimeFetcher interface { + GenesisTime() time.Time +} + // HeadFetcher defines a common interface for methods in blockchain service which // directly retrieves head related data. type HeadFetcher interface { diff --git a/beacon-chain/blockchain/chain_info_test.go b/beacon-chain/blockchain/chain_info_test.go index 03c99537ba..5b84dd6ba0 100644 --- a/beacon-chain/blockchain/chain_info_test.go +++ b/beacon-chain/blockchain/chain_info_test.go @@ -14,6 +14,7 @@ import ( // Ensure Service implements chain info interface. var _ = ChainInfoFetcher(&Service{}) +var _ = GenesisTimeFetcher(&Service{}) func TestFinalizedCheckpt_Nil(t *testing.T) { c := setupBeaconChain(t, nil) diff --git a/beacon-chain/blockchain/service.go b/beacon-chain/blockchain/service.go index e2591d70ad..cb44a7255c 100644 --- a/beacon-chain/blockchain/service.go +++ b/beacon-chain/blockchain/service.go @@ -175,8 +175,8 @@ func (s *Service) Stop() error { return nil } -// Status always returns nil. -// TODO(1202): Add service health checks. +// Status always returns nil unless there is an error condition that causes +// this service to be unhealthy. func (s *Service) Status() error { if runtime.NumGoroutine() > int(s.maxRoutines) { return fmt.Errorf("too many goroutines %d", runtime.NumGoroutine()) diff --git a/beacon-chain/blockchain/testing/mock.go b/beacon-chain/blockchain/testing/mock.go index 9230be42d4..01b7c73e26 100644 --- a/beacon-chain/blockchain/testing/mock.go +++ b/beacon-chain/blockchain/testing/mock.go @@ -70,7 +70,7 @@ func (ms *ChainService) ReceiveAttestationNoPubsub(context.Context, *ethpb.Attes // GenesisTime mocks the same method in the chain service. func (ms *ChainService) GenesisTime() time.Time { - return time.Now() + return time.Unix(0, 0) } // StateInitializedFeed mocks the same method in the chain service. diff --git a/beacon-chain/cache/BUILD.bazel b/beacon-chain/cache/BUILD.bazel index bf2b7e6299..72d428ffb8 100644 --- a/beacon-chain/cache/BUILD.bazel +++ b/beacon-chain/cache/BUILD.bazel @@ -7,7 +7,6 @@ go_library( "active_count.go", "active_indices.go", "attestation_data.go", - "block.go", "checkpoint_state.go", "common.go", "eth1_data.go", @@ -41,7 +40,6 @@ go_test( "active_indices_test.go", "attestation_data_test.go", "benchmarks_test.go", - "block_test.go", "checkpoint_state_test.go", "eth1_data_test.go", "feature_flag_test.go", diff --git a/beacon-chain/cache/block.go b/beacon-chain/cache/block.go deleted file mode 100644 index a8070f31b1..0000000000 --- a/beacon-chain/cache/block.go +++ /dev/null @@ -1,115 +0,0 @@ -package cache - -import ( - "errors" - "strconv" - "sync" - - "github.com/prometheus/client_golang/prometheus" - "github.com/prometheus/client_golang/prometheus/promauto" - pb "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1" - "github.com/prysmaticlabs/prysm/shared/featureconfig" - "k8s.io/client-go/tools/cache" -) - -var ( - // ErrNotAncestorCacheObj will be returned when a cache object is not a pointer to - // block ancestor cache obj. - ErrNotAncestorCacheObj = errors.New("object is not an ancestor object for cache") - // Metrics - ancestorBlockCacheMiss = promauto.NewCounter(prometheus.CounterOpts{ - Name: "ancestor_block_cache_miss", - Help: "The number of ancestor block requests that aren't present in the cache.", - }) - ancestorBlockCacheHit = promauto.NewCounter(prometheus.CounterOpts{ - Name: "ancestor_block_cache_hit", - Help: "The number of ancestor block requests that are present in the cache.", - }) - ancestorBlockCacheSize = promauto.NewGauge(prometheus.GaugeOpts{ - Name: "ancestor_block_cache_size", - Help: "The number of ancestor blocks in the ancestorBlock cache", - }) -) - -// AncestorInfo defines the cached ancestor block object for height. -type AncestorInfo struct { - Height uint64 - Hash []byte - Target *pb.AttestationTarget -} - -// AncestorBlockCache structs with 1 queue for looking up block ancestor by height. -type AncestorBlockCache struct { - ancestorBlockCache *cache.FIFO - lock sync.RWMutex -} - -// heightKeyFn takes the string representation of the block hash + height as the key -// for the ancestor of a given block (AncestorInfo). -func heightKeyFn(obj interface{}) (string, error) { - aInfo, ok := obj.(*AncestorInfo) - if !ok { - return "", ErrNotAncestorCacheObj - } - - return string(aInfo.Hash) + strconv.Itoa(int(aInfo.Height)), nil -} - -// NewBlockAncestorCache creates a new block ancestor cache for storing/accessing block ancestor -// from memory. -func NewBlockAncestorCache() *AncestorBlockCache { - return &AncestorBlockCache{ - ancestorBlockCache: cache.NewFIFO(heightKeyFn), - } -} - -// AncestorBySlot fetches block's ancestor by height. Returns true with a -// reference to the ancestor block, if exists. Otherwise returns false, nil. -func (a *AncestorBlockCache) AncestorBySlot(blockHash []byte, height uint64) (*AncestorInfo, error) { - if !featureconfig.FeatureConfig().EnableAncestorBlockCache { - // Return a miss result if cache is not enabled. - ancestorBlockCacheMiss.Inc() - return nil, nil - } - - a.lock.RLock() - defer a.lock.RUnlock() - - obj, exists, err := a.ancestorBlockCache.GetByKey(string(blockHash) + strconv.Itoa(int(height))) - if err != nil { - return nil, err - } - - if exists { - ancestorBlockCacheHit.Inc() - } else { - ancestorBlockCacheMiss.Inc() - return nil, nil - } - - aInfo, ok := obj.(*AncestorInfo) - if !ok { - return nil, ErrNotAncestorCacheObj - } - - return aInfo, nil -} - -// AddBlockAncestor adds block ancestor object to the cache. This method also trims the least -// recently added ancestor if the cache size has ready the max cache size limit. -func (a *AncestorBlockCache) AddBlockAncestor(ancestorInfo *AncestorInfo) error { - if !featureconfig.FeatureConfig().EnableAncestorBlockCache { - return nil - } - - a.lock.Lock() - defer a.lock.Unlock() - - if err := a.ancestorBlockCache.AddIfNotPresent(ancestorInfo); err != nil { - return err - } - - trim(a.ancestorBlockCache, maxCacheSize) - ancestorBlockCacheSize.Set(float64(len(a.ancestorBlockCache.ListKeys()))) - return nil -} diff --git a/beacon-chain/cache/block_test.go b/beacon-chain/cache/block_test.go deleted file mode 100644 index 59c236ed72..0000000000 --- a/beacon-chain/cache/block_test.go +++ /dev/null @@ -1,111 +0,0 @@ -package cache - -import ( - "reflect" - "strconv" - "testing" - - pb "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1" -) - -func TestHeightHeightFn_OK(t *testing.T) { - height := uint64(999) - hash := []byte{'A'} - aInfo := &AncestorInfo{ - Height: height, - Hash: hash, - Target: &pb.AttestationTarget{ - Slot: height, - BeaconBlockRoot: hash, - }, - } - - key, err := heightKeyFn(aInfo) - if err != nil { - t.Fatal(err) - } - - strHeightKey := string(aInfo.Target.BeaconBlockRoot) + strconv.Itoa(int(aInfo.Target.Slot)) - if key != strHeightKey { - t.Errorf("Incorrect hash key: %s, expected %s", key, strHeightKey) - } -} - -func TestHeightKeyFn_InvalidObj(t *testing.T) { - _, err := heightKeyFn("bad") - if err != ErrNotAncestorCacheObj { - t.Errorf("Expected error %v, got %v", ErrNotAncestorCacheObj, err) - } -} - -func TestAncestorCache_AncestorInfoByHeight(t *testing.T) { - cache := NewBlockAncestorCache() - - height := uint64(123) - hash := []byte{'B'} - aInfo := &AncestorInfo{ - Height: height, - Hash: hash, - Target: &pb.AttestationTarget{ - Slot: height, - BeaconBlockRoot: hash, - }, - } - - fetchedInfo, err := cache.AncestorBySlot(hash, height) - if err != nil { - t.Fatal(err) - } - if fetchedInfo != nil { - t.Error("Expected ancestor info not to exist in empty cache") - } - - if err := cache.AddBlockAncestor(aInfo); err != nil { - t.Fatal(err) - } - fetchedInfo, err = cache.AncestorBySlot(hash, height) - if err != nil { - t.Fatal(err) - } - if fetchedInfo == nil { - t.Fatal("Expected ancestor info to exist") - } - if fetchedInfo.Height != height { - t.Errorf( - "Expected fetched slot number to be %d, got %d", - aInfo.Target.Slot, - fetchedInfo.Target.Slot, - ) - } - if !reflect.DeepEqual(fetchedInfo.Target, aInfo.Target) { - t.Errorf( - "Expected fetched info committee to be %v, got %v", - aInfo.Target, - fetchedInfo.Target, - ) - } -} - -func TestBlockAncestor_maxSize(t *testing.T) { - cache := NewBlockAncestorCache() - - for i := 0; i < maxCacheSize+10; i++ { - aInfo := &AncestorInfo{ - Height: uint64(i), - Target: &pb.AttestationTarget{ - Slot: uint64(i), - }, - } - if err := cache.AddBlockAncestor(aInfo); err != nil { - t.Fatal(err) - } - } - - if len(cache.ancestorBlockCache.ListKeys()) != maxCacheSize { - t.Errorf( - "Expected hash cache key size to be %d, got %d", - maxCacheSize, - len(cache.ancestorBlockCache.ListKeys()), - ) - } -} diff --git a/beacon-chain/core/helpers/validators_test.go b/beacon-chain/core/helpers/validators_test.go index df62e0c715..68c8c85f23 100644 --- a/beacon-chain/core/helpers/validators_test.go +++ b/beacon-chain/core/helpers/validators_test.go @@ -10,13 +10,6 @@ import ( "github.com/prysmaticlabs/prysm/shared/params" ) -func init() { - // TODO(2312): remove this and use the mainnet count. - c := params.BeaconConfig() - c.MinGenesisActiveValidatorCount = 16384 - params.OverrideBeaconConfig(c) -} - func TestIsActiveValidator_OK(t *testing.T) { tests := []struct { a uint64 @@ -156,6 +149,9 @@ func TestBeaconProposerIndex_OK(t *testing.T) { t.Errorf("SlotsPerEpoch should be 64 for these tests to pass") } + c := params.BeaconConfig() + c.MinGenesisActiveValidatorCount = 16384 + params.OverrideBeaconConfig(c) validators := make([]*ethpb.Validator, params.BeaconConfig().MinGenesisActiveValidatorCount/8) for i := 0; i < len(validators); i++ { validators[i] = ðpb.Validator{ diff --git a/beacon-chain/core/state/state.go b/beacon-chain/core/state/state.go index c3dcbf0e6a..9aac9ad760 100644 --- a/beacon-chain/core/state/state.go +++ b/beacon-chain/core/state/state.go @@ -17,41 +17,40 @@ import ( // GenesisBeaconState gets called when MinGenesisActiveValidatorCount count of // full deposits were made to the deposit contract and the ChainStart log gets emitted. -// TODO(#2307): Update the comments here. // // Spec pseudocode definition: -// def initialize_beacon_state_from_eth1(eth1_block_hash: Hash, -// eth1_timestamp: uint64, -// deposits: Sequence[Deposit]) -> BeaconState: -// state = BeaconState( -// genesis_time=eth1_timestamp - eth1_timestamp % SECONDS_PER_DAY + 2 * SECONDS_PER_DAY, -// eth1_data=Eth1Data(block_hash=eth1_block_hash, deposit_count=len(deposits)), -// latest_block_header=BeaconBlockHeader(body_root=hash_tree_root(BeaconBlockBody())), -// ) +// def initialize_beacon_state_from_eth1(eth1_block_hash: Hash, +// eth1_timestamp: uint64, +// deposits: Sequence[Deposit]) -> BeaconState: +// state = BeaconState( +// genesis_time=eth1_timestamp - eth1_timestamp % SECONDS_PER_DAY + 2 * SECONDS_PER_DAY, +// eth1_data=Eth1Data(block_hash=eth1_block_hash, deposit_count=len(deposits)), +// latest_block_header=BeaconBlockHeader(body_root=hash_tree_root(BeaconBlockBody())), +// ) // -// # Process deposits -// leaves = list(map(lambda deposit: deposit.data, deposits)) -// for index, deposit in enumerate(deposits): -// deposit_data_list = List[DepositData, 2**DEPOSIT_CONTRACT_TREE_DEPTH](*leaves[:index + 1]) -// state.eth1_data.deposit_root = hash_tree_root(deposit_data_list) -// process_deposit(state, deposit) +// # Process deposits +// leaves = list(map(lambda deposit: deposit.data, deposits)) +// for index, deposit in enumerate(deposits): +// deposit_data_list = List[DepositData, 2**DEPOSIT_CONTRACT_TREE_DEPTH](*leaves[:index + 1]) +// state.eth1_data.deposit_root = hash_tree_root(deposit_data_list) +// process_deposit(state, deposit) // -// # Process activations -// for index, validator in enumerate(state.validators): -// balance = state.balances[index] -// validator.effective_balance = min(balance - balance % EFFECTIVE_BALANCE_INCREMENT, MAX_EFFECTIVE_BALANCE) -// if validator.effective_balance == MAX_EFFECTIVE_BALANCE: -// validator.activation_eligibility_epoch = GENESIS_EPOCH -// validator.activation_epoch = GENESIS_EPOCH +// # Process activations +// for index, validator in enumerate(state.validators): +// balance = state.balances[index] +// validator.effective_balance = min(balance - balance % EFFECTIVE_BALANCE_INCREMENT, MAX_EFFECTIVE_BALANCE) +// if validator.effective_balance == MAX_EFFECTIVE_BALANCE: +// validator.activation_eligibility_epoch = GENESIS_EPOCH +// validator.activation_epoch = GENESIS_EPOCH // -// # Populate active_index_roots and compact_committees_roots -// indices_list = List[ValidatorIndex, VALIDATOR_REGISTRY_LIMIT](get_active_validator_indices(state, GENESIS_EPOCH)) -// active_index_root = hash_tree_root(indices_list) -// committee_root = get_compact_committees_root(state, GENESIS_EPOCH) -// for index in range(EPOCHS_PER_HISTORICAL_VECTOR): -// state.active_index_roots[index] = active_index_root -// state.compact_committees_roots[index] = committee_root -// return state +// # Populate active_index_roots and compact_committees_roots +// indices_list = List[ValidatorIndex, VALIDATOR_REGISTRY_LIMIT](get_active_validator_indices(state, GENESIS_EPOCH)) +// active_index_root = hash_tree_root(indices_list) +// committee_root = get_compact_committees_root(state, GENESIS_EPOCH) +// for index in range(EPOCHS_PER_HISTORICAL_VECTOR): +// state.active_index_roots[index] = active_index_root +// state.compact_committees_roots[index] = committee_root +// return state func GenesisBeaconState(deposits []*ethpb.Deposit, genesisTime uint64, eth1Data *ethpb.Eth1Data) (*pb.BeaconState, error) { randaoMixes := make([][]byte, params.BeaconConfig().EpochsPerHistoricalVector) for i := 0; i < len(randaoMixes); i++ { diff --git a/beacon-chain/core/state/state_test.go b/beacon-chain/core/state/state_test.go index 1214074f63..ad40481592 100644 --- a/beacon-chain/core/state/state_test.go +++ b/beacon-chain/core/state/state_test.go @@ -15,13 +15,6 @@ import ( "github.com/prysmaticlabs/prysm/shared/testutil" ) -func init() { - // TODO(2312): remove this and use the mainnet count. - c := params.BeaconConfig() - c.MinGenesisActiveValidatorCount = 16384 - params.OverrideBeaconConfig(c) -} - func TestGenesisBeaconState_OK(t *testing.T) { if params.BeaconConfig().SlotsPerEpoch != 64 { t.Errorf("SlotsPerEpoch should be 64 for these tests to pass") @@ -52,9 +45,6 @@ func TestGenesisBeaconState_OK(t *testing.T) { t.Error("HistoricalRootsLimit should be 16777216 for these tests to pass") } - if params.BeaconConfig().MinGenesisActiveValidatorCount != 16384 { - t.Error("MinGenesisActiveValidatorCount should be 16384 for these tests to pass") - } depositsForChainStart := 100 if params.BeaconConfig().EpochsPerSlashingsVector != 8192 { diff --git a/beacon-chain/node/node.go b/beacon-chain/node/node.go index 1b241a7508..c6c108753d 100644 --- a/beacon-chain/node/node.go +++ b/beacon-chain/node/node.go @@ -441,6 +441,7 @@ func (b *BeaconNode) registerRPCService(ctx *cli.Context) error { BlockReceiver: chainService, AttestationReceiver: chainService, StateFeedListener: chainService, + GenesisTimeFetcher: chainService, AttestationsPool: operationService, OperationsHandler: operationService, POWChainService: web3Service, diff --git a/beacon-chain/p2p/encoder/BUILD.bazel b/beacon-chain/p2p/encoder/BUILD.bazel index f83a7735a8..bb6865b1e0 100644 --- a/beacon-chain/p2p/encoder/BUILD.bazel +++ b/beacon-chain/p2p/encoder/BUILD.bazel @@ -11,7 +11,6 @@ go_library( importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/encoder", visibility = [ "//beacon-chain:__subpackages__", - "//shared/deprecated-p2p:__pkg__", # TODO(3147): Remove. ], deps = [ "@com_github_gogo_protobuf//proto:go_default_library", diff --git a/beacon-chain/p2p/encoder/doc.go b/beacon-chain/p2p/encoder/doc.go index af9a2987ed..132fe7c44b 100644 --- a/beacon-chain/p2p/encoder/doc.go +++ b/beacon-chain/p2p/encoder/doc.go @@ -1,6 +1,8 @@ /* -Package encoder ... - -TODO(3147): Add details about encoder registration, etc. +Package encoder allows for registering custom data encoders for information +sent as raw bytes over the wire via p2p to other nodes. Examples of encoders +are SSZ (SimpleSerialize), SSZ with Snappy compression, among others. Providing +an abstract interface for these encoders allows for future flexibility of +Ethereum beacon node p2p. */ package encoder diff --git a/beacon-chain/rpc/BUILD.bazel b/beacon-chain/rpc/BUILD.bazel index b9ac6ea3a2..a3a0857ba2 100644 --- a/beacon-chain/rpc/BUILD.bazel +++ b/beacon-chain/rpc/BUILD.bazel @@ -94,6 +94,7 @@ go_test( "//shared/testutil:go_default_library", "//shared/trieutil:go_default_library", "//shared/version:go_default_library", + "@com_github_ethereum_go_ethereum//common:go_default_library", "@com_github_gogo_protobuf//proto:go_default_library", "@com_github_gogo_protobuf//types:go_default_library", "@com_github_golang_mock//gomock:go_default_library", diff --git a/beacon-chain/rpc/beacon_server.go b/beacon-chain/rpc/beacon_server.go index 692c9fe30a..d310faf259 100644 --- a/beacon-chain/rpc/beacon_server.go +++ b/beacon-chain/rpc/beacon_server.go @@ -79,13 +79,6 @@ func (bs *BeaconServer) BlockTree(ctx context.Context, _ *ptypes.Empty) (*pb.Blo return nil, status.Error(codes.Unimplemented, "not implemented") } -// BlockTreeBySlots returns the current tree of saved blocks and their -// votes starting from the justified state. -func (bs *BeaconServer) BlockTreeBySlots(ctx context.Context, req *pb.TreeBlockSlotRequest) (*pb.BlockTreeResponse, error) { - // TODO(3219): Add after new fork choice service. - return nil, status.Error(codes.Unimplemented, "not implemented") -} - func constructMerkleProof(trie *trieutil.MerkleTrie, index int, deposit *ethpb.Deposit) (*ethpb.Deposit, error) { proof, err := trie.MerkleProof(index) if err != nil { diff --git a/beacon-chain/rpc/node_server.go b/beacon-chain/rpc/node_server.go index ff565d56f8..a98626c7b6 100644 --- a/beacon-chain/rpc/node_server.go +++ b/beacon-chain/rpc/node_server.go @@ -5,6 +5,7 @@ import ( "sort" ptypes "github.com/gogo/protobuf/types" + "github.com/prysmaticlabs/prysm/beacon-chain/blockchain" "github.com/prysmaticlabs/prysm/beacon-chain/db" "github.com/prysmaticlabs/prysm/beacon-chain/sync" ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1" @@ -18,9 +19,10 @@ import ( // providing RPC endpoints for verifying a beacon node's sync status, genesis and // version information, and services the node implements and runs. type NodeServer struct { - syncChecker sync.Checker - server *grpc.Server - beaconDB db.Database + syncChecker sync.Checker + server *grpc.Server + beaconDB db.Database + genesisTimeFetcher blockchain.GenesisTimeFetcher } // GetSyncStatus checks the current network sync status of the node. @@ -32,8 +34,19 @@ func (ns *NodeServer) GetSyncStatus(ctx context.Context, _ *ptypes.Empty) (*ethp // GetGenesis fetches genesis chain information of Ethereum 2.0. func (ns *NodeServer) GetGenesis(ctx context.Context, _ *ptypes.Empty) (*ethpb.Genesis, error) { - // TODO(3045): Use the getter from the blockchain service. - return nil, status.Error(codes.Unimplemented, "not implemented") + contractAddr, err := ns.beaconDB.DepositContractAddress(ctx) + if err != nil { + return nil, status.Errorf(codes.Internal, "could not retrieve contract address from db: %v", err) + } + genesisTime := ns.genesisTimeFetcher.GenesisTime() + gt, err := ptypes.TimestampProto(genesisTime) + if err != nil { + return nil, status.Errorf(codes.Internal, "could not convert genesis time to proto: %v", err) + } + return ðpb.Genesis{ + GenesisTime: gt, + DepositContractAddress: contractAddr, + }, nil } // GetVersion checks the version information of the beacon node. diff --git a/beacon-chain/rpc/node_server_test.go b/beacon-chain/rpc/node_server_test.go index 332bd1566a..0b40d7f444 100644 --- a/beacon-chain/rpc/node_server_test.go +++ b/beacon-chain/rpc/node_server_test.go @@ -1,10 +1,15 @@ package rpc import ( + "bytes" "context" "testing" + "time" + "github.com/ethereum/go-ethereum/common" ptypes "github.com/gogo/protobuf/types" + mock "github.com/prysmaticlabs/prysm/beacon-chain/blockchain/testing" + dbutil "github.com/prysmaticlabs/prysm/beacon-chain/db/testing" ethpb "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1" "github.com/prysmaticlabs/prysm/shared/version" "google.golang.org/grpc" @@ -45,6 +50,34 @@ func TestNodeServer_GetSyncStatus(t *testing.T) { } } +func TestNodeServer_GetGenesis(t *testing.T) { + db := dbutil.SetupDB(t) + defer dbutil.TeardownDB(t, db) + ctx := context.Background() + addr := common.Address{1, 2, 3} + if err := db.SaveDepositContractAddress(ctx, addr); err != nil { + t.Fatal(err) + } + ns := &NodeServer{ + beaconDB: db, + genesisTimeFetcher: &mock.ChainService{}, + } + res, err := ns.GetGenesis(context.Background(), &ptypes.Empty{}) + if err != nil { + t.Fatal(err) + } + if !bytes.Equal(res.DepositContractAddress, addr.Bytes()) { + t.Errorf("Wanted DepositContractAddress() = %#x, received %#x", addr.Bytes(), res.DepositContractAddress) + } + pUnix, err := ptypes.TimestampProto(time.Unix(0, 0)) + if err != nil { + t.Fatal(err) + } + if !res.GenesisTime.Equal(pUnix) { + t.Errorf("Wanted GenesisTime() = %v, received %v", pUnix, res.GenesisTime) + } +} + func TestNodeServer_GetVersion(t *testing.T) { v := version.GetVersion() ns := &NodeServer{} diff --git a/beacon-chain/rpc/proposer_server.go b/beacon-chain/rpc/proposer_server.go index 768380ddc4..3467fda965 100644 --- a/beacon-chain/rpc/proposer_server.go +++ b/beacon-chain/rpc/proposer_server.go @@ -111,9 +111,6 @@ func (ps *ProposerServer) RequestBlock(ctx context.Context, req *pb.BlockRequest // ProposeBlock is called by a proposer during its assigned slot to create a block in an attempt // to get it processed by the beacon node as the canonical head. func (ps *ProposerServer) ProposeBlock(ctx context.Context, blk *ethpb.BeaconBlock) (*pb.ProposeResponse, error) { - // TODO(#78): To protect against blk not filling, this will be handled within the SSZ code codebase. - // https://github.com/prysmaticlabs/go-ssz/issues/78 - blk.Body.Graffiti = make([]byte, 32) root, err := ssz.SigningRoot(blk) if err != nil { return nil, errors.Wrap(err, "could not tree hash block") diff --git a/beacon-chain/rpc/service.go b/beacon-chain/rpc/service.go index 1ddd6b8eeb..c39d467721 100644 --- a/beacon-chain/rpc/service.go +++ b/beacon-chain/rpc/service.go @@ -42,6 +42,7 @@ type Service struct { beaconDB db.Database stateFeedListener blockchain.ChainFeeds headFetcher blockchain.HeadFetcher + genesisTimeFetcher blockchain.GenesisTimeFetcher attestationReceiver blockchain.AttestationReceiver blockReceiver blockchain.BlockReceiver powChainService powchain.Chain @@ -75,6 +76,7 @@ type Config struct { BlockReceiver blockchain.BlockReceiver POWChainService powchain.Chain ChainStartFetcher powchain.ChainStartFetcher + GenesisTimeFetcher blockchain.GenesisTimeFetcher MockEth1Votes bool OperationsHandler operations.Handler AttestationsPool operations.Pool @@ -94,6 +96,7 @@ func NewService(ctx context.Context, cfg *Config) *Service { beaconDB: cfg.BeaconDB, stateFeedListener: cfg.StateFeedListener, headFetcher: cfg.HeadFetcher, + genesisTimeFetcher: cfg.GenesisTimeFetcher, attestationReceiver: cfg.AttestationReceiver, blockReceiver: cfg.BlockReceiver, p2p: cfg.Broadcaster, @@ -189,9 +192,10 @@ func (s *Service) Start() { depositFetcher: s.depositFetcher, } nodeServer := &NodeServer{ - beaconDB: s.beaconDB, - server: s.grpcServer, - syncChecker: s.syncService, + beaconDB: s.beaconDB, + server: s.grpcServer, + syncChecker: s.syncService, + genesisTimeFetcher: s.genesisTimeFetcher, } beaconChainServer := &BeaconChainServer{ beaconDB: s.beaconDB, diff --git a/beacon-chain/sync/rpc.go b/beacon-chain/sync/rpc.go index 4b88f05cc7..c5ce9300e8 100644 --- a/beacon-chain/sync/rpc.go +++ b/beacon-chain/sync/rpc.go @@ -2,7 +2,6 @@ package sync import ( "context" - "errors" "time" "github.com/gogo/protobuf/proto" @@ -23,11 +22,6 @@ var ttfbTimeout = 5 * time.Second // not be relayed to the peer. type rpcHandler func(context.Context, interface{}, libp2pcore.Stream) error -// TODO(3147): Delete after all handlers implemented. -func notImplementedRPCHandler(_ context.Context, _ proto.Message, _ libp2pcore.Stream) error { - return errors.New("not implemented") -} - // registerRPCHandlers for p2p RPC. func (r *RegularSync) registerRPCHandlers() { r.registerRPC( diff --git a/proto/beacon/p2p/v1/messages.pb.go b/proto/beacon/p2p/v1/messages.pb.go index 6d357893e0..2a307d03d6 100755 --- a/proto/beacon/p2p/v1/messages.pb.go +++ b/proto/beacon/p2p/v1/messages.pb.go @@ -5,13 +5,10 @@ package ethereum_beacon_p2p_v1 import ( fmt "fmt" - io "io" - math "math" - _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" - types "github.com/gogo/protobuf/types" - v1alpha1 "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -25,64 +22,6 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package -type Topic int32 - -const ( - Topic_UNKNOWN Topic = 0 - Topic_BEACON_BLOCK_ANNOUNCE Topic = 1 // Deprecated: Do not use. - Topic_BEACON_BLOCK_REQUEST Topic = 2 // Deprecated: Do not use. - Topic_BEACON_BLOCK_REQUEST_BY_SLOT_NUMBER Topic = 3 // Deprecated: Do not use. - Topic_BEACON_BLOCK_RESPONSE Topic = 4 // Deprecated: Do not use. - Topic_BATCHED_BEACON_BLOCK_REQUEST Topic = 5 // Deprecated: Do not use. - Topic_BATCHED_BEACON_BLOCK_RESPONSE Topic = 6 // Deprecated: Do not use. - Topic_CHAIN_HEAD_REQUEST Topic = 7 // Deprecated: Do not use. - Topic_CHAIN_HEAD_RESPONSE Topic = 8 // Deprecated: Do not use. - Topic_BEACON_STATE_HASH_ANNOUNCE Topic = 9 // Deprecated: Do not use. - Topic_BEACON_STATE_REQUEST Topic = 10 // Deprecated: Do not use. - Topic_BEACON_STATE_RESPONSE Topic = 11 // Deprecated: Do not use. - Topic_BEACON_ATTESTATION Topic = 12 // Deprecated: Do not use. -) - -var Topic_name = map[int32]string{ - 0: "UNKNOWN", - 1: "BEACON_BLOCK_ANNOUNCE", - 2: "BEACON_BLOCK_REQUEST", - 3: "BEACON_BLOCK_REQUEST_BY_SLOT_NUMBER", - 4: "BEACON_BLOCK_RESPONSE", - 5: "BATCHED_BEACON_BLOCK_REQUEST", - 6: "BATCHED_BEACON_BLOCK_RESPONSE", - 7: "CHAIN_HEAD_REQUEST", - 8: "CHAIN_HEAD_RESPONSE", - 9: "BEACON_STATE_HASH_ANNOUNCE", - 10: "BEACON_STATE_REQUEST", - 11: "BEACON_STATE_RESPONSE", - 12: "BEACON_ATTESTATION", -} - -var Topic_value = map[string]int32{ - "UNKNOWN": 0, - "BEACON_BLOCK_ANNOUNCE": 1, - "BEACON_BLOCK_REQUEST": 2, - "BEACON_BLOCK_REQUEST_BY_SLOT_NUMBER": 3, - "BEACON_BLOCK_RESPONSE": 4, - "BATCHED_BEACON_BLOCK_REQUEST": 5, - "BATCHED_BEACON_BLOCK_RESPONSE": 6, - "CHAIN_HEAD_REQUEST": 7, - "CHAIN_HEAD_RESPONSE": 8, - "BEACON_STATE_HASH_ANNOUNCE": 9, - "BEACON_STATE_REQUEST": 10, - "BEACON_STATE_RESPONSE": 11, - "BEACON_ATTESTATION": 12, -} - -func (x Topic) String() string { - return proto.EnumName(Topic_name, int32(x)) -} - -func (Topic) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{0} -} - type Goodbye_Reason int32 const ( @@ -311,53 +250,6 @@ func (m *BeaconBlocksRequest) GetStep() uint64 { return 0 } -type BeaconBlocksResponse struct { - Blocks []*v1alpha1.BeaconBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlocksResponse) Reset() { *m = BeaconBlocksResponse{} } -func (m *BeaconBlocksResponse) String() string { return proto.CompactTextString(m) } -func (*BeaconBlocksResponse) ProtoMessage() {} -func (*BeaconBlocksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{3} -} -func (m *BeaconBlocksResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlocksResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconBlocksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlocksResponse.Merge(m, src) -} -func (m *BeaconBlocksResponse) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlocksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlocksResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconBlocksResponse proto.InternalMessageInfo - -func (m *BeaconBlocksResponse) GetBlocks() []*v1alpha1.BeaconBlock { - if m != nil { - return m.Blocks - } - return nil -} - type RecentBeaconBlocksRequest struct { BlockRoots [][]byte `protobuf:"bytes,1,rep,name=block_roots,json=blockRoots,proto3" json:"block_roots,omitempty" ssz-size:"?,32"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -369,7 +261,7 @@ func (m *RecentBeaconBlocksRequest) Reset() { *m = RecentBeaconBlocksReq func (m *RecentBeaconBlocksRequest) String() string { return proto.CompactTextString(m) } func (*RecentBeaconBlocksRequest) ProtoMessage() {} func (*RecentBeaconBlocksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{4} + return fileDescriptor_a1d590cda035b632, []int{3} } func (m *RecentBeaconBlocksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -416,7 +308,7 @@ func (m *ErrorMessage) Reset() { *m = ErrorMessage{} } func (m *ErrorMessage) String() string { return proto.CompactTextString(m) } func (*ErrorMessage) ProtoMessage() {} func (*ErrorMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{5} + return fileDescriptor_a1d590cda035b632, []int{4} } func (m *ErrorMessage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -452,1525 +344,52 @@ func (m *ErrorMessage) GetErrorMessage() string { return "" } -type Envelope struct { - SpanContext []byte `protobuf:"bytes,1,opt,name=span_context,json=spanContext,proto3" json:"span_context,omitempty"` - Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` - Timestamp *types.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Envelope) Reset() { *m = Envelope{} } -func (m *Envelope) String() string { return proto.CompactTextString(m) } -func (*Envelope) ProtoMessage() {} -func (*Envelope) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{6} -} -func (m *Envelope) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Envelope.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Envelope) XXX_Merge(src proto.Message) { - xxx_messageInfo_Envelope.Merge(m, src) -} -func (m *Envelope) XXX_Size() int { - return m.Size() -} -func (m *Envelope) XXX_DiscardUnknown() { - xxx_messageInfo_Envelope.DiscardUnknown(m) -} - -var xxx_messageInfo_Envelope proto.InternalMessageInfo - -func (m *Envelope) GetSpanContext() []byte { - if m != nil { - return m.SpanContext - } - return nil -} - -func (m *Envelope) GetPayload() []byte { - if m != nil { - return m.Payload - } - return nil -} - -func (m *Envelope) GetTimestamp() *types.Timestamp { - if m != nil { - return m.Timestamp - } - return nil -} - -// Deprecated: Do not use. -type BeaconBlockAnnounce struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - SlotNumber uint64 `protobuf:"varint,2,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlockAnnounce) Reset() { *m = BeaconBlockAnnounce{} } -func (m *BeaconBlockAnnounce) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockAnnounce) ProtoMessage() {} -func (*BeaconBlockAnnounce) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{7} -} -func (m *BeaconBlockAnnounce) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockAnnounce.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconBlockAnnounce) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockAnnounce.Merge(m, src) -} -func (m *BeaconBlockAnnounce) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlockAnnounce) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockAnnounce.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconBlockAnnounce proto.InternalMessageInfo - -func (m *BeaconBlockAnnounce) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -func (m *BeaconBlockAnnounce) GetSlotNumber() uint64 { - if m != nil { - return m.SlotNumber - } - return 0 -} - -// Deprecated: Do not use. -type BeaconBlockRequest struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlockRequest) Reset() { *m = BeaconBlockRequest{} } -func (m *BeaconBlockRequest) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockRequest) ProtoMessage() {} -func (*BeaconBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{8} -} -func (m *BeaconBlockRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockRequest.Merge(m, src) -} -func (m *BeaconBlockRequest) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconBlockRequest proto.InternalMessageInfo - -func (m *BeaconBlockRequest) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type BeaconBlockRequestBySlotNumber struct { - SlotNumber uint64 `protobuf:"varint,1,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlockRequestBySlotNumber) Reset() { *m = BeaconBlockRequestBySlotNumber{} } -func (m *BeaconBlockRequestBySlotNumber) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockRequestBySlotNumber) ProtoMessage() {} -func (*BeaconBlockRequestBySlotNumber) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{9} -} -func (m *BeaconBlockRequestBySlotNumber) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockRequestBySlotNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockRequestBySlotNumber.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconBlockRequestBySlotNumber) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockRequestBySlotNumber.Merge(m, src) -} -func (m *BeaconBlockRequestBySlotNumber) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlockRequestBySlotNumber) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockRequestBySlotNumber.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconBlockRequestBySlotNumber proto.InternalMessageInfo - -func (m *BeaconBlockRequestBySlotNumber) GetSlotNumber() uint64 { - if m != nil { - return m.SlotNumber - } - return 0 -} - -// Deprecated: Do not use. -type BeaconBlockResponse struct { - Block *v1alpha1.BeaconBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - Attestation *v1alpha1.Attestation `protobuf:"bytes,2,opt,name=attestation,proto3" json:"attestation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconBlockResponse) Reset() { *m = BeaconBlockResponse{} } -func (m *BeaconBlockResponse) String() string { return proto.CompactTextString(m) } -func (*BeaconBlockResponse) ProtoMessage() {} -func (*BeaconBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{10} -} -func (m *BeaconBlockResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconBlockResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconBlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconBlockResponse.Merge(m, src) -} -func (m *BeaconBlockResponse) XXX_Size() int { - return m.Size() -} -func (m *BeaconBlockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconBlockResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconBlockResponse proto.InternalMessageInfo - -func (m *BeaconBlockResponse) GetBlock() *v1alpha1.BeaconBlock { - if m != nil { - return m.Block - } - return nil -} - -func (m *BeaconBlockResponse) GetAttestation() *v1alpha1.Attestation { - if m != nil { - return m.Attestation - } - return nil -} - -// Deprecated: Do not use. -type BatchedBeaconBlockRequest struct { - StartSlot uint64 `protobuf:"varint,1,opt,name=start_slot,json=startSlot,proto3" json:"start_slot,omitempty"` // Deprecated: Do not use. - EndSlot uint64 `protobuf:"varint,2,opt,name=end_slot,json=endSlot,proto3" json:"end_slot,omitempty"` // Deprecated: Do not use. - FinalizedRoot []byte `protobuf:"bytes,3,opt,name=finalized_root,json=finalizedRoot,proto3" json:"finalized_root,omitempty"` - CanonicalRoot []byte `protobuf:"bytes,4,opt,name=canonical_root,json=canonicalRoot,proto3" json:"canonical_root,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchedBeaconBlockRequest) Reset() { *m = BatchedBeaconBlockRequest{} } -func (m *BatchedBeaconBlockRequest) String() string { return proto.CompactTextString(m) } -func (*BatchedBeaconBlockRequest) ProtoMessage() {} -func (*BatchedBeaconBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{11} -} -func (m *BatchedBeaconBlockRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BatchedBeaconBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BatchedBeaconBlockRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BatchedBeaconBlockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchedBeaconBlockRequest.Merge(m, src) -} -func (m *BatchedBeaconBlockRequest) XXX_Size() int { - return m.Size() -} -func (m *BatchedBeaconBlockRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BatchedBeaconBlockRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchedBeaconBlockRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -func (m *BatchedBeaconBlockRequest) GetStartSlot() uint64 { - if m != nil { - return m.StartSlot - } - return 0 -} - -// Deprecated: Do not use. -func (m *BatchedBeaconBlockRequest) GetEndSlot() uint64 { - if m != nil { - return m.EndSlot - } - return 0 -} - -func (m *BatchedBeaconBlockRequest) GetFinalizedRoot() []byte { - if m != nil { - return m.FinalizedRoot - } - return nil -} - -func (m *BatchedBeaconBlockRequest) GetCanonicalRoot() []byte { - if m != nil { - return m.CanonicalRoot - } - return nil -} - -// Deprecated: Do not use. -type BatchedBeaconBlockResponse struct { - BatchedBlocks []*v1alpha1.BeaconBlock `protobuf:"bytes,1,rep,name=batched_blocks,json=batchedBlocks,proto3" json:"batched_blocks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BatchedBeaconBlockResponse) Reset() { *m = BatchedBeaconBlockResponse{} } -func (m *BatchedBeaconBlockResponse) String() string { return proto.CompactTextString(m) } -func (*BatchedBeaconBlockResponse) ProtoMessage() {} -func (*BatchedBeaconBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{12} -} -func (m *BatchedBeaconBlockResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BatchedBeaconBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BatchedBeaconBlockResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BatchedBeaconBlockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BatchedBeaconBlockResponse.Merge(m, src) -} -func (m *BatchedBeaconBlockResponse) XXX_Size() int { - return m.Size() -} -func (m *BatchedBeaconBlockResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BatchedBeaconBlockResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BatchedBeaconBlockResponse proto.InternalMessageInfo - -func (m *BatchedBeaconBlockResponse) GetBatchedBlocks() []*v1alpha1.BeaconBlock { - if m != nil { - return m.BatchedBlocks - } - return nil -} - -// Deprecated: Do not use. -type ChainHeadRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChainHeadRequest) Reset() { *m = ChainHeadRequest{} } -func (m *ChainHeadRequest) String() string { return proto.CompactTextString(m) } -func (*ChainHeadRequest) ProtoMessage() {} -func (*ChainHeadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{13} -} -func (m *ChainHeadRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ChainHeadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ChainHeadRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ChainHeadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChainHeadRequest.Merge(m, src) -} -func (m *ChainHeadRequest) XXX_Size() int { - return m.Size() -} -func (m *ChainHeadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChainHeadRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ChainHeadRequest proto.InternalMessageInfo - -// Deprecated: Do not use. -type ChainHeadResponse struct { - CanonicalSlot uint64 `protobuf:"varint,1,opt,name=canonical_slot,json=canonicalSlot,proto3" json:"canonical_slot,omitempty"` - CanonicalStateRootHash32 []byte `protobuf:"bytes,2,opt,name=canonical_state_root_hash32,json=canonicalStateRootHash32,proto3" json:"canonical_state_root_hash32,omitempty"` - FinalizedStateRootHash32S []byte `protobuf:"bytes,3,opt,name=finalized_state_root_hash32s,json=finalizedStateRootHash32s,proto3" json:"finalized_state_root_hash32s,omitempty"` - CanonicalBlockRoot []byte `protobuf:"bytes,4,opt,name=canonical_block_root,json=canonicalBlockRoot,proto3" json:"canonical_block_root,omitempty"` - FinalizedBlockRoot []byte `protobuf:"bytes,5,opt,name=finalized_block_root,json=finalizedBlockRoot,proto3" json:"finalized_block_root,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ChainHeadResponse) Reset() { *m = ChainHeadResponse{} } -func (m *ChainHeadResponse) String() string { return proto.CompactTextString(m) } -func (*ChainHeadResponse) ProtoMessage() {} -func (*ChainHeadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{14} -} -func (m *ChainHeadResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ChainHeadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ChainHeadResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ChainHeadResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChainHeadResponse.Merge(m, src) -} -func (m *ChainHeadResponse) XXX_Size() int { - return m.Size() -} -func (m *ChainHeadResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ChainHeadResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ChainHeadResponse proto.InternalMessageInfo - -func (m *ChainHeadResponse) GetCanonicalSlot() uint64 { - if m != nil { - return m.CanonicalSlot - } - return 0 -} - -func (m *ChainHeadResponse) GetCanonicalStateRootHash32() []byte { - if m != nil { - return m.CanonicalStateRootHash32 - } - return nil -} - -func (m *ChainHeadResponse) GetFinalizedStateRootHash32S() []byte { - if m != nil { - return m.FinalizedStateRootHash32S - } - return nil -} - -func (m *ChainHeadResponse) GetCanonicalBlockRoot() []byte { - if m != nil { - return m.CanonicalBlockRoot - } - return nil -} - -func (m *ChainHeadResponse) GetFinalizedBlockRoot() []byte { - if m != nil { - return m.FinalizedBlockRoot - } - return nil -} - -// Deprecated: Do not use. -type BeaconStateHashAnnounce struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconStateHashAnnounce) Reset() { *m = BeaconStateHashAnnounce{} } -func (m *BeaconStateHashAnnounce) String() string { return proto.CompactTextString(m) } -func (*BeaconStateHashAnnounce) ProtoMessage() {} -func (*BeaconStateHashAnnounce) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{15} -} -func (m *BeaconStateHashAnnounce) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconStateHashAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconStateHashAnnounce.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconStateHashAnnounce) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconStateHashAnnounce.Merge(m, src) -} -func (m *BeaconStateHashAnnounce) XXX_Size() int { - return m.Size() -} -func (m *BeaconStateHashAnnounce) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconStateHashAnnounce.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconStateHashAnnounce proto.InternalMessageInfo - -func (m *BeaconStateHashAnnounce) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type BeaconStateRequest struct { - FinalizedStateRootHash32S []byte `protobuf:"bytes,1,opt,name=finalized_state_root_hash32s,json=finalizedStateRootHash32s,proto3" json:"finalized_state_root_hash32s,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconStateRequest) Reset() { *m = BeaconStateRequest{} } -func (m *BeaconStateRequest) String() string { return proto.CompactTextString(m) } -func (*BeaconStateRequest) ProtoMessage() {} -func (*BeaconStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{16} -} -func (m *BeaconStateRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconStateRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconStateRequest.Merge(m, src) -} -func (m *BeaconStateRequest) XXX_Size() int { - return m.Size() -} -func (m *BeaconStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconStateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconStateRequest proto.InternalMessageInfo - -func (m *BeaconStateRequest) GetFinalizedStateRootHash32S() []byte { - if m != nil { - return m.FinalizedStateRootHash32S - } - return nil -} - -// Deprecated: Do not use. -type BeaconStateResponse struct { - FinalizedState *BeaconState `protobuf:"bytes,1,opt,name=finalized_state,json=finalizedState,proto3" json:"finalized_state,omitempty"` - FinalizedBlock *v1alpha1.BeaconBlock `protobuf:"bytes,2,opt,name=finalized_block,json=finalizedBlock,proto3" json:"finalized_block,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *BeaconStateResponse) Reset() { *m = BeaconStateResponse{} } -func (m *BeaconStateResponse) String() string { return proto.CompactTextString(m) } -func (*BeaconStateResponse) ProtoMessage() {} -func (*BeaconStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{17} -} -func (m *BeaconStateResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *BeaconStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_BeaconStateResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *BeaconStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BeaconStateResponse.Merge(m, src) -} -func (m *BeaconStateResponse) XXX_Size() int { - return m.Size() -} -func (m *BeaconStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BeaconStateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BeaconStateResponse proto.InternalMessageInfo - -func (m *BeaconStateResponse) GetFinalizedState() *BeaconState { - if m != nil { - return m.FinalizedState - } - return nil -} - -func (m *BeaconStateResponse) GetFinalizedBlock() *v1alpha1.BeaconBlock { - if m != nil { - return m.FinalizedBlock - } - return nil -} - -// Deprecated: Do not use. -type FinalizedStateAnnounce struct { - BlockRoot []byte `protobuf:"bytes,1,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty"` - StateRoot []byte `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` - Slot uint64 `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FinalizedStateAnnounce) Reset() { *m = FinalizedStateAnnounce{} } -func (m *FinalizedStateAnnounce) String() string { return proto.CompactTextString(m) } -func (*FinalizedStateAnnounce) ProtoMessage() {} -func (*FinalizedStateAnnounce) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{18} -} -func (m *FinalizedStateAnnounce) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *FinalizedStateAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FinalizedStateAnnounce.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *FinalizedStateAnnounce) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizedStateAnnounce.Merge(m, src) -} -func (m *FinalizedStateAnnounce) XXX_Size() int { - return m.Size() -} -func (m *FinalizedStateAnnounce) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizedStateAnnounce.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizedStateAnnounce proto.InternalMessageInfo - -func (m *FinalizedStateAnnounce) GetBlockRoot() []byte { - if m != nil { - return m.BlockRoot - } - return nil -} - -func (m *FinalizedStateAnnounce) GetStateRoot() []byte { - if m != nil { - return m.StateRoot - } - return nil -} - -func (m *FinalizedStateAnnounce) GetSlot() uint64 { - if m != nil { - return m.Slot - } - return 0 -} - -// Deprecated: Do not use. -type ProposerSlashingAnnounce struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProposerSlashingAnnounce) Reset() { *m = ProposerSlashingAnnounce{} } -func (m *ProposerSlashingAnnounce) String() string { return proto.CompactTextString(m) } -func (*ProposerSlashingAnnounce) ProtoMessage() {} -func (*ProposerSlashingAnnounce) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{19} -} -func (m *ProposerSlashingAnnounce) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerSlashingAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerSlashingAnnounce.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ProposerSlashingAnnounce) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerSlashingAnnounce.Merge(m, src) -} -func (m *ProposerSlashingAnnounce) XXX_Size() int { - return m.Size() -} -func (m *ProposerSlashingAnnounce) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerSlashingAnnounce.DiscardUnknown(m) -} - -var xxx_messageInfo_ProposerSlashingAnnounce proto.InternalMessageInfo - -func (m *ProposerSlashingAnnounce) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type ProposerSlashingRequest struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProposerSlashingRequest) Reset() { *m = ProposerSlashingRequest{} } -func (m *ProposerSlashingRequest) String() string { return proto.CompactTextString(m) } -func (*ProposerSlashingRequest) ProtoMessage() {} -func (*ProposerSlashingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{20} -} -func (m *ProposerSlashingRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerSlashingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerSlashingRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ProposerSlashingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerSlashingRequest.Merge(m, src) -} -func (m *ProposerSlashingRequest) XXX_Size() int { - return m.Size() -} -func (m *ProposerSlashingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerSlashingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ProposerSlashingRequest proto.InternalMessageInfo - -func (m *ProposerSlashingRequest) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type ProposerSlashingResponse struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - ProposerSlashing *v1alpha1.ProposerSlashing `protobuf:"bytes,2,opt,name=proposer_slashing,json=proposerSlashing,proto3" json:"proposer_slashing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ProposerSlashingResponse) Reset() { *m = ProposerSlashingResponse{} } -func (m *ProposerSlashingResponse) String() string { return proto.CompactTextString(m) } -func (*ProposerSlashingResponse) ProtoMessage() {} -func (*ProposerSlashingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{21} -} -func (m *ProposerSlashingResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ProposerSlashingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ProposerSlashingResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ProposerSlashingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposerSlashingResponse.Merge(m, src) -} -func (m *ProposerSlashingResponse) XXX_Size() int { - return m.Size() -} -func (m *ProposerSlashingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProposerSlashingResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ProposerSlashingResponse proto.InternalMessageInfo - -func (m *ProposerSlashingResponse) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -func (m *ProposerSlashingResponse) GetProposerSlashing() *v1alpha1.ProposerSlashing { - if m != nil { - return m.ProposerSlashing - } - return nil -} - -// Deprecated: Do not use. -type AttesterSlashingAnnounce struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AttesterSlashingAnnounce) Reset() { *m = AttesterSlashingAnnounce{} } -func (m *AttesterSlashingAnnounce) String() string { return proto.CompactTextString(m) } -func (*AttesterSlashingAnnounce) ProtoMessage() {} -func (*AttesterSlashingAnnounce) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{22} -} -func (m *AttesterSlashingAnnounce) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterSlashingAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterSlashingAnnounce.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *AttesterSlashingAnnounce) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterSlashingAnnounce.Merge(m, src) -} -func (m *AttesterSlashingAnnounce) XXX_Size() int { - return m.Size() -} -func (m *AttesterSlashingAnnounce) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterSlashingAnnounce.DiscardUnknown(m) -} - -var xxx_messageInfo_AttesterSlashingAnnounce proto.InternalMessageInfo - -func (m *AttesterSlashingAnnounce) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type AttesterSlashingRequest struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AttesterSlashingRequest) Reset() { *m = AttesterSlashingRequest{} } -func (m *AttesterSlashingRequest) String() string { return proto.CompactTextString(m) } -func (*AttesterSlashingRequest) ProtoMessage() {} -func (*AttesterSlashingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{23} -} -func (m *AttesterSlashingRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterSlashingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterSlashingRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *AttesterSlashingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterSlashingRequest.Merge(m, src) -} -func (m *AttesterSlashingRequest) XXX_Size() int { - return m.Size() -} -func (m *AttesterSlashingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterSlashingRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AttesterSlashingRequest proto.InternalMessageInfo - -func (m *AttesterSlashingRequest) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type AttesterSlashingResponse struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - AttesterSlashing *v1alpha1.AttesterSlashing `protobuf:"bytes,2,opt,name=Attester_slashing,json=AttesterSlashing,proto3" json:"Attester_slashing,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AttesterSlashingResponse) Reset() { *m = AttesterSlashingResponse{} } -func (m *AttesterSlashingResponse) String() string { return proto.CompactTextString(m) } -func (*AttesterSlashingResponse) ProtoMessage() {} -func (*AttesterSlashingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{24} -} -func (m *AttesterSlashingResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AttesterSlashingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AttesterSlashingResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *AttesterSlashingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AttesterSlashingResponse.Merge(m, src) -} -func (m *AttesterSlashingResponse) XXX_Size() int { - return m.Size() -} -func (m *AttesterSlashingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AttesterSlashingResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AttesterSlashingResponse proto.InternalMessageInfo - -func (m *AttesterSlashingResponse) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -func (m *AttesterSlashingResponse) GetAttesterSlashing() *v1alpha1.AttesterSlashing { - if m != nil { - return m.AttesterSlashing - } - return nil -} - -// Deprecated: Do not use. -type DepositAnnounce struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DepositAnnounce) Reset() { *m = DepositAnnounce{} } -func (m *DepositAnnounce) String() string { return proto.CompactTextString(m) } -func (*DepositAnnounce) ProtoMessage() {} -func (*DepositAnnounce) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{25} -} -func (m *DepositAnnounce) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DepositAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DepositAnnounce.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *DepositAnnounce) XXX_Merge(src proto.Message) { - xxx_messageInfo_DepositAnnounce.Merge(m, src) -} -func (m *DepositAnnounce) XXX_Size() int { - return m.Size() -} -func (m *DepositAnnounce) XXX_DiscardUnknown() { - xxx_messageInfo_DepositAnnounce.DiscardUnknown(m) -} - -var xxx_messageInfo_DepositAnnounce proto.InternalMessageInfo - -func (m *DepositAnnounce) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type DepositRequest struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DepositRequest) Reset() { *m = DepositRequest{} } -func (m *DepositRequest) String() string { return proto.CompactTextString(m) } -func (*DepositRequest) ProtoMessage() {} -func (*DepositRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{26} -} -func (m *DepositRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DepositRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *DepositRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DepositRequest.Merge(m, src) -} -func (m *DepositRequest) XXX_Size() int { - return m.Size() -} -func (m *DepositRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DepositRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DepositRequest proto.InternalMessageInfo - -func (m *DepositRequest) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type DepositResponse struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Deposit *v1alpha1.Deposit `protobuf:"bytes,2,opt,name=deposit,proto3" json:"deposit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DepositResponse) Reset() { *m = DepositResponse{} } -func (m *DepositResponse) String() string { return proto.CompactTextString(m) } -func (*DepositResponse) ProtoMessage() {} -func (*DepositResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{27} -} -func (m *DepositResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DepositResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *DepositResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DepositResponse.Merge(m, src) -} -func (m *DepositResponse) XXX_Size() int { - return m.Size() -} -func (m *DepositResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DepositResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DepositResponse proto.InternalMessageInfo - -func (m *DepositResponse) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -func (m *DepositResponse) GetDeposit() *v1alpha1.Deposit { - if m != nil { - return m.Deposit - } - return nil -} - -// Deprecated: Do not use. -type ExitAnnounce struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExitAnnounce) Reset() { *m = ExitAnnounce{} } -func (m *ExitAnnounce) String() string { return proto.CompactTextString(m) } -func (*ExitAnnounce) ProtoMessage() {} -func (*ExitAnnounce) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{28} -} -func (m *ExitAnnounce) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ExitAnnounce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ExitAnnounce.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ExitAnnounce) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExitAnnounce.Merge(m, src) -} -func (m *ExitAnnounce) XXX_Size() int { - return m.Size() -} -func (m *ExitAnnounce) XXX_DiscardUnknown() { - xxx_messageInfo_ExitAnnounce.DiscardUnknown(m) -} - -var xxx_messageInfo_ExitAnnounce proto.InternalMessageInfo - -func (m *ExitAnnounce) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type ExitRequest struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExitRequest) Reset() { *m = ExitRequest{} } -func (m *ExitRequest) String() string { return proto.CompactTextString(m) } -func (*ExitRequest) ProtoMessage() {} -func (*ExitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{29} -} -func (m *ExitRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ExitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ExitRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ExitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExitRequest.Merge(m, src) -} -func (m *ExitRequest) XXX_Size() int { - return m.Size() -} -func (m *ExitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExitRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExitRequest proto.InternalMessageInfo - -func (m *ExitRequest) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -// Deprecated: Do not use. -type ExitResponse struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - VoluntaryExit *v1alpha1.VoluntaryExit `protobuf:"bytes,2,opt,name=voluntary_exit,json=voluntaryExit,proto3" json:"voluntary_exit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExitResponse) Reset() { *m = ExitResponse{} } -func (m *ExitResponse) String() string { return proto.CompactTextString(m) } -func (*ExitResponse) ProtoMessage() {} -func (*ExitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{30} -} -func (m *ExitResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ExitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ExitResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ExitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExitResponse.Merge(m, src) -} -func (m *ExitResponse) XXX_Size() int { - return m.Size() -} -func (m *ExitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExitResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ExitResponse proto.InternalMessageInfo - -func (m *ExitResponse) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - -func (m *ExitResponse) GetVoluntaryExit() *v1alpha1.VoluntaryExit { - if m != nil { - return m.VoluntaryExit - } - return nil -} - -// Deprecated: Do not use. -type Handshake struct { - DepositContractAddress string `protobuf:"bytes,1,opt,name=deposit_contract_address,json=depositContractAddress,proto3" json:"deposit_contract_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Handshake) Reset() { *m = Handshake{} } -func (m *Handshake) String() string { return proto.CompactTextString(m) } -func (*Handshake) ProtoMessage() {} -func (*Handshake) Descriptor() ([]byte, []int) { - return fileDescriptor_a1d590cda035b632, []int{31} -} -func (m *Handshake) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Handshake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Handshake.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *Handshake) XXX_Merge(src proto.Message) { - xxx_messageInfo_Handshake.Merge(m, src) -} -func (m *Handshake) XXX_Size() int { - return m.Size() -} -func (m *Handshake) XXX_DiscardUnknown() { - xxx_messageInfo_Handshake.DiscardUnknown(m) -} - -var xxx_messageInfo_Handshake proto.InternalMessageInfo - -func (m *Handshake) GetDepositContractAddress() string { - if m != nil { - return m.DepositContractAddress - } - return "" -} - func init() { - proto.RegisterEnum("ethereum.beacon.p2p.v1.Topic", Topic_name, Topic_value) proto.RegisterEnum("ethereum.beacon.p2p.v1.Goodbye_Reason", Goodbye_Reason_name, Goodbye_Reason_value) proto.RegisterType((*Hello)(nil), "ethereum.beacon.p2p.v1.Hello") proto.RegisterType((*Goodbye)(nil), "ethereum.beacon.p2p.v1.Goodbye") proto.RegisterType((*BeaconBlocksRequest)(nil), "ethereum.beacon.p2p.v1.BeaconBlocksRequest") - proto.RegisterType((*BeaconBlocksResponse)(nil), "ethereum.beacon.p2p.v1.BeaconBlocksResponse") proto.RegisterType((*RecentBeaconBlocksRequest)(nil), "ethereum.beacon.p2p.v1.RecentBeaconBlocksRequest") proto.RegisterType((*ErrorMessage)(nil), "ethereum.beacon.p2p.v1.ErrorMessage") - proto.RegisterType((*Envelope)(nil), "ethereum.beacon.p2p.v1.Envelope") - proto.RegisterType((*BeaconBlockAnnounce)(nil), "ethereum.beacon.p2p.v1.BeaconBlockAnnounce") - proto.RegisterType((*BeaconBlockRequest)(nil), "ethereum.beacon.p2p.v1.BeaconBlockRequest") - proto.RegisterType((*BeaconBlockRequestBySlotNumber)(nil), "ethereum.beacon.p2p.v1.BeaconBlockRequestBySlotNumber") - proto.RegisterType((*BeaconBlockResponse)(nil), "ethereum.beacon.p2p.v1.BeaconBlockResponse") - proto.RegisterType((*BatchedBeaconBlockRequest)(nil), "ethereum.beacon.p2p.v1.BatchedBeaconBlockRequest") - proto.RegisterType((*BatchedBeaconBlockResponse)(nil), "ethereum.beacon.p2p.v1.BatchedBeaconBlockResponse") - proto.RegisterType((*ChainHeadRequest)(nil), "ethereum.beacon.p2p.v1.ChainHeadRequest") - proto.RegisterType((*ChainHeadResponse)(nil), "ethereum.beacon.p2p.v1.ChainHeadResponse") - proto.RegisterType((*BeaconStateHashAnnounce)(nil), "ethereum.beacon.p2p.v1.BeaconStateHashAnnounce") - proto.RegisterType((*BeaconStateRequest)(nil), "ethereum.beacon.p2p.v1.BeaconStateRequest") - proto.RegisterType((*BeaconStateResponse)(nil), "ethereum.beacon.p2p.v1.BeaconStateResponse") - proto.RegisterType((*FinalizedStateAnnounce)(nil), "ethereum.beacon.p2p.v1.FinalizedStateAnnounce") - proto.RegisterType((*ProposerSlashingAnnounce)(nil), "ethereum.beacon.p2p.v1.ProposerSlashingAnnounce") - proto.RegisterType((*ProposerSlashingRequest)(nil), "ethereum.beacon.p2p.v1.ProposerSlashingRequest") - proto.RegisterType((*ProposerSlashingResponse)(nil), "ethereum.beacon.p2p.v1.ProposerSlashingResponse") - proto.RegisterType((*AttesterSlashingAnnounce)(nil), "ethereum.beacon.p2p.v1.AttesterSlashingAnnounce") - proto.RegisterType((*AttesterSlashingRequest)(nil), "ethereum.beacon.p2p.v1.AttesterSlashingRequest") - proto.RegisterType((*AttesterSlashingResponse)(nil), "ethereum.beacon.p2p.v1.AttesterSlashingResponse") - proto.RegisterType((*DepositAnnounce)(nil), "ethereum.beacon.p2p.v1.DepositAnnounce") - proto.RegisterType((*DepositRequest)(nil), "ethereum.beacon.p2p.v1.DepositRequest") - proto.RegisterType((*DepositResponse)(nil), "ethereum.beacon.p2p.v1.DepositResponse") - proto.RegisterType((*ExitAnnounce)(nil), "ethereum.beacon.p2p.v1.ExitAnnounce") - proto.RegisterType((*ExitRequest)(nil), "ethereum.beacon.p2p.v1.ExitRequest") - proto.RegisterType((*ExitResponse)(nil), "ethereum.beacon.p2p.v1.ExitResponse") - proto.RegisterType((*Handshake)(nil), "ethereum.beacon.p2p.v1.Handshake") } func init() { proto.RegisterFile("proto/beacon/p2p/v1/messages.proto", fileDescriptor_a1d590cda035b632) } var fileDescriptor_a1d590cda035b632 = []byte{ - // 1475 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xcd, 0x6e, 0xdb, 0xc6, - 0x16, 0xbe, 0x94, 0x7f, 0x75, 0x24, 0xcb, 0xf2, 0xd8, 0xd7, 0x51, 0x9c, 0xd8, 0x4e, 0x98, 0x38, - 0xf1, 0xbd, 0x4d, 0xa4, 0x58, 0xce, 0xc2, 0x0d, 0xd0, 0x06, 0x92, 0xcc, 0x46, 0x86, 0x1d, 0x2a, - 0x19, 0xc9, 0x09, 0x82, 0x2e, 0x08, 0x4a, 0x9a, 0x58, 0x82, 0x69, 0x0e, 0xcb, 0xa1, 0x8c, 0x38, - 0x9b, 0xa2, 0xbb, 0xbe, 0x41, 0xd1, 0x5d, 0xd1, 0x45, 0xb7, 0xdd, 0xf4, 0x21, 0xba, 0xec, 0x13,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 0x85, 0x9b, 0xe5, 0x52, 0xa3, 0x52, 0xd5, - 0xf6, 0x8d, 0x91, 0x15, 0x67, 0x38, 0x6a, 0x0b, 0xd6, 0xc7, 0xa0, 0x24, 0xd9, 0x2c, 0x87, 0xad, - 0x01, 0xaa, 0x54, 0x4b, 0x07, 0xba, 0x51, 0xd5, 0x4a, 0xfb, 0x21, 0xc5, 0x1c, 0x8f, 0xdd, 0x80, - 0xe5, 0xbe, 0x98, 0x4c, 0x9c, 0xe7, 0x41, 0x15, 0xd6, 0x24, 0x6f, 0xbd, 0x51, 0x6a, 0x68, 0x46, - 0xb5, 0x54, 0xaf, 0x46, 0x9e, 0x24, 0x07, 0x3c, 0x11, 0x98, 0x80, 0x1e, 0x06, 0x64, 0x06, 0x51, - 0x59, 0x20, 0x15, 0x74, 0x26, 0xc3, 0xa5, 0x46, 0x43, 0xf3, 0x21, 0x07, 0x35, 0x3d, 0x9b, 0xf6, - 0x63, 0xe5, 0xf4, 0x9f, 0x1f, 0x37, 0x94, 0xbf, 0x3e, 0x6e, 0x28, 0x7f, 0x7f, 0xdc, 0x50, 0x9a, - 0xb3, 0xfc, 0x77, 0x77, 0xf7, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x1a, 0xf6, 0x65, 0x64, - 0x0f, 0x00, 0x00, + // 528 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xcd, 0x6e, 0xd3, 0x40, + 0x10, 0x66, 0x1b, 0x27, 0x6d, 0x27, 0x4e, 0x93, 0x6e, 0x50, 0x15, 0x40, 0x4a, 0xa2, 0x45, 0x82, + 0x1c, 0xa8, 0xad, 0x26, 0x3d, 0x00, 0x07, 0x10, 0x29, 0x56, 0x1b, 0xb5, 0x38, 0x62, 0x9b, 0xb6, + 0x07, 0x0e, 0x56, 0xec, 0x6e, 0x7e, 0x54, 0x27, 0x6b, 0xbc, 0x9b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9, 0x54, 0x26, 0x9f, 0x10, 0x17, 0x18, 0x83, 0x26, 0x24, 0x0b, + 0x54, 0xec, 0x1a, 0x55, 0x6f, 0xf2, 0x1e, 0x1e, 0x50, 0xe6, 0xb1, 0xa9, 0xbc, 0xcd, 0xde, 0x21, + 0xe4, 0x53, 0x67, 0xa2, 0x82, 0xea, 0x99, 0x86, 0xde, 0x2e, 0xaf, 0x97, 0xb5, 0x62, 0x6a, 0xed, + 0xf5, 0xb3, 0xc8, 0x1c, 0xb8, 0xbf, 0x8d, 0x09, 0xd2, 0x02, 0xdd, 0x0a, 0x43, 0x1e, 0xbe, 0x8b, + 0x4f, 0x1c, 0x3f, 0x86, 0x02, 0x8b, 0x6a, 0x27, 0xb9, 0x79, 0xb5, 0xe2, 0x36, 0xd5, 0xd9, 0x5f, + 0xa0, 0xb6, 0xfe, 0x6d, 0x55, 0x45, 0xdf, 0x57, 0x55, 0xf4, 0x63, 0x55, 0x45, 0x6e, 0x4e, 0x9d, + 0x73, 0xeb, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2c, 0xce, 0xb3, 0x51, 0x3b, 0x03, 0x00, 0x00, } func (m *Hello) Marshal() (dAtA []byte, err error) { @@ -2090,39 +509,6 @@ func (m *BeaconBlocksRequest) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *BeaconBlocksResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlocksResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Blocks) > 0 { - for _, msg := range m.Blocks { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - func (m *RecentBeaconBlocksRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2179,846 +565,6 @@ func (m *ErrorMessage) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *Envelope) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Envelope) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.SpanContext) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.SpanContext))) - i += copy(dAtA[i:], m.SpanContext) - } - if len(m.Payload) > 0 { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Payload))) - i += copy(dAtA[i:], m.Payload) - } - if m.Timestamp != nil { - dAtA[i] = 0x1a - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.Timestamp.Size())) - n1, err := m.Timestamp.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n1 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BeaconBlockAnnounce) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockAnnounce) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.SlotNumber != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.SlotNumber)) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BeaconBlockRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BeaconBlockRequestBySlotNumber) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockRequestBySlotNumber) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.SlotNumber != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.SlotNumber)) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BeaconBlockResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconBlockResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.Block != nil { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.Block.Size())) - n2, err := m.Block.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n2 - } - if m.Attestation != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.Attestation.Size())) - n3, err := m.Attestation.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n3 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BatchedBeaconBlockRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BatchedBeaconBlockRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.StartSlot != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.StartSlot)) - } - if m.EndSlot != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.EndSlot)) - } - if len(m.FinalizedRoot) > 0 { - dAtA[i] = 0x1a - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.FinalizedRoot))) - i += copy(dAtA[i:], m.FinalizedRoot) - } - if len(m.CanonicalRoot) > 0 { - dAtA[i] = 0x22 - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.CanonicalRoot))) - i += copy(dAtA[i:], m.CanonicalRoot) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BatchedBeaconBlockResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BatchedBeaconBlockResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.BatchedBlocks) > 0 { - for _, msg := range m.BatchedBlocks { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n - } - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ChainHeadRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ChainHeadRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ChainHeadResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ChainHeadResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.CanonicalSlot != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.CanonicalSlot)) - } - if len(m.CanonicalStateRootHash32) > 0 { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.CanonicalStateRootHash32))) - i += copy(dAtA[i:], m.CanonicalStateRootHash32) - } - if len(m.FinalizedStateRootHash32S) > 0 { - dAtA[i] = 0x1a - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.FinalizedStateRootHash32S))) - i += copy(dAtA[i:], m.FinalizedStateRootHash32S) - } - if len(m.CanonicalBlockRoot) > 0 { - dAtA[i] = 0x22 - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.CanonicalBlockRoot))) - i += copy(dAtA[i:], m.CanonicalBlockRoot) - } - if len(m.FinalizedBlockRoot) > 0 { - dAtA[i] = 0x2a - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.FinalizedBlockRoot))) - i += copy(dAtA[i:], m.FinalizedBlockRoot) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BeaconStateHashAnnounce) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconStateHashAnnounce) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BeaconStateRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconStateRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.FinalizedStateRootHash32S) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.FinalizedStateRootHash32S))) - i += copy(dAtA[i:], m.FinalizedStateRootHash32S) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *BeaconStateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *BeaconStateResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.FinalizedState != nil { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.FinalizedState.Size())) - n4, err := m.FinalizedState.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n4 - } - if m.FinalizedBlock != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.FinalizedBlock.Size())) - n5, err := m.FinalizedBlock.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n5 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *FinalizedStateAnnounce) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *FinalizedStateAnnounce) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.BlockRoot) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.BlockRoot))) - i += copy(dAtA[i:], m.BlockRoot) - } - if len(m.StateRoot) > 0 { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.StateRoot))) - i += copy(dAtA[i:], m.StateRoot) - } - if m.Slot != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.Slot)) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ProposerSlashingAnnounce) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerSlashingAnnounce) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ProposerSlashingRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerSlashingRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ProposerSlashingResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ProposerSlashingResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.ProposerSlashing != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.ProposerSlashing.Size())) - n6, err := m.ProposerSlashing.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n6 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *AttesterSlashingAnnounce) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterSlashingAnnounce) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *AttesterSlashingRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterSlashingRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *AttesterSlashingResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *AttesterSlashingResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.AttesterSlashing != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.AttesterSlashing.Size())) - n7, err := m.AttesterSlashing.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n7 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *DepositAnnounce) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DepositAnnounce) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *DepositRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DepositRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *DepositResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DepositResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.Deposit != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.Deposit.Size())) - n8, err := m.Deposit.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n8 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ExitAnnounce) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ExitAnnounce) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ExitRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ExitRequest) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *ExitResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ExitResponse) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.Hash))) - i += copy(dAtA[i:], m.Hash) - } - if m.VoluntaryExit != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintMessages(dAtA, i, uint64(m.VoluntaryExit.Size())) - n9, err := m.VoluntaryExit.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n9 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *Handshake) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *Handshake) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.DepositContractAddress) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintMessages(dAtA, i, uint64(len(m.DepositContractAddress))) - i += copy(dAtA[i:], m.DepositContractAddress) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - func encodeVarintMessages(dAtA []byte, offset int, v uint64) int { for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) @@ -3098,24 +644,6 @@ func (m *BeaconBlocksRequest) Size() (n int) { return n } -func (m *BeaconBlocksResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Blocks) > 0 { - for _, e := range m.Blocks { - l = e.Size() - n += 1 + l + sovMessages(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - func (m *RecentBeaconBlocksRequest) Size() (n int) { if m == nil { return 0 @@ -3150,486 +678,6 @@ func (m *ErrorMessage) Size() (n int) { return n } -func (m *Envelope) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SpanContext) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - l = len(m.Payload) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.Timestamp != nil { - l = m.Timestamp.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockAnnounce) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.SlotNumber != 0 { - n += 1 + sovMessages(uint64(m.SlotNumber)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockRequestBySlotNumber) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.SlotNumber != 0 { - n += 1 + sovMessages(uint64(m.SlotNumber)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconBlockResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Block != nil { - l = m.Block.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.Attestation != nil { - l = m.Attestation.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BatchedBeaconBlockRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StartSlot != 0 { - n += 1 + sovMessages(uint64(m.StartSlot)) - } - if m.EndSlot != 0 { - n += 1 + sovMessages(uint64(m.EndSlot)) - } - l = len(m.FinalizedRoot) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - l = len(m.CanonicalRoot) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BatchedBeaconBlockResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.BatchedBlocks) > 0 { - for _, e := range m.BatchedBlocks { - l = e.Size() - n += 1 + l + sovMessages(uint64(l)) - } - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ChainHeadRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ChainHeadResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CanonicalSlot != 0 { - n += 1 + sovMessages(uint64(m.CanonicalSlot)) - } - l = len(m.CanonicalStateRootHash32) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - l = len(m.FinalizedStateRootHash32S) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - l = len(m.CanonicalBlockRoot) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - l = len(m.FinalizedBlockRoot) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconStateHashAnnounce) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconStateRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.FinalizedStateRootHash32S) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *BeaconStateResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.FinalizedState != nil { - l = m.FinalizedState.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.FinalizedBlock != nil { - l = m.FinalizedBlock.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *FinalizedStateAnnounce) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.BlockRoot) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - l = len(m.StateRoot) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.Slot != 0 { - n += 1 + sovMessages(uint64(m.Slot)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerSlashingAnnounce) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerSlashingRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ProposerSlashingResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.ProposerSlashing != nil { - l = m.ProposerSlashing.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterSlashingAnnounce) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterSlashingRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *AttesterSlashingResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.AttesterSlashing != nil { - l = m.AttesterSlashing.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DepositAnnounce) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DepositRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DepositResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.Deposit != nil { - l = m.Deposit.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ExitAnnounce) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ExitRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *ExitResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.VoluntaryExit != nil { - l = m.VoluntaryExit.Size() - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *Handshake) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DepositContractAddress) - if l > 0 { - n += 1 + l + sovMessages(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - func sovMessages(x uint64) (n int) { for { n++ @@ -4055,94 +1103,6 @@ func (m *BeaconBlocksRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *BeaconBlocksResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlocksResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlocksResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Blocks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Blocks = append(m.Blocks, &v1alpha1.BeaconBlock{}) - if err := m.Blocks[len(m.Blocks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *RecentBeaconBlocksRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4315,2798 +1275,6 @@ func (m *ErrorMessage) Unmarshal(dAtA []byte) error { } return nil } -func (m *Envelope) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Envelope: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Envelope: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SpanContext", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SpanContext = append(m.SpanContext[:0], dAtA[iNdEx:postIndex]...) - if m.SpanContext == nil { - m.SpanContext = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Payload = append(m.Payload[:0], dAtA[iNdEx:postIndex]...) - if m.Payload == nil { - m.Payload = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Timestamp == nil { - m.Timestamp = &types.Timestamp{} - } - if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockAnnounce) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockAnnounce: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockAnnounce: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SlotNumber", wireType) - } - m.SlotNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SlotNumber |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockRequestBySlotNumber) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockRequestBySlotNumber: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockRequestBySlotNumber: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SlotNumber", wireType) - } - m.SlotNumber = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SlotNumber |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconBlockResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconBlockResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Block == nil { - m.Block = &v1alpha1.BeaconBlock{} - } - if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Attestation", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Attestation == nil { - m.Attestation = &v1alpha1.Attestation{} - } - if err := m.Attestation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BatchedBeaconBlockRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BatchedBeaconBlockRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BatchedBeaconBlockRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartSlot", wireType) - } - m.StartSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EndSlot", wireType) - } - m.EndSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EndSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FinalizedRoot = append(m.FinalizedRoot[:0], dAtA[iNdEx:postIndex]...) - if m.FinalizedRoot == nil { - m.FinalizedRoot = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CanonicalRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CanonicalRoot = append(m.CanonicalRoot[:0], dAtA[iNdEx:postIndex]...) - if m.CanonicalRoot == nil { - m.CanonicalRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BatchedBeaconBlockResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BatchedBeaconBlockResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BatchedBeaconBlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BatchedBlocks", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BatchedBlocks = append(m.BatchedBlocks, &v1alpha1.BeaconBlock{}) - if err := m.BatchedBlocks[len(m.BatchedBlocks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChainHeadRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChainHeadRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChainHeadRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ChainHeadResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ChainHeadResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ChainHeadResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CanonicalSlot", wireType) - } - m.CanonicalSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CanonicalSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CanonicalStateRootHash32", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CanonicalStateRootHash32 = append(m.CanonicalStateRootHash32[:0], dAtA[iNdEx:postIndex]...) - if m.CanonicalStateRootHash32 == nil { - m.CanonicalStateRootHash32 = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedStateRootHash32S", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FinalizedStateRootHash32S = append(m.FinalizedStateRootHash32S[:0], dAtA[iNdEx:postIndex]...) - if m.FinalizedStateRootHash32S == nil { - m.FinalizedStateRootHash32S = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CanonicalBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.CanonicalBlockRoot = append(m.CanonicalBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.CanonicalBlockRoot == nil { - m.CanonicalBlockRoot = []byte{} - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedBlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FinalizedBlockRoot = append(m.FinalizedBlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.FinalizedBlockRoot == nil { - m.FinalizedBlockRoot = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconStateHashAnnounce) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconStateHashAnnounce: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconStateHashAnnounce: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconStateRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconStateRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedStateRootHash32S", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FinalizedStateRootHash32S = append(m.FinalizedStateRootHash32S[:0], dAtA[iNdEx:postIndex]...) - if m.FinalizedStateRootHash32S == nil { - m.FinalizedStateRootHash32S = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BeaconStateResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BeaconStateResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BeaconStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedState", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FinalizedState == nil { - m.FinalizedState = &BeaconState{} - } - if err := m.FinalizedState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FinalizedBlock", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FinalizedBlock == nil { - m.FinalizedBlock = &v1alpha1.BeaconBlock{} - } - if err := m.FinalizedBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FinalizedStateAnnounce) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: FinalizedStateAnnounce: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FinalizedStateAnnounce: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BlockRoot = append(m.BlockRoot[:0], dAtA[iNdEx:postIndex]...) - if m.BlockRoot == nil { - m.BlockRoot = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) - if m.StateRoot == nil { - m.StateRoot = []byte{} - } - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerSlashingAnnounce) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerSlashingAnnounce: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerSlashingAnnounce: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerSlashingRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerSlashingRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerSlashingRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ProposerSlashingResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ProposerSlashingResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ProposerSlashingResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProposerSlashing", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ProposerSlashing == nil { - m.ProposerSlashing = &v1alpha1.ProposerSlashing{} - } - if err := m.ProposerSlashing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterSlashingAnnounce) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterSlashingAnnounce: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterSlashingAnnounce: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterSlashingRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterSlashingRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterSlashingRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AttesterSlashingResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AttesterSlashingResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AttesterSlashingResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttesterSlashing", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AttesterSlashing == nil { - m.AttesterSlashing = &v1alpha1.AttesterSlashing{} - } - if err := m.AttesterSlashing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DepositAnnounce) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DepositAnnounce: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DepositAnnounce: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DepositRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DepositRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DepositRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DepositResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DepositResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DepositResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Deposit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Deposit == nil { - m.Deposit = &v1alpha1.Deposit{} - } - if err := m.Deposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ExitAnnounce) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ExitAnnounce: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExitAnnounce: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ExitRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ExitRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExitRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ExitResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ExitResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ExitResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field VoluntaryExit", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.VoluntaryExit == nil { - m.VoluntaryExit = &v1alpha1.VoluntaryExit{} - } - if err := m.VoluntaryExit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Handshake) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Handshake: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Handshake: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DepositContractAddress", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMessages - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMessages - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMessages - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DepositContractAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMessages(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthMessages - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func skipMessages(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/proto/beacon/p2p/v1/messages.proto b/proto/beacon/p2p/v1/messages.proto index 4ec1597b73..7e809cde27 100644 --- a/proto/beacon/p2p/v1/messages.proto +++ b/proto/beacon/p2p/v1/messages.proto @@ -2,10 +2,6 @@ syntax = "proto3"; package ethereum.beacon.p2p.v1; -import "proto/beacon/p2p/v1/types.proto"; -import "proto/eth/v1alpha1/attestation.proto"; -import "proto/eth/v1alpha1/beacon_block.proto"; -import "google/protobuf/timestamp.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; message Hello { @@ -43,167 +39,3 @@ message RecentBeaconBlocksRequest { message ErrorMessage { string error_message = 1; } - -// TODO(3147): Delete below this line. - -enum Topic { - UNKNOWN = 0; - BEACON_BLOCK_ANNOUNCE = 1 [deprecated=true]; - BEACON_BLOCK_REQUEST = 2 [deprecated=true]; - BEACON_BLOCK_REQUEST_BY_SLOT_NUMBER = 3 [deprecated=true]; - BEACON_BLOCK_RESPONSE = 4 [deprecated=true]; - BATCHED_BEACON_BLOCK_REQUEST = 5 [deprecated=true]; - BATCHED_BEACON_BLOCK_RESPONSE = 6 [deprecated=true]; - CHAIN_HEAD_REQUEST = 7 [deprecated=true]; - CHAIN_HEAD_RESPONSE = 8 [deprecated=true]; - BEACON_STATE_HASH_ANNOUNCE = 9 [deprecated=true]; - BEACON_STATE_REQUEST = 10 [deprecated=true]; - BEACON_STATE_RESPONSE = 11 [deprecated=true]; - BEACON_ATTESTATION = 12 [deprecated=true]; -} - -message Envelope { - bytes span_context = 1; - bytes payload = 2; - google.protobuf.Timestamp timestamp = 3; -} - -message BeaconBlockAnnounce { - option deprecated = true; - bytes hash = 1; - uint64 slot_number = 2; -} - -message BeaconBlockRequest { - option deprecated = true; - bytes hash = 1; -} - -message BeaconBlockRequestBySlotNumber { - option deprecated = true; - uint64 slot_number = 1; -} - -message BeaconBlockResponse { - option deprecated = true; - ethereum.eth.v1alpha1.BeaconBlock block = 1; - ethereum.eth.v1alpha1.Attestation attestation = 2; -} - -message BatchedBeaconBlockRequest { - option deprecated = true; - uint64 start_slot = 1 [deprecated=true]; - uint64 end_slot = 2 [deprecated=true]; - bytes finalized_root = 3; - bytes canonical_root = 4; -} - -message BatchedBeaconBlockResponse { - option deprecated = true; - repeated ethereum.eth.v1alpha1.BeaconBlock batched_blocks = 1; -} - -message ChainHeadRequest { - option deprecated = true; -} - -message ChainHeadResponse { - option deprecated = true; - uint64 canonical_slot = 1; - bytes canonical_state_root_hash32 = 2; - bytes finalized_state_root_hash32s = 3; - bytes canonical_block_root = 4; - bytes finalized_block_root = 5; -} - -message BeaconStateHashAnnounce { - option deprecated = true; - bytes hash = 1; -} - -message BeaconStateRequest { - option deprecated = true; - bytes finalized_state_root_hash32s = 1; -} - -message BeaconStateResponse { - option deprecated = true; - BeaconState finalized_state = 1; - ethereum.eth.v1alpha1.BeaconBlock finalized_block = 2; -} - -message FinalizedStateAnnounce { - option deprecated = true; - bytes block_root = 1; - bytes state_root = 2; - uint64 slot = 3; -} - -message ProposerSlashingAnnounce { - option deprecated = true; - bytes hash = 1; -} - -message ProposerSlashingRequest { - option deprecated = true; - bytes hash = 1; -} - -message ProposerSlashingResponse { - option deprecated = true; - bytes hash = 1; - ethereum.eth.v1alpha1.ProposerSlashing proposer_slashing = 2; -} - -message AttesterSlashingAnnounce { - option deprecated = true; - bytes hash = 1; -} - -message AttesterSlashingRequest { - option deprecated = true; - bytes hash = 1; -} - -message AttesterSlashingResponse { - option deprecated = true; - bytes hash = 1; - ethereum.eth.v1alpha1.AttesterSlashing Attester_slashing = 2; -} - -message DepositAnnounce { - option deprecated = true; - bytes hash = 1; -} - -message DepositRequest { - option deprecated = true; - bytes hash = 1; -} - -message DepositResponse { - option deprecated = true; - bytes hash = 1; - ethereum.eth.v1alpha1.Deposit deposit = 2; -} - -message ExitAnnounce { - option deprecated = true; - bytes hash = 1; -} - -message ExitRequest { - option deprecated = true; - bytes hash = 1; -} - -message ExitResponse { - option deprecated = true; - bytes hash = 1; - ethereum.eth.v1alpha1.VoluntaryExit voluntary_exit = 2; -} - -message Handshake { - option deprecated = true; - string deposit_contract_address = 1; -} diff --git a/proto/beacon/p2p/v1/types.pb.go b/proto/beacon/p2p/v1/types.pb.go index b77e9294f0..99c22032db 100755 --- a/proto/beacon/p2p/v1/types.pb.go +++ b/proto/beacon/p2p/v1/types.pb.go @@ -5,13 +5,12 @@ package ethereum_beacon_p2p_v1 import ( fmt "fmt" - io "io" - math "math" - _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" v1alpha1 "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/beacon/rpc/v1/services.pb.go b/proto/beacon/rpc/v1/services.pb.go index 0ca36ca5a0..7d2b5e3515 100755 --- a/proto/beacon/rpc/v1/services.pb.go +++ b/proto/beacon/rpc/v1/services.pb.go @@ -7,15 +7,14 @@ import ( context "context" encoding_binary "encoding/binary" fmt "fmt" - io "io" - math "math" - proto "github.com/gogo/protobuf/proto" types "github.com/gogo/protobuf/types" _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" v1alpha1 "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -1420,124 +1419,123 @@ func init() { func init() { proto.RegisterFile("proto/beacon/rpc/v1/services.proto", fileDescriptor_9eb4e94b85965285) } var fileDescriptor_9eb4e94b85965285 = []byte{ - // 1859 bytes of a gzipped FileDescriptorProto + // 1841 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x5f, 0x6f, 0x1b, 0xc7, 0x11, 0xcf, 0x51, 0x12, 0x2d, 0x8f, 0x28, 0x89, 0x5a, 0xcb, 0xb2, 0x4c, 0xff, 0xbb, 0x5e, 0x9d, - 0x54, 0x12, 0xa2, 0xa3, 0x44, 0x07, 0x46, 0xaa, 0xc0, 0x4d, 0x29, 0x89, 0x96, 0x59, 0x0b, 0x14, - 0x73, 0xa4, 0xed, 0x14, 0x79, 0xb8, 0x2e, 0x8f, 0x6b, 0xf2, 0x6a, 0xde, 0xed, 0xf9, 0x6e, 0xc9, - 0x58, 0x7d, 0x28, 0xd0, 0xbe, 0xf6, 0xa9, 0xe9, 0x07, 0xc8, 0x87, 0xe8, 0x43, 0x81, 0xa2, 0xcf, -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xc5, 0x10, 0xfb, 0x6d, 0x4c, 0xed, 0x90, 0x0c, 0x08, - 0xee, 0xad, 0x67, 0x74, 0x6d, 0x23, 0x67, 0xe5, 0x24, 0xd1, 0x12, 0x34, 0x63, 0x07, 0x96, 0xeb, - 0x21, 0x0d, 0x68, 0x44, 0x2c, 0x12, 0x05, 0xd4, 0x8f, 0x08, 0xba, 0x03, 0x20, 0x36, 0x67, 0x87, - 0x54, 0x69, 0xcc, 0x59, 0x57, 0x05, 0xc5, 0xa2, 0x94, 0x19, 0x03, 0x40, 0xe5, 0xe1, 0xde, 0x62, - 0x07, 0xee, 0x00, 0x04, 0xfd, 0x56, 0xcf, 0x75, 0xec, 0x57, 0xe4, 0x34, 0x06, 0x49, 0xca, 0x53, - 0x72, 0x8a, 0x6e, 0xc0, 0x95, 0x80, 0x3a, 0x76, 0xcb, 0x65, 0xca, 0x8b, 0x6c, 0x40, 0x9d, 0x7d, - 0x77, 0xe8, 0xf8, 0x4c, 0xca, 0xf1, 0x55, 0x98, 0x8b, 0xba, 0x38, 0x6c, 0xaf, 0xcf, 0x0a, 0xa2, - 0x5c, 0x18, 0xf7, 0x61, 0x49, 0xda, 0x4d, 0x1c, 0x45, 0x30, 0x9b, 0x72, 0x51, 0x7c, 0x1b, 0x75, - 0xb8, 0xf5, 0x1c, 0xf7, 0xdc, 0x36, 0x66, 0x34, 0xac, 0x93, 0xf0, 0x25, 0x0d, 0x3d, 0xec, 0x3b, - 0xe4, 0x5d, 0x71, 0x3a, 0xeb, 0x7a, 0x66, 0xc4, 0x75, 0xe3, 0x7b, 0x0d, 0x6e, 0x9f, 0xaf, 0x52, - 0xb9, 0xb1, 0x0e, 0x57, 0x5a, 0xb8, 0xc7, 0x49, 0x4a, 0x6d, 0xbc, 0x44, 0x9b, 0x90, 0x67, 0x94, - 0xe1, 0x9e, 0x3d, 0x88, 0xf1, 0x91, 0xd0, 0x3f, 0x6b, 0x2d, 0x0b, 0x7a, 0xa2, 0x36, 0x42, 0x0f,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0x95, 0x7e, 0x34, 0x6d, 0xf6, 0x27, 0x59, + 0xff, 0xe7, 0x0c, 0xdc, 0x98, 0x70, 0x33, 0x52, 0xca, 0x8d, 0xf7, 0x52, 0x8e, 0x7e, 0x02, 0x37, + 0x09, 0xef, 0xec, 0xba, 0x2d, 0x12, 0xb2, 0x98, 0x72, 0xd5, 0x93, 0xdd, 0xa0, 0xe7, 0x37, 0x49, + 0xa4, 0x63, 0x23, 0xda, 0xfe, 0xee, 0xa1, 0xe2, 0xcb, 0x8e, 0x59, 0x93, 0x5c, 0xf4, 0x31, 0xac, + 0x25, 0x28, 0x1a, 0x78, 0xdd, 0x5e, 0x4c, 0x59, 0xe0, 0xa6, 0xc2, 0xb7, 0xaa, 0xb9, 0xd5, 0x84, + 0x59, 0x17, 0xe1, 0xdc, 0x84, 0x3c, 0x1e, 0x14, 0x17, 0x57, 0xa6, 0x9c, 0x6e, 0x52, 0xcb, 0x43, + 0x7a, 0x45, 0x90, 0xd1, 0x67, 0x70, 0x5b, 0x2a, 0x10, 0x82, 0x34, 0x70, 0x53, 0xb0, 0x57, 0x3d, + 0xd2, 0x23, 0x32, 0xd4, 0xb3, 0xce, 0xcd, 0x44, 0xa6, 0x1a, 0x0c, 0xab, 0xd6, 0xe7, 0x42, 0xc0, + 0x7a, 0x04, 0x8b, 0x87, 0xcc, 0xc7, 0x74, 0x50, 0x83, 0x57, 0x61, 0x4e, 0x59, 0xd4, 0x57, 0x44, + 0x2e, 0xd0, 0x1a, 0x64, 0x5b, 0x52, 0x2c, 0x69, 0xac, 0x6a, 0x65, 0x7d, 0x0a, 0x4b, 0x09, 0x5c, + 0x87, 0x7b, 0x13, 0xf2, 0x22, 0xbf, 0x30, 0xef, 0x45, 0xc4, 0xd5, 0x18, 0xa5, 0x6a, 0x79, 0x40, + 0x57, 0x10, 0xeb, 0x0f, 0x19, 0x58, 0x91, 0xd1, 0x6a, 0x44, 0x64, 0xd8, 0xe8, 0x1e, 0xc3, 0x2c, + 0x8f, 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b, 0x3e, 0x16, 0xe5, 0xba, 0x78, 0x5c, 0x3d, + 0xa8, 0xd4, 0xea, 0x15, 0xdb, 0x6f, 0x95, 0xe6, 0x76, 0xec, 0x1d, 0x7b, 0xa7, 0xb0, 0x8c, 0x43, + 0x6a, 0x87, 0xd1, 0x99, 0xb4, 0x1c, 0x10, 0xbe, 0x65, 0x64, 0x4a, 0x79, 0x1c, 0x86, 0x5d, 0xea, + 0xc9, 0xcb, 0x55, 0xfc, 0x55, 0xcc, 0x82, 0xd2, 0xcd, 0x34, 0xa5, 0x1d, 0x85, 0xde, 0xf6, 0xd7, + 0xa4, 0xb9, 0xcd, 0xc9, 0x6b, 0x3e, 0x81, 0xf5, 0x16, 0x94, 0x60, 0xed, 0x8d, 0x99, 0xd8, 0x9b, + 0x6c, 0x22, 0x7a, 0x28, 0x8a, 0xe4, 0x59, 0xec, 0x9b, 0x47, 0x72, 0xa7, 0xe8, 0xa3, 0xe9, 0x76, + 0xfe, 0xdd, 0x9b, 0xbb, 0xc6, 0xdf, 0xdf, 0xdc, 0x35, 0xfe, 0xfb, 0xe6, 0xae, 0xd1, 0xcc, 0xca, + 0x0e, 0xfa, 0xe0, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x9a, 0xad, 0x81, 0x95, 0x13, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1555,7 +1553,6 @@ type BeaconServiceClient interface { WaitForChainStart(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (BeaconService_WaitForChainStartClient, error) CanonicalHead(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error) BlockTree(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*BlockTreeResponse, error) - BlockTreeBySlots(ctx context.Context, in *TreeBlockSlotRequest, opts ...grpc.CallOption) (*BlockTreeResponse, error) } type beaconServiceClient struct { @@ -1616,21 +1613,11 @@ func (c *beaconServiceClient) BlockTree(ctx context.Context, in *types.Empty, op return out, nil } -func (c *beaconServiceClient) BlockTreeBySlots(ctx context.Context, in *TreeBlockSlotRequest, opts ...grpc.CallOption) (*BlockTreeResponse, error) { - out := new(BlockTreeResponse) - err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.BeaconService/BlockTreeBySlots", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - // BeaconServiceServer is the server API for BeaconService service. type BeaconServiceServer interface { WaitForChainStart(*types.Empty, BeaconService_WaitForChainStartServer) error CanonicalHead(context.Context, *types.Empty) (*v1alpha1.BeaconBlock, error) BlockTree(context.Context, *types.Empty) (*BlockTreeResponse, error) - BlockTreeBySlots(context.Context, *TreeBlockSlotRequest) (*BlockTreeResponse, error) } func RegisterBeaconServiceServer(s *grpc.Server, srv BeaconServiceServer) { @@ -1694,24 +1681,6 @@ func _BeaconService_BlockTree_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } -func _BeaconService_BlockTreeBySlots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TreeBlockSlotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconServiceServer).BlockTreeBySlots(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.beacon.rpc.v1.BeaconService/BlockTreeBySlots", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconServiceServer).BlockTreeBySlots(ctx, req.(*TreeBlockSlotRequest)) - } - return interceptor(ctx, in, info, handler) -} - var _BeaconService_serviceDesc = grpc.ServiceDesc{ ServiceName: "ethereum.beacon.rpc.v1.BeaconService", HandlerType: (*BeaconServiceServer)(nil), @@ -1724,10 +1693,6 @@ var _BeaconService_serviceDesc = grpc.ServiceDesc{ MethodName: "BlockTree", Handler: _BeaconService_BlockTree_Handler, }, - { - MethodName: "BlockTreeBySlots", - Handler: _BeaconService_BlockTreeBySlots_Handler, - }, }, Streams: []grpc.StreamDesc{ { diff --git a/proto/beacon/rpc/v1/services.proto b/proto/beacon/rpc/v1/services.proto index 9be23e3bb4..3cb9ef636b 100644 --- a/proto/beacon/rpc/v1/services.proto +++ b/proto/beacon/rpc/v1/services.proto @@ -49,7 +49,6 @@ service BeaconService { get: "/v1/beacon/blocktree"; }; } - rpc BlockTreeBySlots(TreeBlockSlotRequest) returns (BlockTreeResponse); } service AttesterService { diff --git a/proto/beacon/rpc/v1_gateway/services.pb.go b/proto/beacon/rpc/v1_gateway/services.pb.go index d0ca484170..03c8de8c5e 100755 --- a/proto/beacon/rpc/v1_gateway/services.pb.go +++ b/proto/beacon/rpc/v1_gateway/services.pb.go @@ -6,14 +6,13 @@ package ethereum_beacon_rpc_v1 import ( context "context" fmt "fmt" - math "math" - proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options" v1alpha1 "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -1234,123 +1233,121 @@ func init() { func init() { proto.RegisterFile("proto/beacon/rpc/v1/services.proto", fileDescriptor_9eb4e94b85965285) } var fileDescriptor_9eb4e94b85965285 = []byte{ - // 1843 bytes of a gzipped FileDescriptorProto + // 1824 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x5f, 0x73, 0xdb, 0xc6, - 0x11, 0x0f, 0x28, 0x89, 0x91, 0x57, 0xb4, 0x44, 0x9f, 0x65, 0x59, 0xa6, 0xed, 0x31, 0x8a, 0x3a, - 0xa9, 0xa4, 0x89, 0x40, 0x89, 0xce, 0x78, 0x52, 0x65, 0xdc, 0x94, 0x92, 0x68, 0x99, 0xb5, 0x86, - 0x52, 0x40, 0xda, 0x4e, 0x27, 0x0f, 0xe8, 0x11, 0x3c, 0x93, 0x57, 0x13, 0x38, 0x18, 0x38, 0x32, + 0x11, 0x0f, 0x28, 0x89, 0x96, 0x57, 0xb4, 0x44, 0x9d, 0x65, 0x59, 0xa6, 0xed, 0x31, 0x8a, 0x3a, + 0xa9, 0xa4, 0xa9, 0x40, 0x89, 0xce, 0x78, 0x52, 0x65, 0xdc, 0x94, 0x92, 0x68, 0x99, 0xb5, 0x86, + 0x52, 0x40, 0xda, 0x4e, 0x27, 0x0f, 0xe8, 0x11, 0x3c, 0x93, 0xd7, 0x10, 0x38, 0x18, 0x38, 0x32, 0x56, 0x1f, 0x3a, 0xd3, 0xbe, 0xf6, 0xa9, 0xe9, 0x07, 0xc8, 0x87, 0xe8, 0x43, 0x67, 0x3a, 0x9d, - 0x3e, 0x76, 0xfa, 0xde, 0xc7, 0x76, 0xfa, 0x94, 0x87, 0x7e, 0x8c, 0xce, 0xfd, 0x01, 0x08, 0x91, - 0xa2, 0x45, 0xe5, 0x89, 0xb8, 0xdd, 0xfd, 0xed, 0xee, 0xed, 0xed, 0xed, 0xee, 0x11, 0xac, 0x30, - 0x62, 0x9c, 0x95, 0xdb, 0x04, 0x7b, 0x2c, 0x28, 0x47, 0xa1, 0x57, 0x1e, 0xee, 0x96, 0x63, 0x12, - 0x0d, 0xa9, 0x47, 0x62, 0x5b, 0x32, 0xd1, 0x1a, 0xe1, 0x3d, 0x12, 0x91, 0x81, 0x6f, 0x2b, 0x31, - 0x3b, 0x0a, 0x3d, 0x7b, 0xb8, 0x5b, 0xba, 0xdb, 0x65, 0xac, 0xdb, 0x27, 0x65, 0x29, 0xd5, 0x1e, - 0xbc, 0x2e, 0x13, 0x3f, 0xe4, 0x67, 0x0a, 0x54, 0xfa, 0x48, 0x29, 0x26, 0xbc, 0x57, 0x1e, 0xee, - 0xe2, 0x7e, 0xd8, 0xc3, 0xbb, 0xda, 0x8a, 0xdb, 0xee, 0x33, 0xef, 0x8d, 0x16, 0x7b, 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xbd, 0x6b, 0xef, 0x96, 0x56, 0x70, 0x48, 0xed, 0x30, 0x3a, + 0x97, 0x96, 0x03, 0xc2, 0xb7, 0x8d, 0x5c, 0xa5, 0x88, 0xc3, 0xb0, 0x4f, 0x3d, 0x79, 0xb9, 0xca, + 0xbf, 0x89, 0x59, 0x50, 0xb9, 0x93, 0xa5, 0x74, 0xa3, 0xd0, 0xdb, 0xf9, 0x9a, 0xb4, 0x77, 0x38, + 0x79, 0xcb, 0xa7, 0xb0, 0xde, 0x81, 0x12, 0xac, 0xfd, 0x09, 0x13, 0xfb, 0xd3, 0x4d, 0x44, 0x8f, + 0x45, 0x91, 0x3c, 0x8f, 0x7d, 0xf3, 0x58, 0xee, 0x14, 0x7d, 0x34, 0xdb, 0xce, 0xdb, 0x79, 0xd9, + 0x35, 0x1f, 0x7d, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xca, 0x93, 0x32, 0x45, 0x89, 0x13, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1368,7 +1365,6 @@ type BeaconServiceClient interface { WaitForChainStart(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (BeaconService_WaitForChainStartClient, error) CanonicalHead(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1alpha1.BeaconBlock, error) BlockTree(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BlockTreeResponse, error) - BlockTreeBySlots(ctx context.Context, in *TreeBlockSlotRequest, opts ...grpc.CallOption) (*BlockTreeResponse, error) } type beaconServiceClient struct { @@ -1429,21 +1425,11 @@ func (c *beaconServiceClient) BlockTree(ctx context.Context, in *empty.Empty, op return out, nil } -func (c *beaconServiceClient) BlockTreeBySlots(ctx context.Context, in *TreeBlockSlotRequest, opts ...grpc.CallOption) (*BlockTreeResponse, error) { - out := new(BlockTreeResponse) - err := c.cc.Invoke(ctx, "/ethereum.beacon.rpc.v1.BeaconService/BlockTreeBySlots", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - // BeaconServiceServer is the server API for BeaconService service. type BeaconServiceServer interface { WaitForChainStart(*empty.Empty, BeaconService_WaitForChainStartServer) error CanonicalHead(context.Context, *empty.Empty) (*v1alpha1.BeaconBlock, error) BlockTree(context.Context, *empty.Empty) (*BlockTreeResponse, error) - BlockTreeBySlots(context.Context, *TreeBlockSlotRequest) (*BlockTreeResponse, error) } func RegisterBeaconServiceServer(s *grpc.Server, srv BeaconServiceServer) { @@ -1507,24 +1493,6 @@ func _BeaconService_BlockTree_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } -func _BeaconService_BlockTreeBySlots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TreeBlockSlotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BeaconServiceServer).BlockTreeBySlots(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/ethereum.beacon.rpc.v1.BeaconService/BlockTreeBySlots", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BeaconServiceServer).BlockTreeBySlots(ctx, req.(*TreeBlockSlotRequest)) - } - return interceptor(ctx, in, info, handler) -} - var _BeaconService_serviceDesc = grpc.ServiceDesc{ ServiceName: "ethereum.beacon.rpc.v1.BeaconService", HandlerType: (*BeaconServiceServer)(nil), @@ -1537,10 +1505,6 @@ var _BeaconService_serviceDesc = grpc.ServiceDesc{ MethodName: "BlockTree", Handler: _BeaconService_BlockTree_Handler, }, - { - MethodName: "BlockTreeBySlots", - Handler: _BeaconService_BlockTreeBySlots_Handler, - }, }, Streams: []grpc.StreamDesc{ { diff --git a/proto/eth/v1alpha1/attestation.pb.go b/proto/eth/v1alpha1/attestation.pb.go index 223405f1eb..b1dd5518ad 100755 --- a/proto/eth/v1alpha1/attestation.pb.go +++ b/proto/eth/v1alpha1/attestation.pb.go @@ -5,12 +5,11 @@ package eth import ( fmt "fmt" - io "io" - math "math" - _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" github_com_prysmaticlabs_go_bitfield "github.com/prysmaticlabs/go-bitfield" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/eth/v1alpha1/beacon_block.pb.go b/proto/eth/v1alpha1/beacon_block.pb.go index fe053f245c..d3c2ce1895 100755 --- a/proto/eth/v1alpha1/beacon_block.pb.go +++ b/proto/eth/v1alpha1/beacon_block.pb.go @@ -5,11 +5,10 @@ package eth import ( fmt "fmt" - io "io" - math "math" - _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/eth/v1alpha1/beacon_chain.pb.go b/proto/eth/v1alpha1/beacon_chain.pb.go index f3744ac1d1..c47eb69ceb 100755 --- a/proto/eth/v1alpha1/beacon_chain.pb.go +++ b/proto/eth/v1alpha1/beacon_chain.pb.go @@ -7,14 +7,13 @@ import ( context "context" encoding_binary "encoding/binary" fmt "fmt" - io "io" - math "math" - _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" types "github.com/gogo/protobuf/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/eth/v1alpha1/node.pb.go b/proto/eth/v1alpha1/node.pb.go index 647805e30f..2ba95ac9b4 100755 --- a/proto/eth/v1alpha1/node.pb.go +++ b/proto/eth/v1alpha1/node.pb.go @@ -6,13 +6,12 @@ package eth import ( context "context" fmt "fmt" - io "io" - math "math" - proto "github.com/gogo/protobuf/proto" types "github.com/gogo/protobuf/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/eth/v1alpha1/slasher.pb.go b/proto/eth/v1alpha1/slasher.pb.go index e5c5d821ea..b3c643713d 100755 --- a/proto/eth/v1alpha1/slasher.pb.go +++ b/proto/eth/v1alpha1/slasher.pb.go @@ -6,11 +6,10 @@ package eth import ( context "context" fmt "fmt" - math "math" - proto "github.com/gogo/protobuf/proto" types "github.com/gogo/protobuf/types" grpc "google.golang.org/grpc" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/eth/v1alpha1/validator.pb.go b/proto/eth/v1alpha1/validator.pb.go index 1ed6f5045d..abc549b867 100755 --- a/proto/eth/v1alpha1/validator.pb.go +++ b/proto/eth/v1alpha1/validator.pb.go @@ -6,14 +6,13 @@ package eth import ( context "context" fmt "fmt" - io "io" - math "math" - _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" types "github.com/gogo/protobuf/types" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" + io "io" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/sharding/p2p/v1/messages.pb.go b/proto/sharding/p2p/v1/messages.pb.go index 61228b93de..ba268c5f4b 100644 --- a/proto/sharding/p2p/v1/messages.pb.go +++ b/proto/sharding/p2p/v1/messages.pb.go @@ -5,10 +5,9 @@ package ethereum_sharding_p2p_v1 import ( fmt "fmt" + proto "github.com/gogo/protobuf/proto" io "io" math "math" - - proto "github.com/gogo/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/tools/genesis-state-gen/main.go b/tools/genesis-state-gen/main.go index 11d4c74d98..a6921bc94a 100644 --- a/tools/genesis-state-gen/main.go +++ b/tools/genesis-state-gen/main.go @@ -27,7 +27,6 @@ var ( func main() { flag.Parse() - // TODO(#3398): Cannot generate more than 190 keys due to BLS errors. if *numValidators == 0 { log.Fatal("Expected --num-validators to have been provided, received 0") }