Skip to content

Commit 32030d6

Browse files
author
Bowen Wang
committed
bump neard version
1 parent 75d156f commit 32030d6

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chain/chain/src/chain.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,6 @@ impl Chain {
10011001
// New Tail can not be earlier than `prev_block.header.inner_lite.height`
10021002
chain_store_update.update_tail(new_tail);
10031003
// New Chunk Tail can not be earlier than minimum of height_created in Block `prev_block`
1004-
println!("resetting chunk tail to {}", new_chunk_tail);
10051004
chain_store_update.update_chunk_tail(new_chunk_tail);
10061005
chain_store_update.commit()?;
10071006

chain/chunks/src/lib.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,25 +276,27 @@ impl SealsManager {
276276
match maybe_seal {
277277
None => match self.past_seals.entry(height) {
278278
btree_map::Entry::Vacant(vacant) => {
279-
warn!(
279+
// TODO(#3180): seals are disabled in single shard setting
280+
/*warn!(
280281
target: "chunks",
281282
"A chunk at height {} with hash {:?} was approved without an active seal demur and no past seals were found at the same height",
282283
height,
283284
chunk_hash
284-
);
285+
);*/
285286
let mut hashes = HashSet::new();
286287
hashes.insert(chunk_hash.clone());
287288
vacant.insert(hashes);
288289
}
289290
btree_map::Entry::Occupied(mut occupied) => {
290291
let hashes = occupied.get_mut();
291292
if !hashes.contains(chunk_hash) {
292-
warn!(
293+
// TODO(#3180): seals are disabled in single shard setting
294+
/*warn!(
293295
target: "chunks",
294296
"Approved chunk at height {} with hash {:?} was not an active seal demur or a past seal",
295297
height,
296298
chunk_hash
297-
);
299+
);*/
298300
hashes.insert(chunk_hash.clone());
299301
}
300302
}

neard/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "neard"
3-
version = "1.11.0-beta.1"
3+
version = "1.10.0"
44
authors = ["Near Inc <hello@nearprotocol.com>"]
55
edition = "2018"
66
default-run = "neard"

0 commit comments

Comments
 (0)