mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Fix build
This commit is contained in:
@@ -29,6 +29,7 @@ impl<E: EthSpec> IndexedPayloadAttestation<E> {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use crate::MainnetEthSpec;
|
||||||
|
|
||||||
ssz_and_tree_hash_tests!(IndexedPayloadAttestation<MainnetEthSpec>);
|
ssz_and_tree_hash_tests!(IndexedPayloadAttestation<MainnetEthSpec>);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ pub struct PayloadAttestation<E: EthSpec> {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod payload_attestation_tests {
|
mod payload_attestation_tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use crate::MinimalEthSpec;
|
||||||
|
|
||||||
ssz_and_tree_hash_tests!(PayloadAttestation<MinimalEthSpec>);
|
ssz_and_tree_hash_tests!(PayloadAttestation<MinimalEthSpec>);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user