diff --git a/CHANGELOG.md b/CHANGELOG.md index 47009a8..431c4e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ dev: - use multisign for sync committee selections with enabled accounts - use multisign for contributions and proofs with enabled accounts - use multisign for signing slot selections with enabled accounts + - allow zero-value bids from MEV relays 1.9.2: - update go-eth2-wallet-dirk to enable mixed signing thresholds for multisign diff --git a/strategies/builderbid/best/builderbid.go b/strategies/builderbid/best/builderbid.go index d17068e..4134129 100644 --- a/strategies/builderbid/best/builderbid.go +++ b/strategies/builderbid/best/builderbid.go @@ -40,9 +40,6 @@ import ( // zeroExecutionAddress is used for comparison purposes. var zeroExecutionAddress bellatrix.ExecutionAddress -// zeroValue is used for comparison purposes. -var zeroValue uint256.Int - type builderBidResponse struct { provider builderclient.BuilderBidProvider bid *builderspec.VersionedSignedBuilderBid @@ -434,9 +431,6 @@ func (*Service) getBidValue(_ context.Context, if err != nil { return nil, errors.Wrap(err, "failed to obtain bid value") } - if zeroValue.Cmp(value) == 0 { - return nil, errors.New("bid has 0 value") - } return value, nil } diff --git a/strategies/builderbid/deadline/builderbid.go b/strategies/builderbid/deadline/builderbid.go index 007aac3..57c9984 100644 --- a/strategies/builderbid/deadline/builderbid.go +++ b/strategies/builderbid/deadline/builderbid.go @@ -42,9 +42,6 @@ import ( // zeroExecutionAddress is used for comparison purposes. var zeroExecutionAddress bellatrix.ExecutionAddress -// zeroValue is used for comparison purposes. -var zeroValue uint256.Int - type builderBidResponse struct { provider builderclient.BuilderBidProvider bid *builderspec.VersionedSignedBuilderBid @@ -496,9 +493,6 @@ func (*Service) getBidValue(_ context.Context, if err != nil { return nil, errors.Wrap(err, "failed to obtain bid value") } - if zeroValue.Cmp(value) == 0 { - return nil, errors.New("bid has 0 value") - } return value, nil }