mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 15:31:20 +00:00
55e4c6e1db
* wip * wip changes for beacon handlers * wip * updating protos * fixing conflict * fixing protos * fixing more tests * migrating tests and removing one that is irrelevant * fixing e2e * fixing unit tests * missed adding routes * gaz * fixing more tests * Update beacon-chain/rpc/eth/beacon/handlers_pool.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update beacon-chain/rpc/eth/shared/structs.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update beacon-chain/rpc/eth/shared/structs.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update beacon-chain/rpc/eth/shared/structs.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * Update beacon-chain/rpc/eth/shared/structs.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * radek's comments * fixing protos after conflict * accidently removed a proto type --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl>
47 lines
1.8 KiB
Protocol Buffer
47 lines
1.8 KiB
Protocol Buffer
// Copyright 2022 Prysmatic Labs.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
syntax = "proto3";
|
|
|
|
package ethereum.eth.v2;
|
|
|
|
import "proto/eth/ext/options.proto";
|
|
|
|
option csharp_namespace = "Ethereum.Eth.V2";
|
|
option go_package = "github.com/prysmaticlabs/prysm/v4/proto/eth/v2;eth";
|
|
option java_multiple_files = true;
|
|
option java_outer_classname = "WithdrawalsProto";
|
|
option java_package = "org.ethereum.eth.v2";
|
|
option php_namespace = "Ethereum\\Eth\\v2";
|
|
|
|
// The message requesting a BLS to execution withdrawal credentials change
|
|
message BLSToExecutionChange {
|
|
// The validator index requesting the change
|
|
uint64 validator_index = 1 [(ethereum.eth.ext.cast_type) = "github.com/prysmaticlabs/prysm/v4/consensus-types/primitives.ValidatorIndex"];
|
|
|
|
// The public key of the BLS address requesting the change
|
|
bytes from_bls_pubkey = 2 [(ethereum.eth.ext.ssz_size) = "48"];
|
|
|
|
// The new execution address to be the withdrawal credentials
|
|
bytes to_execution_address = 3 [(ethereum.eth.ext.ssz_size) = "20"];
|
|
}
|
|
|
|
// The signed version of a BLSToExecutionChange
|
|
message SignedBLSToExecutionChange {
|
|
// The BLSToExecutionChange message itself
|
|
BLSToExecutionChange message = 1;
|
|
|
|
// The 96 byte BLS signature from the withdrawal address requesting the change
|
|
bytes signature = 2 [(ethereum.eth.ext.ssz_size) = "96"];
|
|
}
|