Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions beacon_node/beacon_chain/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ mod test {
use std::time::Duration;
use store::config::StoreConfig;
use store::{HotColdDB, MemoryStore};
use types::{init_fork_schedule, EthSpec, ForkSchedule, MinimalEthSpec, Slot};
use types::{EthSpec, ForkSchedule, MinimalEthSpec, Slot};

type TestEthSpec = MinimalEthSpec;

Expand All @@ -674,11 +674,6 @@ mod test {

#[test]
fn recent_genesis() {
//TODO: handle altair
init_fork_schedule(ForkSchedule {
altair_fork_slot: None,
});

let validator_count = 1;
let genesis_time = 13_371_337;

Expand Down
2 changes: 1 addition & 1 deletion beacon_node/beacon_chain/src/eth1_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ fn find_winning_vote(valid_votes: Eth1DataVoteCount) -> Option<Eth1Data> {
}

/// Returns `int` as little-endian bytes with a length of 32.
fn int_to_bytes32(int: u64) -> Vec<u8> {
pub fn int_to_bytes32(int: u64) -> Vec<u8> {
let mut vec = int.to_le_bytes().to_vec();
vec.resize(32, 0);
vec
Expand Down
Loading