mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
EIP-7549: validator client (#14158)
* EIP-7549: validator client * server code * tests * build fix * review * remove context * Revert "Auxiliary commit to revert individual files from 16fed79a1ae0bbe4a08cb9819c2785d6e34958dd" This reverts commit f59e1459f3f7561e0483bc8542110794951585c5.
This commit is contained in:
@@ -60,7 +60,7 @@ func TestGetBeaconStatus_OK(t *testing.T) {
|
||||
GenesisTime: timeStamp,
|
||||
DepositContractAddress: []byte("hello"),
|
||||
}, nil)
|
||||
chainClient.EXPECT().GetChainHead(
|
||||
chainClient.EXPECT().ChainHead(
|
||||
gomock.Any(), // ctx
|
||||
gomock.Any(),
|
||||
).Return(ðpb.ChainHead{
|
||||
@@ -230,7 +230,7 @@ func TestServer_GetValidators(t *testing.T) {
|
||||
ctrl := gomock.NewController(t)
|
||||
beaconChainClient := validatormock.NewMockChainClient(ctrl)
|
||||
if tt.wantErr == "" {
|
||||
beaconChainClient.EXPECT().ListValidators(
|
||||
beaconChainClient.EXPECT().Validators(
|
||||
gomock.Any(), // ctx
|
||||
tt.expectedReq,
|
||||
).Return(tt.chainResp, nil)
|
||||
|
||||
Reference in New Issue
Block a user