mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Implement EIP-7892 BPO hardforks (#7521)
[EIP-7892: Blob Parameter Only Hardforks](https://eips.ethereum.org/EIPS/eip-7892) #7467
This commit is contained in:
@@ -1296,7 +1296,9 @@ impl BeaconNodeHttpClient {
|
||||
}
|
||||
|
||||
self.get_fork_contextual(path, |fork| {
|
||||
(fork, spec.max_blobs_per_block_by_fork(fork) as usize)
|
||||
// TODO(EIP-7892): this will overestimate the max number of blobs
|
||||
// It would be better if we could get an epoch passed into this function
|
||||
(fork, spec.max_blobs_per_block_within_fork(fork) as usize)
|
||||
})
|
||||
.await
|
||||
.map(|opt| opt.map(BeaconResponse::ForkVersioned))
|
||||
|
||||
Reference in New Issue
Block a user