Skip to content

Commit

Permalink
feat(resharding): set the shard boundary in the new shard layout (#10196
Browse files Browse the repository at this point in the history
)

based on the analysis done in #10119
it's not yet set in stone but it's the most likely candidate so let's
set it and test it
  • Loading branch information
wacban authored Nov 17, 2023
1 parent 2534fdb commit 1b0bfca
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/primitives/src/shard_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,7 @@ impl ShardLayout {
/// This is work in progress and the exact way of splitting is yet to be determined.
pub fn get_simple_nightshade_layout_v2() -> ShardLayout {
ShardLayout::v1(
// TODO(resharding) - find the right boundary to split shards in
// place of just "sweat". Likely somewhere in between near.social
// and sweatcoin.
vec!["aurora", "aurora-0", "kkuuue2akv_1630967379.near", "sweat"]
vec!["aurora", "aurora-0", "kkuuue2akv_1630967379.near", "tge-lockup.sweat"]
.into_iter()
.map(|s| s.parse().unwrap())
.collect(),
Expand Down Expand Up @@ -611,7 +608,7 @@ mod tests {
"aurora",
"aurora-0",
"kkuuue2akv_1630967379.near",
"sweat"
"tge-lockup.sweat"
],
"shards_split_map": [
[
Expand Down

0 comments on commit 1b0bfca

Please sign in to comment.