You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When signing\verifying signatures, I think we are computing domain in the wrong way (SignedValidatorRegistration, should apply to SignedBuilderBid).
It should not be fork\genesis dependant.
tbenr
changed the title
API messages must be signed with domain obtained by compute_domain(DOMAIN_APPLICATION_BUILDER)
Builder API messages must be signed with domain obtained by compute_domain(DOMAIN_APPLICATION_BUILDER)May 28, 2022
When signing\verifying signatures, I think we are computing domain in the wrong way (
SignedValidatorRegistration
, should apply toSignedBuilderBid
).It should not be fork\genesis dependant.
https://github.com/ethereum/builder-specs/blob/e912fa8c6727fa456106cc85cb94fc4ab0f8d251/specs/builder.md#signing
https://github.com/ethereum/consensus-specs/blob/20a90f1df7c5bf1eda45122e6a74abc07e02fd98/specs/phase0/beacon-chain.md#compute_domain
So we should use:
MiscHelpers#computeDomain(Bytes4)
The text was updated successfully, but these errors were encountered: