-
Notifications
You must be signed in to change notification settings - Fork 971
Tree-sync friendly lookup sync tests #8592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 48 commits
fc465f7
88a86ff
6b08ca3
0fe9c68
89cab8f
9822b73
3b4ddc6
c5b9457
fc294a5
10aa052
013476d
bee1abd
d39253a
51a55e4
1755dfd
2288a3a
d48dcf2
38bdf2d
b6fc8a9
73099eb
8234cab
91ade9a
ff83f43
d2eaf15
fc2b226
24569a3
9354fa0
a7a36e3
de20c3e
a12e855
768bc07
6504995
e141084
13277f1
f425f31
71bf593
efd2ad2
09a6283
5754769
1437165
e4b9b51
c5ed04f
6646dc2
1cf9640
57506c8
8d29e73
787932d
765dcae
854d6cf
415e89e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| use crate::common::genesis_deposits; | ||
| use bls::{Keypair, PublicKey, Signature}; | ||
| use bls::{Keypair, PublicKey, Signature, SignatureBytes}; | ||
| use ethereum_hashing::hash; | ||
| use rayon::prelude::*; | ||
| use ssz::Encode; | ||
| use state_processing::initialize_beacon_state_from_eth1; | ||
| use state_processing::{VerifySignatures, initialize_beacon_state_from_eth1}; | ||
| use types::{BeaconState, ChainSpec, DepositData, EthSpec, ExecutionPayloadHeader, Hash256}; | ||
|
|
||
| pub const DEFAULT_ETH1_BLOCK_HASH: &[u8] = &[0x42; 32]; | ||
|
|
@@ -124,7 +124,7 @@ impl<E: EthSpec> InteropGenesisBuilder<E> { | |
| signature: Signature::empty().into(), | ||
| }; | ||
|
|
||
| data.signature = data.create_signature(&keypair.sk, spec); | ||
| data.signature = SignatureBytes::empty(); | ||
|
||
|
|
||
| data | ||
| }) | ||
|
|
@@ -135,6 +135,7 @@ impl<E: EthSpec> InteropGenesisBuilder<E> { | |
| eth1_timestamp, | ||
| genesis_deposits(datas, spec)?, | ||
| self.execution_payload_header, | ||
| VerifySignatures::False, | ||
| spec, | ||
| ) | ||
| .map_err(|e| format!("Unable to initialize genesis state: {:?}", e))?; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.