mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -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:
@@ -315,7 +315,7 @@ func TestCanonicalHeadSlot_FailedRPC(t *testing.T) {
|
||||
chainClient: client,
|
||||
genesisTime: 1,
|
||||
}
|
||||
client.EXPECT().GetChainHead(
|
||||
client.EXPECT().ChainHead(
|
||||
gomock.Any(),
|
||||
gomock.Any(),
|
||||
).Return(nil, errors.New("failed"))
|
||||
@@ -330,7 +330,7 @@ func TestCanonicalHeadSlot_OK(t *testing.T) {
|
||||
v := validator{
|
||||
chainClient: client,
|
||||
}
|
||||
client.EXPECT().GetChainHead(
|
||||
client.EXPECT().ChainHead(
|
||||
gomock.Any(),
|
||||
gomock.Any(),
|
||||
).Return(ðpb.ChainHead{HeadSlot: 0}, nil)
|
||||
@@ -369,7 +369,7 @@ func TestWaitMultipleActivation_LogsActivationEpochOK(t *testing.T) {
|
||||
resp,
|
||||
nil,
|
||||
)
|
||||
prysmChainClient.EXPECT().GetValidatorCount(
|
||||
prysmChainClient.EXPECT().ValidatorCount(
|
||||
gomock.Any(),
|
||||
"head",
|
||||
[]validatorType.Status{validatorType.Active},
|
||||
|
||||
Reference in New Issue
Block a user