repo stringclasses 1
value | pull_number int64 878 3.02k | instance_id stringclasses 9
values | issue_numbers sequencelengths 1 2 | base_commit stringclasses 9
values | patch stringclasses 9
values | test_patch stringclasses 9
values | problem_statement stringclasses 9
values | hints_text stringclasses 4
values | created_at stringclasses 9
values | version stringclasses 3
values |
|---|---|---|---|---|---|---|---|---|---|---|
AleoNet/snarkOS | 3,015 | AleoNet__snarkOS-3015 | [
"2983"
] | bd165ecfcb81e72a167b2a984ba28531d543ab44 | diff --git a/node/bft/events/src/challenge_response.rs b/node/bft/events/src/challenge_response.rs
index 0fc678a86d..aad59f760f 100644
--- a/node/bft/events/src/challenge_response.rs
+++ b/node/bft/events/src/challenge_response.rs
@@ -17,6 +17,7 @@ use super::*;
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Chall... | diff --git a/node/tests/common/test_peer.rs b/node/tests/common/test_peer.rs
index d480c6a3e1..8d9d5e39bb 100644
--- a/node/tests/common/test_peer.rs
+++ b/node/tests/common/test_peer.rs
@@ -140,10 +140,13 @@ impl Handshake for TestPeer {
let peer_request = expect_message!(Message::ChallengeRequest, fr... | [Bug] Validator sign arbitrary nonce can lead to downgraded length of secure bit.
# https://hackerone.com/reports/2279770
## Summary:
During handshake, validator directly sign nonce (u64) sent from counterparty:
```
let Ok(our_signature) = self.account.sign_bytes(&peer_request.nonce.to_le_bytes(), rng)
```
... | 2024-01-17T23:29:29Z | 2.2 | |
AleoNet/snarkOS | 2,902 | AleoNet__snarkOS-2902 | [
"2894"
] | 4896a1200a4605d1de6fe6cb53e1efa9ccdb6152 | diff --git a/Cargo.lock b/Cargo.lock
index e98d384892..b9f871cccb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3096,6 +3096,7 @@ dependencies = [
"num_cpus",
"once_cell",
"parking_lot",
+ "paste",
"pea2pea",
"rand",
"rand_chacha",
diff --git a/node/Cargo.toml b/node/Cargo.toml
index c76dac9006..664bf96a06 1... | diff --git a/node/tests/disconnect.rs b/node/tests/disconnect.rs
new file mode 100644
index 0000000000..5b6ec3b925
--- /dev/null
+++ b/node/tests/disconnect.rs
@@ -0,0 +1,191 @@
+// Copyright (C) 2019-2023 Aleo Systems Inc.
+// This file is part of the snarkOS library.
+
+// Licensed under the Apache License, Version 2... | [Bug] A malicious peer can directly send PeerResponse to other peers with high frequency and flood network with fake peer info
# https://hackerone.com/reports/2272999
## Summary:
The router does not check if the PeerResponse is a direct response of a previous PeerRequest https://github.com/AleoHQ/snarkOS/blob/tes... | 2023-12-07T20:12:09Z | 2.2 | |
AleoNet/snarkOS | 2,221 | AleoNet__snarkOS-2221 | [
"2149"
] | 05e50dd0de11d06b93a31e979c78fb1d9942e181 | diff --git a/node/messages/src/challenge_request.rs b/node/messages/src/challenge_request.rs
index eaf86a7b3f..35fa4497aa 100644
--- a/node/messages/src/challenge_request.rs
+++ b/node/messages/src/challenge_request.rs
@@ -48,3 +48,9 @@ impl<N: Network> MessageTrait for ChallengeRequest<N> {
Ok(Self { version,... | diff --git a/node/router/tests/connect.rs b/node/router/tests/connect.rs
index f5db28463a..f3793dca0b 100644
--- a/node/router/tests/connect.rs
+++ b/node/router/tests/connect.rs
@@ -23,8 +23,6 @@ use core::time::Duration;
#[tokio::test]
async fn test_connect_without_handshake() {
- initialize_logger(3);
-
... | Unify the `Connecting to '{peer_ip}'...` message in `Router::handshake`
Unify the `Connecting to '{peer_ip}'...` message in `Router::handshake`.
_Originally posted by @howardwu in https://github.com/AleoHQ/snarkOS/pull/2108#pullrequestreview-1203846755_
| 2023-01-24T15:07:38Z | 2.0 | |
AleoNet/snarkOS | 1,527 | AleoNet__snarkOS-1527 | [
"1522"
] | 9f0b304cb8407eec27077f212a86a79308528919 | diff --git a/Cargo.lock b/Cargo.lock
index beb2ebf665..e6269726b3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -220,9 +220,9 @@ dependencies = [
[[package]]
name = "bumpalo"
-version = "3.8.0"
+version = "3.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f1e260c3a9040a7c19a124687... | diff --git a/testing/Cargo.toml b/testing/Cargo.toml
index 300bb826b9..313469f9d5 100644
--- a/testing/Cargo.toml
+++ b/testing/Cargo.toml
@@ -25,7 +25,7 @@ path = "../storage"
[dependencies.snarkvm]
git = "https://github.com/AleoHQ/snarkVM.git"
-rev = "ff10c20"
+rev = "459ea96"
#path = "../../snarkVM"
[depende... | [Bug] Pool operator reports "could not deserialize block"
There are still issues:
The operator reports `could not deserialize block` on `PoolResponse`.
It looks like when deserializing `BlockHeader`, there is another `is_valid` check (`snarkVM/dpc/src/block/header.rs`, line 375 -> 143 -> 230) so the operator will... | network/peers.rs
I find this code much improved, so one has actually an idea what's going on if de-serialization fails.
Message::PoolRequest(share_difficulty, block_template) => {
if E::NODE_TYPE != NodeType::Prover {
... | 2022-01-06T02:55:34Z | 2.0 |
AleoNet/snarkOS | 1,427 | AleoNet__snarkOS-1427 | [
"1492"
] | 11679d4e08efa53660eca852a8e7de3275f5f73f | "diff --git a/Cargo.lock b/Cargo.lock\nindex 3148b2de22..0e6d9d84ab 100644\n--- a/Cargo.lock\n+++ b/(...TRUNCATED) | "diff --git a/testing/Cargo.toml b/testing/Cargo.toml\nindex 67b09a297a..3440cd3652 100644\n--- a/te(...TRUNCATED) | "[Bug][Pool S/W] Failed to initialize a block from given inputs due to Invalid block header\n## 🐛(...TRUNCATED) | 2021-12-15T07:31:01Z | 2.0 | |
AleoNet/snarkOS | 1,284 | AleoNet__snarkOS-1284 | [
"1266"
] | 90d33030e0f6913bada2ee1577ada43194d2986c | "diff --git a/ledger/src/helpers/block_locators.rs b/ledger/src/helpers/block_locators.rs\nindex 6e6(...TRUNCATED) | "diff --git a/ledger/src/state/tests.rs b/ledger/src/state/tests.rs\nindex db7c7275eb..5176d1983a 10(...TRUNCATED) | "Track rolled back blocks\n<!-- Thank you for filing a PR! Help us understand by explaining your cha(...TRUNCATED) | 2021-11-15T09:40:38Z | 2.0 | |
AleoNet/snarkOS | 1,026 | AleoNet__snarkOS-1026 | [
"979"
] | 64586b2d15ec6b75dd048d4df87534287ebb87d3 | "diff --git a/consensus/src/consensus/inner/agent.rs b/consensus/src/consensus/inner/agent.rs\nindex(...TRUNCATED) | "diff --git a/consensus/tests/consensus_sidechain.rs b/consensus/tests/consensus_sidechain.rs\nindex(...TRUNCATED) | "[Feature] Send fork points in block locator hashes\nTo alleviate issues with syncing with forks aro(...TRUNCATED) | "While this could be a good ad-hoc measure, we could improve the general situation if we just decide(...TRUNCATED) | 2021-08-10T00:29:33Z | 1.3 |
AleoNet/snarkOS | 927 | AleoNet__snarkOS-927 | [
"817"
] | 16235c8d8968357be41fb03c729dfa4e87536362 | "diff --git a/network/src/errors/network.rs b/network/src/errors/network.rs\nindex 4b1a86dab7..c6f79(...TRUNCATED) | "diff --git a/network/tests/peers.rs b/network/tests/peers.rs\nindex 8792a988e7..86fa8fb474 100644\n(...TRUNCATED) | "[Feature] Don't provide unroutable addresses in peer lists\nThe current peer-sharing mechanism only(...TRUNCATED) | 2021-07-07T13:45:46Z | 1.3 | |
AleoNet/snarkOS | 878 | AleoNet__snarkOS-878 | [
"802",
"818"
] | fee2c04ff43bea30047da19b21ab69fe3fec42e2 | "diff --git a/Cargo.lock b/Cargo.lock\nindex ca14eb4226..f312fd086c 100644\n--- a/Cargo.lock\n+++ b/(...TRUNCATED) | "diff --git a/network/tests/topology.rs b/network/tests/topology.rs\nindex 78311941f4..ee6cfdf358 10(...TRUNCATED) | "[Feature] Protocol (as opposed to rpc) based network crawler\n## 🚀 Feature\r\n\r\nA network base(...TRUNCATED) | 2021-06-17T14:59:02Z | 1.3 |
README.md exists but content is empty.
- Downloads last month
- 7