File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- alias LambdaEthereumConsensus.SszEx
21alias LambdaEthereumConsensus.Store.StateDb
32alias Types.BeaconState
43alias Types.Checkpoint
54
65# To run these benchmarks, you need a BeaconState stored in the Db beforehand.
76# The --mode db flag is also needed.
87
9- { :ok , state } = StateDb . get_latest_state ( )
8+ { :ok , % { beacon_state: state } } = StateDb . get_latest_state ( )
109:mainnet = ChainSpec . get_preset ( )
1110{ :ok , encoded_state } = Ssz . to_ssz ( state )
1211
Original file line number Diff line number Diff line change 1- alias LambdaEthereumConsensus.SszEx
2- alias LambdaEthereumConsensus.SszEx.Merkleization
31alias LambdaEthereumConsensus.Store.StateDb
2+ alias SszEx.Merkleization
43alias Types.BeaconState
54
65# To run these benchmarks, you need a BeaconState stored in the Db beforehand.
76# The --mode db flag is also needed.
87
9- { :ok , state } = StateDb . get_latest_state ( )
8+ { :ok , % { beacon_state: state } } = StateDb . get_latest_state ( )
109:mainnet = ChainSpec . get_preset ( )
1110
1211Benchee . run (
You can’t perform that action at this time.
0 commit comments