From 1b0bfca16859feab5e57f0d4d5b7669cdbf2720d Mon Sep 17 00:00:00 2001 From: wacban Date: Fri, 17 Nov 2023 12:54:02 +0000 Subject: [PATCH] feat(resharding): set the shard boundary in the new shard layout (#10196) 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 --- core/primitives/src/shard_layout.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/primitives/src/shard_layout.rs b/core/primitives/src/shard_layout.rs index 7f2252b63c7..cce0b8bf031 100644 --- a/core/primitives/src/shard_layout.rs +++ b/core/primitives/src/shard_layout.rs @@ -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(), @@ -611,7 +608,7 @@ mod tests { "aurora", "aurora-0", "kkuuue2akv_1630967379.near", - "sweat" + "tge-lockup.sweat" ], "shards_split_map": [ [