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
the thing we need to do is pass in the correct values so that verify_signed_consensus_message can compute the correct domain
as named, this function suggests it can verify any consensus message and so it should:
not hard-code the DomainType -- which suggests this should be a parameter the caller provides
supply the correct fork_version -- this will vary with each message and the caller can look at the slot against the context to get the right value
genesis_validators_root should be fine but worth double-checking the implementation
addressing this issue means addressing each of these points and then ideally also adding some tests of recent blocks from each network, mainnet, sepolia, and goerli
The text was updated successfully, but these errors were encountered:
ralexstokes
changed the title
support multiple networks
support multiple networks in the relay
Sep 7, 2022
ralexstokes
changed the title
support multiple networks in the relay
support multiple ethereum networks in the relay
Oct 26, 2022
ralexstokes
changed the title
support multiple ethereum networks in the relay
relay: finish signature verification
Oct 26, 2022
the relay wants to verify the signed blinded beacon block it gets from proposers before releasing the execution payload
the current implementation is unfinished, with a "todo" here: https://github.com/ralexstokes/mev-rs/blob/main/mev-build-rs/src/signing.rs#L18
the thing we need to do is pass in the correct values so that
verify_signed_consensus_message
can compute the correctdomain
as named, this function suggests it can verify any consensus message and so it should:
DomainType
-- which suggests this should be a parameter the caller providesfork_version
-- this will vary with each message and the caller can look at theslot
against thecontext
to get the right valuegenesis_validators_root
should be fine but worth double-checking the implementationaddressing this issue means addressing each of these points and then ideally also adding some tests of recent blocks from each network,
mainnet
,sepolia
, andgoerli
The text was updated successfully, but these errors were encountered: