Tidy-ups.

This commit is contained in:
Jim McDonald 2021-03-06 00:23:34 +00:00
parent 5950f8f562
commit 88a8c2978b
No known key found for this signature in database
GPG Key ID: 89CEB61B2AD2A5E7
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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()),

View File

@ -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,