mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
While the Lighthouse implementation of the `ValidatorStore` does not really care about blobs, Anchor needs to be able to return different blobs from `sign_blocks` than what was passed into it, in case it decides to sign another Anchor node's block. Only passing the unsigned block into `sign_block` and only returning a signed block from it (without any blobs and proofs) was an oversight in #6705. - Replace `validator_store::{Uns,S}ignedBlock` with `validator_store::block_service::{Uns,S}ignedBlock`, as we need all data in there. - In `lighthouse_validator_store`, just add the received blobs back to the signed block after signing it.
11 lines
250 B
TOML
11 lines
250 B
TOML
[package]
|
|
name = "validator_store"
|
|
version = "0.1.0"
|
|
edition = { workspace = true }
|
|
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
|
|
|
[dependencies]
|
|
eth2 = { workspace = true }
|
|
slashing_protection = { workspace = true }
|
|
types = { workspace = true }
|