Skip to content

Commit

Permalink
Merge branch 'master' into protocol-struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Longarithm committed Jul 3, 2024
2 parents 96cf370 + f3287d3 commit ccd6f57
Show file tree
Hide file tree
Showing 180 changed files with 4,041 additions and 2,224 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
## [unreleased]

### Protocol Changes
* Congestion Control [NEP-0539](https://github.com/near/NEPs/pull/539)
* Stateless Validation [NEP-0509](https://github.com/near/NEPs/pull/509)

### Non-protocol Changes

* Enforce rate limits to received network messages [#11617](https://github.com/near/nearcore/issues/11617). Rate limits are configured by default, but they can be overridden through the experimental configuration option `received_messages_rate_limits`.

## 1.40.0

### Protocol Changes
Expand Down
32 changes: 18 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ cargo_metadata = "0.14.1"
cc = "1.0"
cfg-if = "1.0"
chrono = { version = "0.4", default-features = false, features = [
"clock",
"alloc",
"serde",
] }
Expand Down
2 changes: 1 addition & 1 deletion chain/chain-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ thiserror.workspace = true
time.workspace = true
tracing.workspace = true

near-async.workspace = true
near-time.workspace = true
near-primitives.workspace = true
near-crypto.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion chain/chain-primitives/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use near_async::time::Utc;
use near_primitives::block::BlockValidityError;
use near_primitives::challenge::{ChunkProofs, ChunkState};
use near_primitives::errors::{EpochError, StorageError};
use near_primitives::shard_layout::ShardLayoutError;
use near_primitives::sharding::{ChunkHash, ShardChunkHeader};
use near_primitives::types::{BlockHeight, EpochId, ShardId};
use near_time::Utc;
use std::io;

#[derive(thiserror::Error, Debug)]
Expand Down
1 change: 1 addition & 0 deletions chain/chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,4 @@ statelessnet_protocol = [
"near-primitives/statelessnet_protocol",
]
sandbox = ["near-o11y/sandbox", "near-primitives/sandbox"]
testloop = []
Loading

0 comments on commit ccd6f57

Please sign in to comment.