Skip to content

Commit

Permalink
Merge pull request ethereum#2455 from ethereum/sharding-state
Browse files Browse the repository at this point in the history
New union-based shard headers/commitments representation
  • Loading branch information
protolambda authored Jun 4, 2021
2 parents b3f2635 + 9050897 commit f679a0a
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 170 deletions.
2 changes: 2 additions & 0 deletions presets/mainnet/sharding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ MAX_SHARD_PROPOSER_SLASHINGS: 16
# Shard block configs
# ---------------------------------------------------------------
MAX_SHARD_HEADERS_PER_SHARD: 4
# 2**8 (= 256)
SHARD_STATE_MEMORY_SLOTS: 256
# 2**11 (= 2,048)
MAX_SAMPLES_PER_BLOCK: 2048
# 2**10 (= 1,1024)
Expand Down
2 changes: 2 additions & 0 deletions presets/minimal/sharding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ MAX_SHARD_PROPOSER_SLASHINGS: 4
# Shard block configs
# ---------------------------------------------------------------
MAX_SHARD_HEADERS_PER_SHARD: 4
# 2**8 (= 256)
SHARD_STATE_MEMORY_SLOTS: 256
# 2**11 (= 2,048)
MAX_SAMPLES_PER_BLOCK: 2048
# 2**10 (= 1,1024)
Expand Down
Loading

0 comments on commit f679a0a

Please sign in to comment.