mirror of https://github.com/certusone/vouch.git
Tidy-ups.
This commit is contained in:
parent
5950f8f562
commit
88a8c2978b
|
@ -1,4 +1,5 @@
|
|||
1.1.0:
|
||||
- address crash when proposing block for which a RANDAO reveal cannot be obtained
|
||||
- provide release metric in `vouch_release`
|
||||
- provide ready metric in `vouch_ready`
|
||||
- handle chain reorganisations, updating duties as appropriate
|
||||
|
|
|
@ -46,7 +46,7 @@ func TestProposeNoRANDAOReveal(t *testing.T) {
|
|||
standard.WithMonitor(nullmetrics.New(ctx)),
|
||||
standard.WithProposalDataProvider(mock.NewBeaconBlockProposalProvider()),
|
||||
standard.WithChainTimeService(chainTime),
|
||||
standard.WithValidatingAccountsProvider(mockaccountsprovider.New()),
|
||||
standard.WithValidatingAccountsProvider(mockaccountsprovider.NewValidatingAccountsProvider()),
|
||||
standard.WithBeaconBlockSubmitter(mock.NewBeaconBlockSubmitter()),
|
||||
standard.WithRANDAORevealSigner(mocksigner.New()),
|
||||
standard.WithBeaconBlockSigner(mocksigner.New()),
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
e2wtypes "github.com/wealdtech/go-eth2-wallet-types/v2"
|
||||
)
|
||||
|
||||
// service is a mock.
|
||||
// Service is a mock.
|
||||
type Service struct{}
|
||||
|
||||
// New provides a mock signer.
|
||||
|
@ -57,7 +57,7 @@ func (s *Service) SignBeaconAttestation(ctx context.Context,
|
|||
return spec.BLSSignature{}, nil
|
||||
}
|
||||
|
||||
// SignBeaconAttestation signs multiple beacon attestations.
|
||||
// SignBeaconAttestations signs multiple beacon attestations.
|
||||
func (s *Service) SignBeaconAttestations(ctx context.Context,
|
||||
accounts []e2wtypes.Account,
|
||||
slot spec.Slot,
|
||||
|
|
Loading…
Reference in New Issue