instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
starkware-libs__sequencer__13405 | starkware-libs/sequencer | 13,405 | defect | 625e59bfd41d9b506950961d2e243cfc7c1395f6 | f0a8dad9d12850259c3f9e2f98872781cecce6be | apollo_mempool: refactor delay queue to support multiple tx types | Introduce DelayedTx enum and extend AddTransactionQueue with delay-aware
methods (try_delay, drain_ready). Replace the single delayed_declares field
with a Vec<AddTransactionQueue> so all callsites iterate generically,
preparing for delayed proof transactions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anth... | diff --git a/crates/apollo_mempool/src/fee_mempool_test.rs b/crates/apollo_mempool/src/fee_mempool_test.rs
index dee733804c4..01cf43760f7 100644
--- a/crates/apollo_mempool/src/fee_mempool_test.rs
+++ b/crates/apollo_mempool/src/fee_mempool_test.rs
@@ -28,7 +28,7 @@ use starknet_api::transaction::fields::TransactionSig... | 6 | 3 | 1 | [{"id": "G0", "claim": "mempool_snapshot() and update_state_metrics() hardcode self.delayed_queues[0] to fetch declare-specific data from a vector built to hold multiple queue types, so when a second queue type is added these spots will silently report incorrect data or require index-order knowledge; a lookup by Delaye... | null |
starkware-libs__sequencer__13411 | starkware-libs/sequencer | 13,411 | defect | 0b626c5a6b6d18b52dfabd52fc7540cea528d96b | 0e39f6eabe3f76bd9a3facc1aabe3e10db4e2d91 | apollo_consensus: add stop_at_height arg to decision_reached | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Extends the `ConsensusContext::decision_reached` API and threads a new boolean based on `stop_at_height`, which can subtly affect finalization/shutdown behavior and requires all context implementations to handle the new parameter correctly.
>
> **Overview**
> Adds ... | diff --git a/Cargo.lock b/Cargo.lock
index f13128118bfb..723a2f0eda06 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1305,6 +1305,7 @@ dependencies = [
"thiserror 1.0.69",
"tokio",
"tracing",
+ "tracing-test",
]
[[package]]
diff --git a/crates/apollo_consensus/Cargo.toml b/crates/apollo_consensus/Cargo.toml
ind... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request removed the pre-existing stop-height guard (unchecked_next + continue) and only logs a warning before falling through to run_height, so with the context merely storing stop_at_height nothing enforces the stop and the node fully participates in consensus past the configured stop ... | null |
starkware-libs__sequencer__13426 | starkware-libs/sequencer | 13,426 | defect | 44385546557c7d2f825f919e647f9eec38c57fa3 | 4b7cd12ea34c78c3fabf3eee728aa37bdb302782 | starknet_transaction_prover: remove duplication between proving spec and starknet spec | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> CI and tests now depend on cloning an external `starknet-specs` repo at a pinned revision, which can introduce flakiness if git/network access or refs change. Functional code changes are minimal, but spec-version/error-message tweaks could break clients expecting th... | diff --git a/crates/starknet_transaction_prover/resources/proving_api_openrpc.json b/crates/starknet_transaction_prover/resources/proving_api_openrpc.json
index a5df764c273..23abc9997d2 100644
--- a/crates/starknet_transaction_prover/resources/proving_api_openrpc.json
+++ b/crates/starknet_transaction_prover/resources/... | 5 | 5 | 0 | [{"id": "G0", "claim": "The newly added vendored starknet_write_api.json contains internal $ref paths pointing to ./api/starknet_api_openrpc.json while that file lives in the same resources/ directory with no api/ subdirectory, leaving the file structurally inconsistent with its placement.", "category": "correctness", ... | null |
starkware-libs__sequencer__13430 | starkware-libs/sequencer | 13,430 | defect | 44385546557c7d2f825f919e647f9eec38c57fa3 | 8112c8af2b08dcfa4ef84a250c078e925dac0dd3 | apollo_compilation_utils: clean up error messages | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Low risk: only changes error-message formatting and adds tests/snapshots; main behavioral change is what text is surfaced on compilation failures.
>
> **Overview**
> Compilation failures now return a **cleaned, user-focused error message**: stderr is filtered to remov... | diff --git a/crates/apollo_compilation_utils/src/compiler_utils.rs b/crates/apollo_compilation_utils/src/compiler_utils.rs
index 356bd11933a..3d66728528a 100644
--- a/crates/apollo_compilation_utils/src/compiler_utils.rs
+++ b/crates/apollo_compilation_utils/src/compiler_utils.rs
@@ -36,26 +36,61 @@ pub fn compile_with... | 3 | 3 | 3 | [{"id": "G0", "claim": "The backtrace-header filter compares against \"Stack backtrace:\" with a capital S, so the lowercase \"stack backtrace:\" header that Rust's panic handler actually emits is not filtered out and a stray header line remains in the cleaned-up error message.", "category": "correctness", "verdict": "... | null |
starkware-libs__sequencer__13444 | starkware-libs/sequencer | 13,444 | defect | d67b8d8d468ddc8c48ec8dc4547f601dc1b5e4e7 | ce666f64e52f3775f9ffa204e707cb330e5edc0e | apollo_infra: add tcp keepalive to remote client | Set SO_KEEPALIVE on outbound sockets via a configurable idle time
(tcp_keepalive_idle_time_ms). This lets the OS detect dead peers that
disappear without sending FIN/RST. Also wire in TokioTimer so
pool_idle_timeout evictions are scheduled correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
<!-- CURS... | diff --git a/crates/apollo_deployments/resources/services/distributed/replacer_batcher.json b/crates/apollo_deployments/resources/services/distributed/replacer_batcher.json
index 8dfd782ddaa..ac5584d90b0 100644
--- a/crates/apollo_deployments/resources/services/distributed/replacer_batcher.json
+++ b/crates/apollo_depl... | 2 | 2 | 2 | [{"id": "G0", "claim": "The client's `Client::builder` is missing a `.pool_timer(TokioTimer::new())` call, so the `pool_idle_timeout` it sets will never proactively evict idle connections; hyper-util only cleans up expired connections lazily when new requests are made.", "category": "correctness", "verdict": "supported... | null |
starkware-libs__sequencer__13456 | starkware-libs/sequencer | 13,456 | defect | 57ce3e47231eb781c077c3d700ab8a05fdebcfd9 | 6745e24a98f14020436edd2a807b1199f03cb2c7 | apollo_infra: add tcp keepalive to remote server accepted sockets | Mirror the client-side SO_KEEPALIVE behaviour on the server: set TCP
keepalive probes on each accepted socket via a configurable idle time
(tcp_keepalive_idle_time_ms). This lets the OS detect dead clients that
disappear without sending FIN/RST.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
<!-- CURSOR_SU... | diff --git a/Cargo.lock b/Cargo.lock
index 049e485942f..1e9fb9440ea 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1676,6 +1676,7 @@ dependencies = [
"rstest",
"serde",
"serde_json",
+ "socket2 0.5.10",
"starknet-types-core",
"starknet_api",
"strum",
diff --git a/crates/apollo_deployments/resources/services/d... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reviewer questions why the PR needs both a TCP keepalive option and a hyper (HTTP/2) keepalive, challenging the redundancy of the new tcp_keepalive_idle_time_ms config knob.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
starkware-libs__sequencer__13461 | starkware-libs/sequencer | 13,461 | defect | c86a9b609cf245e157e411da7a944539e20dd4b6 | 9bd1c62051971f691a415c396d835cb01f7c15cc | apollo_storage: add transaction_events table for event storage | ## Summary
- Adds a new `transaction_events` MDBX table that stores events keyed by `TransactionIndex`
- `append_body` now writes events to both the events index table and the new `transaction_events` table
- Event iterators (`EventIterByEventIndex`, `EventIterByContractAddress`) read from the new table instead of dese... | diff --git a/crates/apollo_storage/src/body/events.rs b/crates/apollo_storage/src/body/events.rs
index be35f14a6bc7..e5280e9d3f69 100644
--- a/crates/apollo_storage/src/body/events.rs
+++ b/crates/apollo_storage/src/body/events.rs
@@ -1,6 +1,7 @@
//! Interface for iterating over events from the storage.
//!
-//! Even... | 9 | 7 | 2 | [{"id": "G0", "claim": "The new event-reader methods (get_transaction_events and get_block_transaction_events) have no callers and no test coverage anywhere in the codebase, so they go unvalidated until the follow-up PR that uses them lands.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "i... | null |
starkware-libs__sequencer__13488 | starkware-libs/sequencer | 13,488 | defect | cf590f70dc9aec5196cd76d9ed2ac84c04a16a55 | 17740864db3ae1c43fc281f2a235c0dbf4fea539 | apollo_network: track connection id in DialPeerStream dial state | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Changes dial retry logic in `DialPeerStream` to gate retries on the matching `ConnectionId`, which can affect peer connectivity/backoff behavior if mis-handled. Test updates reduce risk but this still touches core libp2p dialing flow.
>
> **Overview**
> `DialPeerSt... | diff --git a/crates/apollo_network/src/discovery/behaviours/dialing/dial_peer.rs b/crates/apollo_network/src/discovery/behaviours/dialing/dial_peer.rs
index 57331bcc977..866b3642043 100644
--- a/crates/apollo_network/src/discovery/behaviours/dialing/dial_peer.rs
+++ b/crates/apollo_network/src/discovery/behaviours/dial... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test that the behaviour ignores dial failures carrying a connection id other than the one the dial was made with.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "Upgrade the libp2p-gossipsub dependency in Cargo.lock to ... | null |
starkware-libs__sequencer__13541 | starkware-libs/sequencer | 13,541 | defect | 08e2a056ce76c66b83da9519b83c42ddbc5c3ee2 | 7293ba2e9dd095a5dff0d3c384e859f673f5f9e1 | blockifier: add benchmarking and only-native feature flags | Adds two new feature flags:
- \`benchmarking\`: gates time/call_counter fields on CallInfo and
EntryPointExecutionContext for execution profiling
- \`only-native\`: forces native execution path even when tracked
resource is CairoSteps
Zero behavior change without flags enabled.
<!-- CURSOR_SUMMARY -->
---
> [!NO... | diff --git a/crates/apollo_consensus_orchestrator/src/cende/central_objects_test.rs b/crates/apollo_consensus_orchestrator/src/cende/central_objects_test.rs
index 9e0f953e34d..62532289827 100644
--- a/crates/apollo_consensus_orchestrator/src/cende/central_objects_test.rs
+++ b/crates/apollo_consensus_orchestrator/src/c... | 2 | 2 | 0 | [{"id": "G0", "claim": "The benchmarking-only call_counter field and its increment machinery look unnecessary; the reviewer asks why it is needed and suggests simply counting the number of nested calls at the end of the run instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
starkware-libs__sequencer__13553 | starkware-libs/sequencer | 13,553 | defect | 643023aeec548bec63814690e686ac523d200e7b | 35a5b68ad0b600d2b02c0d2ec895c16fbca00cb6 | apollo_storage: add scan_contract_class_hashes_in_range | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Adds a new read-only query API and tests without changing write paths or storage schemas; risk is limited to potential edge-case bugs in the new scan endpoint’s use of existing cursor logic.
>
> **Overview**
> Adds `StateReader::scan_contract_class_hashes_in_range`, e... | diff --git a/crates/apollo_storage/src/state/mod.rs b/crates/apollo_storage/src/state/mod.rs
index cd8a11c3d16..a882fca53da 100644
--- a/crates/apollo_storage/src/state/mod.rs
+++ b/crates/apollo_storage/src/state/mod.rs
@@ -67,7 +67,7 @@ use starknet_api::state::{SierraContractClass, StateNumber, StorageKey, ThinStat
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test helper should use the already-imported `StorageWriter` rather than the fully qualified `crate::StorageWriter` in its signature.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Testing the same logic from multiple ... | null |
starkware-libs__sequencer__13554 | starkware-libs/sequencer | 13,554 | defect | 643023aeec548bec63814690e686ac523d200e7b | 83f46b113e16ef12c434e0fcf466c810c0cac342 | apollo_storage: add scan_storage_keys_for_contract | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Low risk: adds a new read-only state query and accompanying tests, without changing write paths or storage formats.
>
> **Overview**
> Adds `StateReader::scan_storage_keys_for_contract`, a new API to scan a single contract’s storage keys over a `[start, end]` range at... | diff --git a/crates/apollo_storage/src/state/mod.rs b/crates/apollo_storage/src/state/mod.rs
index cd8a11c3d16..b2575821ab9 100644
--- a/crates/apollo_storage/src/state/mod.rs
+++ b/crates/apollo_storage/src/state/mod.rs
@@ -67,7 +67,7 @@ use starknet_api::state::{SierraContractClass, StateNumber, StorageKey, ThinStat
... | 3 | 2 | 2 | [{"id": "G0", "claim": "When `end` is `None`, `scan_synced_block` receives no end bound on `(ContractAddress, StorageKey)` and scans to the end of the entire storage table, crossing contract address boundaries and silently returning other contracts' entries with their address stripped.", "category": "correctness", "ver... | null |
starkware-libs__sequencer__13571 | starkware-libs/sequencer | 13,571 | defect | 643023aeec548bec63814690e686ac523d200e7b | e59e5fd30e692904f58c517aaf562c102895cc2c | starknet_committer_and_os_cli: add Patricia key utilities for snap sync | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Adds new arithmetic logic for computing Patricia subtree boundaries and a new `num-bigint` dependency; mistakes here could cause incorrect snap-sync key range selection, though coverage is mitigated by ... | diff --git a/crates/apollo_storage/src/state/mod.rs b/crates/apollo_storage/src/state/mod.rs
index cd8a11c3d16..aa861650045 100644
--- a/crates/apollo_storage/src/state/mod.rs
+++ b/crates/apollo_storage/src/state/mod.rs
@@ -67,7 +67,7 @@ use starknet_api::state::{SierraContractClass, StateNumber, StorageKey, ThinStat
... | 3 | 3 | 2 | [{"id": "G0", "claim": "compute_actual_end never ensures the chosen subtree size divides `start` (a valid Patricia subtree of size 2^k requires start % 2^k == 0), so e.g. start=12 with last_key=20 yields an invalid subtree; the size should be constrained to divide start, or the alignment asserted.", "category": "correc... | null |
starkware-libs__sequencer__13604 | starkware-libs/sequencer | 13,604 | defect | 9d88a94c9874e3bbabc2d4824bf0761ec3e73b0b | ad9a2c3050686f68fa1f6bc1d8276470f46eebad | apollo_network: move e2e discovery test to integration tests | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Low risk: changes are primarily test relocation and visibility tweaks, with production behavior unchanged; main risk is minor API surface expansion (`GenericNetworkManager::generic_new` and test-only `pub` exports) affecting downstream compilation expectations.
>
> **... | diff --git a/crates/apollo_network/src/discovery/flow_test.rs b/crates/apollo_network/src/discovery/flow_test.rs
deleted file mode 100644
index babb6fc1a33..00000000000
--- a/crates/apollo_network/src/discovery/flow_test.rs
+++ /dev/null
@@ -1,115 +0,0 @@
-use std::collections::HashSet;
-use std::iter;
-
-use futures::... | 2 | 1 | 0 | [{"id": "G0", "claim": "mixed_behaviour, prune_dead_connections, swarm_trait and Bytes are promoted from private/pub(crate) to unconditionally pub although their only external consumer is the integration test; gate them behind the crate's existing testing feature to preserve the intended encapsulation.", "category": "d... | null |
starkware-libs__sequencer__13612 | starkware-libs/sequencer | 13,612 | defect | 0ded05b89892f6ab420c240a2410551c10ea108d | 35a258736d02ddbb4de0d3b81f7909b17503c689 | starknet_committer_and_os_cli: add shrink_to_actual_end tests | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Test-only changes that don’t affect production behavior; low risk aside from potential assumptions about key ordering in the test data.
>
> **Overview**
> Adds new unit tests in `snap_sync_test.rs` for `shrink_to_actual_end`, covering the **under-limit** case (no filt... | diff --git a/crates/starknet_api/src/core.rs b/crates/starknet_api/src/core.rs
index ff7017c3983..5853453f8fc 100644
--- a/crates/starknet_api/src/core.rs
+++ b/crates/starknet_api/src/core.rs
@@ -505,6 +505,10 @@ pub struct PatriciaKey(StarkHash);
pub const PATRICIA_KEY_UPPER_BOUND: &str =
"0x8000000000000000000... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test file should use the existing class_hash! macro instead of defining a local ch() helper to build ClassHash values.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In test_shrink_to_actual_end_fewer_than_limit the l... | null |
starkware-libs__sequencer__13615 | starkware-libs/sequencer | 13,615 | defect | 9d88a94c9874e3bbabc2d4824bf0761ec3e73b0b | facbd31f4ef96db872d7aff19b2cd8b320ca099a | apollo_network: make peer access control enforcement always active | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Connection admission now defaults to deny unless peers are explicitly whitelisted, which can unintentionally partition nodes if call-sites fail to set the allowed set correctly. Changes also affect committee/bootstrapping peer selection, impacting connectivity and d... | diff --git a/crates/apollo_network/Cargo.toml b/crates/apollo_network/Cargo.toml
index 694be271879c..be160cdbe8ce 100644
--- a/crates/apollo_network/Cargo.toml
+++ b/crates/apollo_network/Cargo.toml
@@ -63,5 +63,9 @@ tokio = { workspace = true, features = ["full", "sync", "test-util"] }
tokio-stream.workspace = true
... | 5 | 2 | 1 | [{"id": "G0", "claim": "Because enforcement is now always active, a node that IS the bootstrap node never gets set_allowed_peers called (bootstrap_peers_with_ids is None), so its allowed set stays empty and it will deny every inbound and outbound connection; the production NetworkManager::new() path has no equivalent o... | null |
starkware-libs__sequencer__13671 | starkware-libs/sequencer | 13,671 | defect | ea58a4db761a8ced2a695fc6ed59b610e4389b1b | 6562e53a3c7c41166c104c7429c188e7c303159a | apollo_infra_utils,apollo_compile_to_native: add compiler version text files | Create plain text files containing compiler binary versions as the single
source of truth. Rust constants now use include_str!().trim_ascii_end()
to read from these files. Shell scripts and Dockerfiles will read them
with cat in a follow-up.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
<!-- CU... | diff --git a/crates/apollo_compile_to_native/src/constants.rs b/crates/apollo_compile_to_native/src/constants.rs
index 6bde1850ab4..cdb2e113cec 100644
--- a/crates/apollo_compile_to_native/src/constants.rs
+++ b/crates/apollo_compile_to_native/src/constants.rs
@@ -4,4 +4,5 @@
pub(crate) const CAIRO_NATIVE_BINARY_NAM... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks whether REQUIRED_CAIRO_NATIVE_VERSION (and the other new file-backed constant) are still verified to match the respective crate version in the root Cargo.toml.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "sc... | null |
starkware-libs__sequencer__13675 | starkware-libs/sequencer | 13,675 | defect | 422c61c62d153fa80d1b5ce1e7fbf1b7b4adf1b6 | 7c87ee5017f52b2a65a2dbd367c8a8bd83bae080 | apollo_compile_to_casm,apollo_compile_to_native: switch to script-based compiler installation | Remove build.rs from both compiler crates — compiler binaries are now
installed by scripts/install_compiler_binaries.sh (called from
install_cargo_tools.sh) instead of as a cargo build side effect.
- Delete build.rs and [build-dependencies] from both crates
- Remove OUT_DIR/RUNTIME_ACCESSIBLE_OUT_DIR env var hack
- Si... | diff --git a/.github/actions/bootstrap/action.yml b/.github/actions/bootstrap/action.yml
index 047b6c9870a..1f7a73db425 100644
--- a/.github/actions/bootstrap/action.yml
+++ b/.github/actions/bootstrap/action.yml
@@ -12,10 +12,10 @@ runs:
- name: Setup Namespace Cache
uses: ./.github/actions/namespace_cache... | 7 | 7 | 1 | [{"id": "G0", "claim": "install_compiler_binary and the helper chain it alone supports (legacy_binary_path, shared_folder_dir, target_dir) are left as dead code even though the PR description says to remove install_compiler_binary and the build.rs files that called it are deleted.", "category": "maintainability", "verd... | null |
starkware-libs__sequencer__13694 | starkware-libs/sequencer | 13,694 | defect | a4c5c143b1c2517b4e8745fd7902f43733fe4866 | 732e555830afde1eb08fc057465306a175569f7c | apollo_infra: add keepalive time greater than 1 validation | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Medium risk because it changes configuration validation for `keepalive_timeout_ms`, which can cause previously-accepted configs to fail validation and potentially affect connection behavior at runtime.
>
> **Overview**
> **Tightens `RemoteClientConfig.keepalive_tim... | diff --git a/crates/apollo_infra/src/component_client/remote_component_client.rs b/crates/apollo_infra/src/component_client/remote_component_client.rs
index dd266e8f2d4..3267ff02ab1 100644
--- a/crates/apollo_infra/src/component_client/remote_component_client.rs
+++ b/crates/apollo_infra/src/component_client/remote_com... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new validate_keepalive_timeout_ms only checks that tcp_keepalive_secs != 0 and dropped the old check that the truncated TCP keepalive is >= the HTTP keepalive, so a value like keepalive_timeout_ms=1100 passes validation even though the TCP keepalive (rounding to 1 s) would fire before the HT... | null |
starkware-libs__sequencer__13745 | starkware-libs/sequencer | 13,745 | defect | 53aeb15753a072e9c2567c189d6877a5c81aeb2a | 22ce69c0ac0815a620d4cc7b868c3004edc2ffca | starknet_committer_and_os_cli: return Result from scan and shrink_to_actual_end | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | diff --git a/Cargo.lock b/Cargo.lock
index a2039ed2ab3..6137a4c91b8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -12493,6 +12493,7 @@ dependencies = [
name = "starknet_committer_and_os_cli"
version = "0.0.0"
dependencies = [
+ "apollo_committer_config",
"apollo_infra_utils",
"apollo_starknet_os_program",
"apoll... | 1 | 1 | 1 | [{"id": "G0", "claim": "process_request panics on a scan failure instead of propagating it; the error should be propagated via a Result in the return type so the caller sees the function's requirements.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
starkware-libs__sequencer__13776 | starkware-libs/sequencer | 13,776 | defect | 602095afb771d693058a546958367da6bbc02b66 | a82ba794a512acd47839d0dcf2be2a47353a30dc | apollo_batcher_config: move block-builder params to batcher dynamic config | Move `n_concurrent_txs`, `tx_polling_interval_millis`, and `proposer_idle_detection_delay_millis` from `BlockBuilderConfig` (static) to `BatcherDynamicConfig` so they can be updated at runtime without a node restart.
Also moves `n_concurrent_txs` and `tx_polling_interval_millis` out of `BlockBuilder` struct fields int... | diff --git a/crates/apollo_batcher/src/batcher.rs b/crates/apollo_batcher/src/batcher.rs
index 73f903beceb..c212e12ca3a 100644
--- a/crates/apollo_batcher/src/batcher.rs
+++ b/crates/apollo_batcher/src/batcher.rs
@@ -114,6 +114,7 @@ use starknet_api::versioned_constants_logic::VersionedConstantsTrait;
use tokio::sync:... | 5 | 5 | 1 | [{"id": "G0", "claim": "The TODO(AlonH) comment added above BlockBuilderConfig's fields should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added batcher_config.dynamic_config.proposer_idle_detection_delay_millis key in K... | null |
starkware-libs__sequencer__13777 | starkware-libs/sequencer | 13,777 | defect | f654fcce29660ed75da94ec6e343c12a71c59ec5 | 1e262134c4a6a865c7f2b019bc26451a5b51a4b2 | apollo_versioned_constants,apollo_consensus_orchestrator: extract ver… | Extract orchestrator versioned constants into `apollo_versioned_constants` and move the related JSON/diff fixtures there.
Also includes review follow-ups:
- Use direct imports from `apollo_versioned_constants` in `apollo_consensus_orchestrator` (no re-export alias).
- Update `define_versioned_constants!` to use `$crat... | diff --git a/Cargo.lock b/Cargo.lock
index bd28f881c78..f5228197c1e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1431,6 +1431,7 @@ dependencies = [
"apollo_test_utils",
"apollo_time",
"apollo_transaction_converter",
+ "apollo_versioned_constants",
"assert_matches",
"async-trait",
"blockifier",
@@ -1449,7 +1... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `pub use apollo_versioned_constants as orchestrator_versioned_constants;` alias in lib.rs is questioned: is this what we want, or should the imports simply be changed instead of keeping a re-export for a minimal diff?", "category": "design", "verdict": "supported", "priority": "P2", "scope":... | null |
starkware-libs__sequencer__13798 | starkware-libs/sequencer | 13,798 | defect | bc76748a37e660e700cff97b5dd1fb95d1a37c3e | 6d0cf60d4606fb3fba2c5219ab3b8bedbf7edbbf | apollo_consensus_orchestrator: validate starknet_version in proposal init | ## Summary
- Adds `starknet_version: StarknetVersion` to `ProposalInitValidation`
- Validates in `is_proposal_init_valid()` that the proposer's `starknet_version` matches `StarknetVersion::LATEST`, rejecting the proposal before block execution if it doesn't
- Prevents a malicious proposer from forcing an incorrect vers... | diff --git a/crates/apollo_consensus_orchestrator/src/sequencer_consensus_context.rs b/crates/apollo_consensus_orchestrator/src/sequencer_consensus_context.rs
index 82d4f611f2b..5175062af98 100644
--- a/crates/apollo_consensus_orchestrator/src/sequencer_consensus_context.rs
+++ b/crates/apollo_consensus_orchestrator/sr... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test `valid_starknet_version` looks identical to the existing `validate_empty_proposal` test, duplicating coverage that already exists.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
starkware-libs__sequencer__13918 | starkware-libs/sequencer | 13,918 | defect | dcf9161e6f36cab3133a8b7558c93daf91e48590 | 9527a9025ae2c926af0a1294fd1eefce41b439b7 | apollo_mempool: add nonce-gap metrics (accounts_with_gap, stuck_txs) | Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | diff --git a/crates/apollo_mempool/src/fee_mempool_test.rs b/crates/apollo_mempool/src/fee_mempool_test.rs
index 50e02d39f09..96a5296175e 100644
--- a/crates/apollo_mempool/src/fee_mempool_test.rs
+++ b/crates/apollo_mempool/src/fee_mempool_test.rs
@@ -158,6 +158,7 @@ impl MempoolTestContentBuilder {
s... | 9 | 7 | 4 | [{"id": "G0", "claim": "handle_fee_escalation removes the replaced tx from the pool without decrementing n_stuck_txs, and the replacement's add_tx_inner then increments it again, so each fee escalation on a gap account's transaction permanently over-counts n_stuck_txs by 1 and makes the mempool_stuck_txs metric drift u... | null |
starkware-libs__sequencer__13955 | starkware-libs/sequencer | 13,955 | defect | a711f61ae6de55d807bbc9931ee383fd638119a2 | 89630875318862a542a756360a27c1dc9b133e9a | apollo_batcher,apollo_storage: store IndexMap in tx_execution_info storage without cloning | Avoid cloning TransactionExecutionInfo when writing OS input to storage.
- Add append_serialized to mmap_file Writer trait and FileHandler
- Change TxExecutionInfos to wrap IndexMap<TransactionHash, TransactionExecutionInfo>
- Store and retrieve the full tx hash → execution info mapping
- Pass &execution_infos directly... | diff --git a/crates/apollo_batcher/Cargo.toml b/crates/apollo_batcher/Cargo.toml
index 62f907dafb1..5d2f5e95587 100644
--- a/crates/apollo_batcher/Cargo.toml
+++ b/crates/apollo_batcher/Cargo.toml
@@ -8,6 +8,7 @@ description = "Block building and transaction batching component for the Starkne
[features]
cairo_nativ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The serialized storage format changed from a JSON array to a JSON object without bumping STORAGE_VERSION_STATE/STORAGE_VERSION_BLOCKS, so pre-existing data written in the old array format will fail to deserialize and surface as DBInconsistency; a version bump or migration is needed.", "category"... | null |
starkware-libs__sequencer__13984 | starkware-libs/sequencer | 13,984 | defect | 7bd0e758cd63d497dcf652d4d3aca692989c3d43 | d36953eddfb3fdfb9ecbcf7977515adf60b9093e | apollo_gateway: block mempool send until proof archive write completes | Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> | diff --git a/crates/apollo_gateway/src/gateway.rs b/crates/apollo_gateway/src/gateway.rs
index 0f7b039d11a..5fcc3bdd076 100644
--- a/crates/apollo_gateway/src/gateway.rs
+++ b/crates/apollo_gateway/src/gateway.rs
@@ -245,6 +245,13 @@ impl<
args: AddTransactionArgs::new(internal_tx, nonce),
p2p... | 5 | 4 | 3 | [{"id": "G0", "claim": "Einat asks whether the GCS upload should be started earlier, before the other validations — a design/latency trade-off question ('should we move this up?') rather than a demanded change.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim":... | null |
starkware-libs__sequencer__14097 | starkware-libs/sequencer | 14,097 | defect | 432ba5439aeafa13301771b9a0c30fb02ded666a | 2ed1edece6c2b779bfc8e8042a039ab70bf6aa1a | apollo_dashboard: fix spot-eviction false positives in success-count alerts | ## Summary
- `eth_to_strk_success_count` and `l1_gas_price_scraper_success_count` alerts used bare `increase(metric[1h])` without `sum()`. After a spot eviction, the new pod starts with counter=0, so `increase([1h])` returns 0 and satisfies the `< 1` condition — firing a false alert.
- Fix: wrap with `sum()` so the que... | diff --git a/crates/apollo_dashboard/resources/dev_grafana_alerts.json b/crates/apollo_dashboard/resources/dev_grafana_alerts.json
index a11cfcd6db0..b1c94e2e934 100644
--- a/crates/apollo_dashboard/resources/dev_grafana_alerts.json
+++ b/crates/apollo_dashboard/resources/dev_grafana_alerts.json
@@ -902,7 +902,7 @@
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Wrapping the success-count queries with bare `sum()` strips all labels to `{}`, so the appended `and (is_observer{...} == 0)` never matches under PromQL's exact label-set matching and the alerts become non-functional (never or always firing); fix by using `sum by (...)` or `and on()` to reconcil... | null |
starkware-libs__sequencer__14102 | starkware-libs/sequencer | 14,102 | defect | 2f13cae6f7ca5a63b24951b69fcb2afd57758bda | b002b93193e451d4057eb5120a194a9458a6f076 | blockifier: add predicted_alias_storage_entries | Predicts the alias-contract storage entries that allocate_aliases_in_storage
would touch for a given state_diff, without running the allocation. Used by
the batcher to assemble the accessed-keys set written for OS replay.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> | diff --git a/crates/blockifier/src/execution/call_info.rs b/crates/blockifier/src/execution/call_info.rs
index 9b120c93a7b..5dd37b25e3c 100644
--- a/crates/blockifier/src/execution/call_info.rs
+++ b/crates/blockifier/src/execution/call_info.rs
@@ -517,12 +517,7 @@ impl CallInfo {
executed_class_hashes.ins... | 1 | 1 | 0 | [{"id": "G0", "claim": "Reuse or generalize `allocate_aliases_in_storage` for predicting alias storage entries instead of duplicating its `if`s and scanning logic in `predicted_alias_storage_entries`, and make both functions associated functions of `AliasUpdater`.", "category": "design", "verdict": "supported", "priori... | null |
starkware-libs__sequencer__14103 | starkware-libs/sequencer | 14,103 | defect | 2f13cae6f7ca5a63b24951b69fcb2afd57758bda | d5730c355419cf7768efd64c8f4e992915e0f004 | blockifier: add compute_accessed_keys and AccessedKeys | Define the AccessedKeys aggregate (storage_keys + modified_contracts +
compiled_class_hash_keys) the OS needs to replay a block, plus
compute_accessed_keys to produce it. A single walk of the call-info tree
gathers storage entries, contracts-trie leaves, and class hashes; the
block's state diff, ProofFacts block number... | diff --git a/crates/blockifier/src/execution/call_info.rs b/crates/blockifier/src/execution/call_info.rs
index 9b120c93a7b..5dd37b25e3c 100644
--- a/crates/blockifier/src/execution/call_info.rs
+++ b/crates/blockifier/src/execution/call_info.rs
@@ -517,12 +517,7 @@ impl CallInfo {
executed_class_hashes.ins... | 9 | 8 | 2 | [{"id": "G0", "claim": "The doc comment on the contracts field should also list replaced classes and get_class_hash_at calls among the sources of accessed contract addresses.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The modified_contracts fi... | null |
starkware-libs__sequencer__14104 | starkware-libs/sequencer | 14,104 | defect | 2f13cae6f7ca5a63b24951b69fcb2afd57758bda | 7a1c54748a7d8cec324b6b1df6226db8ff6f16ad | apollo_batcher: record ProofFacts block_number per tx | For each successfully-executed tx carrying non-empty SNOS proof facts, store
the (tx_hash -> block_number) pair on BlockTransactionExecutionData. The
batcher will fold these into the BLOCK_HASH_TABLE_ADDRESS entries it writes
to the accessed-key set. Rollback flows alongside execution_infos via
remove_last_txs.
Co-Aut... | diff --git a/crates/apollo_batcher/src/block_builder.rs b/crates/apollo_batcher/src/block_builder.rs
index 39dede3c5fd..72a57b4b048 100644
--- a/crates/apollo_batcher/src/block_builder.rs
+++ b/crates/apollo_batcher/src/block_builder.rs
@@ -51,8 +51,9 @@ use starknet_api::consensus_transaction::InternalConsensusTransac... | 3 | 3 | 1 | [{"id": "G0", "claim": "Reword the doc comment on `proof_facts_block_numbers` so it says that for each successfully executed SNIP36 proof-carrying transaction the list contains the block number that the proof was verified against.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
starkware-libs__sequencer__14105 | starkware-libs/sequencer | 14,105 | defect | 2f13cae6f7ca5a63b24951b69fcb2afd57758bda | b3f6d4c0fbd615de9a05df74ee51edec70262265 | apollo_storage,apollo_batcher,apollo_reverts: write accessed keys instead of tx execution infos | Replace the os_input-gated tx_execution_infos persistence path with an
accessed_keys path: a per-block AccessedKeys aggregate the OS needs to
replay the block.
- apollo_storage: new accessed_keys module (table, file handler, OffsetKind,
reader/writer traits), re-exporting blockifier's AccessedKeys struct and
impl'... | diff --git a/crates/apollo_batcher/src/batcher.rs b/crates/apollo_batcher/src/batcher.rs
index 3b16db7458e..b513035315b 100644
--- a/crates/apollo_batcher/src/batcher.rs
+++ b/crates/apollo_batcher/src/batcher.rs
@@ -72,7 +72,7 @@ use apollo_storage::storage_reader_types::{
StorageReaderResponse,
};
#[cfg(featur... | 4 | 4 | 4 | [{"id": "G0", "claim": "Because `include_alias_predictions` is hardcoded to `true` while actual alias allocation during block execution is gated on `versioned_constants.enable_stateful_compression`, predicted alias entries may be included in `AccessedKeys` for blocks executed with stateful compression disabled, produci... | null |
starkware-libs__sequencer__14154 | starkware-libs/sequencer | 14,154 | defect | 23ae18632803fabbca023b70ff6c7e88da23df62 | 7a88db224cc7fabe2f296fd2f7be0c5b571ff405 | blockifier: store per-block builtin instance limits, derive proving-gas weights | ## Summary
- `BouncerConfig` now holds **per-block builtin instance limits** (`BuiltinInstanceLimits`) on disk; the per-builtin proving-gas cost (`BuiltinGasCosts`) is derived in code as `floor(block_max_capacity.proving_gas / limit)` and cached eagerly via a mirror-struct serde so JSON-loaded configs stay consistent.... | diff --git a/crates/apollo_deployments/resources/app_configs/batcher_config.json b/crates/apollo_deployments/resources/app_configs/batcher_config.json
index 035e3d60af3..209b3a50048 100644
--- a/crates/apollo_deployments/resources/app_configs/batcher_config.json
+++ b/crates/apollo_deployments/resources/app_configs/bat... | 7 | 3 | 0 | [{"id": "G0", "claim": "The `bouncer_config` test fixture combines a 20 proving-gas capacity with default instance limits (all >= 3000), so every derived builtin gas cost is 0 and the tests using this fixture no longer exercise the builtin proving-gas cost path.", "category": "testing", "verdict": "uncertain", "priorit... | null |
starkware-libs__sequencer__14156 | starkware-libs/sequencer | 14,156 | defect | 9fd219f3196e1e72f4336b7dac8827e08f6b9e1a | f457985309fe49123e357f211bf2731617ee2a0b | blockifier: take CommitmentStateDiff in AccessedKeys::new and predicted_alias_storage_entries | CommitmentStateDiff is the natural per-block state-diff type at the OS-replay
boundary (the batcher's BlockExecutionArtifacts already carries one). Swap
both AccessedKeys::new and predicted_alias_storage_entries to consume it
directly:
- AccessedKeys::new derives storage entries from
state_diff.storage_updates, the ... | diff --git a/crates/apollo_batcher/src/block_builder.rs b/crates/apollo_batcher/src/block_builder.rs
index 39dede3c5fd..ccf275e0cca 100644
--- a/crates/apollo_batcher/src/block_builder.rs
+++ b/crates/apollo_batcher/src/block_builder.rs
@@ -51,8 +51,9 @@ use starknet_api::consensus_transaction::InternalConsensusTransac... | 1 | 1 | 0 | [{"id": "G0", "claim": "The union of storage_updates, address_to_nonce and address_to_class_hash key iteration for modified contracts is implemented twice (in AccessedKeys::new and predicted_alias_storage_entries) and should be a method of CommitmentStateDiff.", "category": "maintainability", "verdict": "supported", "p... | null |
starkware-libs__sequencer__14177 | starkware-libs/sequencer | 14,177 | defect | cadbc3a2af115d43adb71d7a6fe446c53d3b82fe | e44b81ad06522d990db89ce6087a85697d1bca4e | blockifier: increase StorageRead/Write gas costs +33% (SNIP-40) | Per SNIP-40 "More Frequent Blocks":
StorageRead: 18,070 -> 24,070 L2 gas (n_steps 180 -> 240)
StorageWrite: 44,970 -> 59,970 L2 gas (n_steps 449 -> 599)
The +33% bump offsets the cost reduction from fewer per-cell accesses per
block at the new 1.5s block time, keeping per-block proving cost roughly
flat.
JSON ... | diff --git a/crates/apollo_batcher_config/src/config.rs b/crates/apollo_batcher_config/src/config.rs
index 4a7205fa247..c79e63282dc 100644
--- a/crates/apollo_batcher_config/src/config.rs
+++ b/crates/apollo_batcher_config/src/config.rs
@@ -340,7 +340,7 @@ impl Default for BatcherDynamicConfig {
storage_re... | 4 | 2 | 0 | [{"id": "G0", "claim": "Derive the storage entry-point test resources in deprecated_syscalls_test.rs (lines ~164 and ~331) from the latest versioned constants via the formula instead of hardcoding n_steps (881), to make future cost updates easier.", "category": "maintainability", "verdict": "supported", "priority": "P2... | null |
starkware-libs__stwo__170 | starkware-libs/stwo | 170 | defect | 8841c8f54ee6b10c998ee8f9305533e6980f4059 | 17c2d704379662e3848cdeac2e9091c0633d8c54 | Add benchmark for matrix multiplication |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-industries/prover-research/170)
<!-- Reviewable:end -->
| diff --git a/Cargo.toml b/Cargo.toml
index 5f20230804..932f24b155 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,6 +26,10 @@ lto = true
harness = false
name = "field"
+[[bench]]
+harness = false
+name = "matrix"
+
[[bench]]
name = "merkle_bench"
harness = false
diff --git a/benches/matrix.rs b/benches/matrix.rs... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the benchmark function row_major_matrix_multiplication to row_major_matrix_multiplication_bench.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
starkware-libs__stwo__203 | starkware-libs/stwo | 203 | defect | 8da31dd74bc1ce5159be9290a0b7dffaabf6f798 | 5aca55f4d3a7a8a2182c232a08dc762f85014da1 | Small misc changes for FRI | * Implement Deref for CircleEvaluation
* Add is_canonic method to CircleDomain
* Change into_natural_coefficients to into_ordered_coefficients
* Implement IntoIterator for CircleEvaluation and LineEvaluation
* Change FRI_STEP_SIZE -> LOG_FOLDING_FACTOR
* Rename apply_drp function to fold_line
<!-- Reviewable:st... | diff --git a/benches/fri.rs b/benches/fri.rs
index de201a6601..ac860e7c01 100644
--- a/benches/fri.rs
+++ b/benches/fri.rs
@@ -1,18 +1,18 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use prover_research::core::fields::m31::BaseField;
-use prover_research::core::fri::apply_drp;
+use prove... | 6 | 3 | 0 | [{"id": "G0", "claim": "fold_line's naming and documentation should make its folding behavior explicit (whether it covers line-polys folding and circle-to-line, and that it always folds in half) — e.g. rename it to fold_line_half or document it.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "... | null |
starkware-libs__stwo__389 | starkware-libs/stwo | 389 | defect | 9627181fe738c34434a5611df466d30c6817c81c | a600463855cf37539ef86b4d3659139c390c31f8 | Separate ifft | Separate ifft
Copied ifft into fft
<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/stwo/389)
<!-- Reviewable:end -->
| diff --git a/src/core/backend/avx512/fft.rs b/src/core/backend/avx512/fft/ifft.rs
similarity index 64%
rename from src/core/backend/avx512/fft.rs
rename to src/core/backend/avx512/fft/ifft.rs
index a1d437e9d8..74a26e70c7 100644
--- a/src/core/backend/avx512/fft.rs
+++ b/src/core/backend/avx512/fft/ifft.rs
@@ -1,69 +1,1... | 2 | 2 | 0 | [{"id": "G0", "claim": "The '// TODO(spapini): Move these to M31 AVX.' comment in src/core/backend/avx512/fft/mod.rs may no longer be needed and should be removed if so.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "src/core/backend/avx512/fft/rf... | null |
starkware-libs__stwo__396 | starkware-libs/stwo | 396 | defect | 642cc8d427a84d394752f9195ecc375cc7c9e6a2 | 776fa620f90865b8a092e37aa961c8f3f1a15707 | AVX fft eval on larger domains |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/stwo/396)
<!-- Reviewable:end -->
| diff --git a/benches/fft.rs b/benches/fft.rs
index 20bc5f3431..328e647e30 100644
--- a/benches/fft.rs
+++ b/benches/fft.rs
@@ -1,6 +1,7 @@
#![feature(iter_array_chunks)]
use criterion::Criterion;
+use stwo::core::backend::avx512::fft::ifft::get_itwiddle_dbls;
pub fn avx512_ifft(c: &mut criterion::Criterion) {
... | 3 | 2 | 0 | [{"id": "G0", "claim": "The TODO comment 'When batch inverse is implemented, replace with real twiddles' may be stale now that the bench uses real twiddles from get_itwiddle_dbls — is it still a todo?", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
starkware-libs__stwo__414 | starkware-libs/stwo | 414 | defect | fe76a483436a9034d0ee572d175c4502852d8d04 | 4b09ff0609f87e4b5e4f1e601e38712e0c162116 | Unite PackedBaseField with AVX M31 impl |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/stwo/414)
<!-- Reviewable:end -->
| diff --git a/benches/bit_rev.rs b/benches/bit_rev.rs
index 2cdd089e73..1192b30138 100644
--- a/benches/bit_rev.rs
+++ b/benches/bit_rev.rs
@@ -22,6 +22,7 @@ pub fn cpu_bit_rev(c: &mut criterion::Criterion) {
pub fn avx512_bit_rev(c: &mut criterion::Criterion) {
use bytemuck::cast_slice_mut;
use stwo::core::b... | 1 | 1 | 0 | [{"id": "G0", "claim": "Document the `at` method on BaseFieldVec.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
starkware-libs__stwo__673 | starkware-libs/stwo | 673 | defect | 2c3d3ef45103f2be21db4250eec25a8599758f4f | 27c40f12875aedf7bbd7c0c9e0244acdcaa76970 | Add benchmarks for GKR lookups |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/stwo/673)
<!-- Reviewable:end -->
| diff --git a/crates/prover/Cargo.toml b/crates/prover/Cargo.toml
index 381e912ea7..6a17bc221f 100644
--- a/crates/prover/Cargo.toml
+++ b/crates/prover/Cargo.toml
@@ -72,6 +72,10 @@ name = "field"
harness = false
name = "fri"
+[[bench]]
+harness = false
+name = "lookups"
+
[[bench]]
harness = false
name = "matri... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pull request shrinks the fft benchmark's log_size range from 16..=28 to 16..=16, which the reviewer questions and the author confirms is an accidental leftover that should be removed from the PR.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"... | null |
starkware-libs__stwo__683 | starkware-libs/stwo | 683 | defect | f59f72249a0f8c8e1385a3381f8337a81548fbf8 | 0610c88550887a60a972fe49a73882311fb2be06 | Poseidon2 |
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/stwo/683)
<!-- Reviewable:end -->
| diff --git a/crates/prover/Cargo.toml b/crates/prover/Cargo.toml
index 0128005c04..3c9de2969a 100644
--- a/crates/prover/Cargo.toml
+++ b/crates/prover/Cargo.toml
@@ -23,7 +23,7 @@ starknet-crypto = "0.6.2"
starknet-ff = "0.3.7"
thiserror.workspace = true
tracing.workspace = true
-rayon = {version = "1.10.0", option... | 4 | 4 | 1 | [{"id": "G0", "claim": "The comment on the internal round matrix should state which mu values are being used.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The typo 'Seciotn' in the TODO comment about section 5.3 of the Poseidon2 paper should be ... | null |
starkware-libs__stwo__759 | starkware-libs/stwo | 759 | defect | 37ecf7f22510a6d47ae8c5eaac59adff9c2c48f3 | eff694bc131b81f26814355d99758c7fd5bf5bf9 | Generalize Stwo for generic Channel and MerkleHasher | Adapt Code to Accept Generic Channels and MerkleHashers
The objective of this PR is to adapt the code to accept generic `Channels` and `MerkleHashers`. This is already done for Fri and the vector commitment scheme. However the rest of the protocol works only with `Blake2sChannel` and `Blake2sMerkleHasher`.
This i... | diff --git a/crates/prover/benches/poseidon.rs b/crates/prover/benches/poseidon.rs
index 3cd680e2d8..7fbcfecab8 100644
--- a/crates/prover/benches/poseidon.rs
+++ b/crates/prover/benches/poseidon.rs
@@ -1,10 +1,10 @@
use criterion::{criterion_group, criterion_main, Criterion, Throughput};
-use stwo_prover::core::backe... | 5 | 4 | 1 | [{"id": "G0", "claim": "In crates/prover/src/core/pcs/prover.rs, `commit` should not be public and `commit_on_evals` should not exist, since both were replaced with TreeBuilder.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The redundant `Channel as Cha... | null |
starship__starship__3370 | starship/starship | 3,370 | defect | 4deaa02d6fb3e72f286d822ac4c987b763c415dc | edf497a116f29048faf5c4526b159e4949576c99 | refactor: update clap to v3 | <!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->
... | diff --git a/Cargo.lock b/Cargo.lock
index beaa5de6becc..ef151566d439 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -218,17 +218,42 @@ dependencies = [
[[package]]
name = "clap"
-version = "2.34.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0610544180c38b88101fe... | 3 | 2 | 0 | [{"id": "G0", "claim": "A lingering blank line is left between the `#[derive(Parser, Debug)]` attribute and the `pub struct Properties` definition in src/context.rs.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a doc comment explaining what the `Tar... | null |
starship__starship__3462 | starship/starship | 3,462 | defect | 0da178780fe5b2a25efef461de806d70ef35cdf8 | 460ace346cfc040acc1eadd6ba6cba962c348733 | fix(status): Enable to convert from i64 to hex_status by casting instead of parsing status. | <!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->
Th... | diff --git a/src/modules/status.rs b/src/modules/status.rs
index e0b0f1ff54a51..5f643a95c19dc 100644
--- a/src/modules/status.rs
+++ b/src/modules/status.rs
@@ -109,10 +109,7 @@ fn format_exit_code<'a>(
}
};
- let hex_status = exit_code
- .parse::<i32>()
- .ok()
- .map(|code| for... | 6 | 4 | 0 | [{"id": "G0", "claim": "Drop the `as u32` cast and format `exit_code_int` directly for `hex_status`, which the reviewer thought would just work and avoid truncation.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A note that the status code is handl... | null |
starship__starship__3889 | starship/starship | 3,889 | defect | 9b2ce4240c602df368f966996d870ef9197e65ac | ee41e58e3d884913288c2b358c41432aa1ee0bc3 | test(git): enable `fsync` for git operations | <!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->
... | diff --git a/src/modules/git_status.rs b/src/modules/git_status.rs
index 8f5a0e7491af..3f5c3f21266a 100644
--- a/src/modules/git_status.rs
+++ b/src/modules/git_status.rs
@@ -473,18 +473,6 @@ mod tests {
use crate::test::{fixture_repo, FixtureProvider, ModuleRenderer};
use crate::utils::create_command;
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment at the new `core.fsync` configuration call in src/test/mod.rs explaining why it is needed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
starship__starship__4765 | starship/starship | 4,765 | defect | 2ab07552e171cf7cad893cd9a5354611163e4c2a | 5301faf7010d3287cd2b7f1d4b64c129ffc17902 | feat: add pijul_channel module | <!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->
... | diff --git a/.github/config-schema.json b/.github/config-schema.json
index e7fb0af122dd6..5f55dfc50011e 100644
--- a/.github/config-schema.json
+++ b/.github/config-schema.json
@@ -1213,6 +1213,21 @@
}
]
},
+ "pijul": {
+ "default": {
+ "disabled": true,
+ "format": "on [$symb... | 5 | 5 | 0 | [{"id": "G0", "claim": "Truncation in the pijul module should follow the meson module's approach and use the functions from `crate::utils::truncate` instead of the hand-rolled grapheme helpers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
starship__starship__4806 | starship/starship | 4,806 | defect | 1e4e098984f3d0cf16765f4d2117272b516db9c4 | fe6520d0897e25ca34d27fac97c4ffa6992219f8 | feat(fossil_branch): add fossil_branch module | #### Description
Add a module to print the active branch of a [Fossil](https://www.fossil-scm.org/) check-out, if the current directory is a Fossil check-out. The module is analogous to the `git_branch` and `hg_branch` modules.
#### Motivation and Context
This is part of adding initial Fossil support to Starsh... | diff --git a/.github/config-schema.json b/.github/config-schema.json
index 702d57cb8fee..4ea0c2120e3b 100644
--- a/.github/config-schema.json
+++ b/.github/config-schema.json
@@ -504,6 +504,21 @@
}
]
},
+ "fossil_branch": {
+ "default": {
+ "disabled": true,
+ "format": "on [$... | 3 | 2 | 1 | [{"id": "G0", "claim": "The module should scan for a `.fslckout` file before running the external `fossil` command.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "More tests should be added, including a test that the branch is displayed when one is ... | null |
starship__starship__4975 | starship/starship | 4,975 | defect | 55fa90c004afcdba33788d4d2ab94fa48f8bb35c | 0bf60953c4976dd2806423b88b8ab618a47273e5 | chore: add spell checker to workflows | <!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->
... | diff --git a/.github/config-schema.json b/.github/config-schema.json
index fcd128c4f8714..92b40bd330608 100644
--- a/.github/config-schema.json
+++ b/.github/config-schema.json
@@ -475,7 +475,7 @@
},
"fennel": {
"default": {
- "detect_extentions": [
+ "detect_extensions": [
"fn... | 1 | 1 | 1 | [{"id": "G0", "claim": "Renaming the config field `detect_extentions` to `detect_extensions` would break compatibility with older configs; keep the old key working via a serde alias and add a TODO so it is removed on the next breaking release.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "... | null |
starship__starship__5001 | starship/starship | 5,001 | defect | 87afdf952615709e8782f27b3f3c72587c7d7b38 | e35d18dbf90d34e260315e2dae3e79dda8dd11c5 | fix(config): Make print-config not panic without a config | <!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->
... | diff --git a/Cargo.lock b/Cargo.lock
index e130d1293c1e..379904c6690c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2730,6 +2730,7 @@ dependencies = [
"starship-battery",
"strsim",
"systemstat",
+ "temp-env",
"tempfile",
"terminal_size",
"toml 0.7.3",
@@ -2830,6 +2831,15 @@ dependencies = [
"windows 0.39.0... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request should not introduce the temp-env dependency and a second means of mocking the environment, which Context usually handles.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The practically identical get_config_path d... | null |
starship__starship__5079 | starship/starship | 5,079 | defect | de7e94884bc309814f6af79d68d664efb513e093 | efb6491635a20eafce16c3aa41c0aae8b63c9d06 | refactor(Context): `set_config` method for `Context` | <!--- Provide a general summary of your changes in the Title above -->
<!--- To help with semantic versioning the PR title should start with one of the conventional commit types. -->
<!--- The conventional commit types for Semantic PR are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert -->
... | diff --git a/src/context.rs b/src/context.rs
index b0bfc0fd5c92..a34765497cb0 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -175,6 +175,15 @@ impl<'a> Context<'a> {
}
}
+ /// Sets the context config, overwriting the existing config
+ pub fn set_config(mut self, config: toml::Table) -> Contex... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new set_config test should build its contexts with `default_context()` instead of calling `Context::new_with_shell_and_path` directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please port at least a few of the e... | null |
starship__starship__5581 | starship/starship | 5,581 | defect | 3b9e87229b86a050f40a1e58fc2e0d0328f1fbad | 4d575b62745c06cecf911c63b1e11521739bdb4c | perf(git_status): avoid running in bare repos | #### Description
This change adjusts the git_status module to no longer attempt to generate git_status for a bare repository as this is not possible when a repository does not have a work tree.
#### Motivation and Context
Currently entering a bare repository throws an error, as described in the associated issue.
... | diff --git a/src/modules/git_status.rs b/src/modules/git_status.rs
index e54ba700088b..76bad2512ea0 100644
--- a/src/modules/git_status.rs
+++ b/src/modules/git_status.rs
@@ -214,6 +214,12 @@ fn get_repo_status(
log::debug!("New repo status created");
let mut repo_status = RepoStatus::default();
+
+ // c... | 2 | 2 | 1 | [{"id": "G0", "claim": "The bare-repo guard should detect bareness from the repository kind per the git config instead of `repo.repo.work_tree.is_none()`, and should run earlier (before generating the git status).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"... | null |
startreedata__pinot-client-go__47 | startreedata/pinot-client-go | 47 | defect | 4cd5dc1949216499484c01fb0a2b036f88481a2d | 7019a2ce687548425f66b920358dbf7bc09bcc5c | write timestamp args as millis | @vijethsagar suggested to either add an explicit CAST on the date or use millis so that Pinot can leverage indexes | diff --git a/pinot/connection.go b/pinot/connection.go
index 551294e..81fad50 100644
--- a/pinot/connection.go
+++ b/pinot/connection.go
@@ -84,8 +84,8 @@ func formatArg(value interface{}) (string, error) {
hexString := fmt.Sprintf("%x", v)
return fmt.Sprintf("'%s'", hexString), nil
case time.Time:
- // For pi... | 2 | 1 | 1 | [{"id": "G0", "claim": "Writing time.Time arguments as milliseconds since epoch may introduce a backward incompatible issue when the left side of the comparison is a string-typed column.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Writing time.Ti... | null |
startreedata__pinot-client-go__8 | startreedata/pinot-client-go | 8 | defect | 4405f9c38dc6a9617025eb121a74e1947e0c53a2 | 62bcba4adb3383b2f906fb64a081d18e1cbd443d | Add HTTP timeout support for pinot query | 1. Currently Pinot uses default golang HTTP timeout, which is "No TImeout". Due to this, users of pinot go client have to implement timeout logic on their side, to avoid waiting for pinot query.
2. This PR aims to solve this by exposing HTTP Timeout parameter to the end user.
| diff --git a/README.md b/README.md
index 2262871..4c8b7da 100644
--- a/README.md
+++ b/README.md
@@ -137,6 +137,26 @@ pinotClient, err := pinot.NewWithConfig(&pinot.ClientConfig{
})
```
+### Add HTTP timeout for Pinot Queries
+
+By Default this client uses golang's default http timeout, which is "No TImeout". If yo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test's equality check on elapsed seconds is not accurate; use a range check like asserting the duration is smaller than 2 seconds.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
stashapp__stash__3284 | stashapp/stash | 3,284 | defect | 9351a0b2a46db4029b42c5424052df6caa6ef23e | 6e92e5064a122fa37f8d6a46d3ebfcedf5915cd9 | Allow use of Proxy | The allows the use of a HTTP proxy by defining the parameter in the config file.
### Usage
Example Proxy configurations, in config.yml
```
proxy: http://proxy.site:8080
proxy: https://user:password@proxy.site:8888
```
### Functionality
Currently covers:
- [x] XPath/JSON Scrapers
- [x] CDP Scrapers
- [x] ... | diff --git a/internal/api/check_version.go b/internal/api/check_version.go
index c3014eab44..90e7e5b887 100644
--- a/internal/api/check_version.go
+++ b/internal/api/check_version.go
@@ -109,8 +109,12 @@ type githubTagResponse struct {
}
func makeGithubRequest(ctx context.Context, url string, output interface{}) er... | 4 | 3 | 3 | [{"id": "G0", "claim": "The proxy support should also cover outgoing connections other than scraping, such as downloading ffmpeg, checking for updates, image downloading after scraping, and stashbox/CDP requests.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
stashapp__stash__5259 | stashapp/stash | 5,259 | defect | 76648fee66bce1356dbce2de5871205f68f6f3f0 | b5a44f73a93f56a1cb91570b0ee690bd0a672f3b | Add updated_at field to stash_id's | Stored as a time (not OptionalTime), and so on migration set all existing StashIDs to have time zero, then update on scrape, tagger, etc.
First and biggest part of #3553 , only thing left would be displaying, and maybe a task to update things older than X. | diff --git a/graphql/schema/types/stash-box.graphql b/graphql/schema/types/stash-box.graphql
index 71ea757f44..1d9ceeebd5 100644
--- a/graphql/schema/types/stash-box.graphql
+++ b/graphql/schema/types/stash-box.graphql
@@ -13,11 +13,13 @@ input StashBoxInput {
type StashID {
endpoint: String!
stash_id: String!
+... | 2 | 2 | 2 | [{"id": "G0", "claim": "The updated_at field of StashIDInput should be optional rather than required, and should default to now if not provided.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The updated_at field should only be refreshed when actual... | null |
stashapp__stash__5941 | stashapp/stash | 5,941 | defect | c5fe6748c08b63dcb457db53920e9edbe2b9fa6a | becd7d93af10fb9d3cfdd1fcb56af41216c173d6 | Add findFiles and findFile graphql queries | Adds `findFiles` and `findFile` queries to the graphql schema.
Adds `parent_folder` and `zip_file` fields to the file and folder types and deprecates `parent_folder_id` and `zip_file_id`.
This can be used to create a file system view, or for plugins to better manipulate files.
Related design: https://discourse.... | diff --git a/gqlgen.yml b/gqlgen.yml
index d3b8fc67fa..b949d44dcd 100644
--- a/gqlgen.yml
+++ b/gqlgen.yml
@@ -35,6 +35,8 @@ models:
model: github.com/stashapp/stash/internal/api.BoolMap
PluginConfigMap:
model: github.com/stashapp/stash/internal/api.PluginConfigMap
+ File:
+ model: github.com/stashapp/... | 2 | 2 | 0 | [{"id": "G0", "claim": "VideoFileFilterInput could also support filtering by the video file container/format.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ImageFileFilterInput could also support filtering by image type (e.g. png, jpeg, gif).", "categor... | null |
stashapp__stash__6255 | stashapp/stash | 6,255 | defect | 678b3de7c83f72a998ed1399ae340ad6c285adb6 | 41345f59c41403b09e5ba7f4a3277ece7a85d91a | Feature: Tag StashID support | This adds the ability to add and store the associated StashIds with tags.
Currently StashIDs are added automatically when you add a tag via tagger or via plugin and GraphQL.
The only way to add StashId's to currently existing tags is to:
- Run Identify and let it rematch
- Use a plugin to add them
- Retag... | diff --git a/graphql/schema/types/scraper.graphql b/graphql/schema/types/scraper.graphql
index a8e1fccb03..69fd3b4dba 100644
--- a/graphql/schema/types/scraper.graphql
+++ b/graphql/schema/types/scraper.graphql
@@ -67,6 +67,8 @@ type ScrapedTag {
"Set if tag matched"
stored_id: ID
name: String!
+ "Remote site... | 5 | 5 | 4 | [{"id": "G0", "claim": "Tag stash-ids can only be applied via the scene tagger and GraphQL, so the PR needs at least a manual input field in the UI for linking StashIDs to tags.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new block in identify's t... | null |
stashapp__stash__6303 | stashapp/stash | 6,303 | defect | 07b483038ae499c8c4f9b93609342940573e5bd4 | c80ff6de6e8a5fa916c99acccf5b86592691ff67 | Feature Request: Add organized flag to studios | This PR allows users to "Organize" their studios similar to scenes. The UI works in the same way as scenes... images below. Updated the autotag logic to respect if a studio is "Organized". Would love if our friendly neighborhood tester did some testing....
Studio Organized:
<img width="443" height="285" alt="Scre... | diff --git a/graphql/schema/types/filters.graphql b/graphql/schema/types/filters.graphql
index 04a28171c1..15fad7ccea 100644
--- a/graphql/schema/types/filters.graphql
+++ b/graphql/schema/types/filters.graphql
@@ -477,6 +477,8 @@ input StudioFilterType {
child_count: IntCriterionInput
"Filter by autotag ignore v... | 2 | 2 | 2 | [{"id": "G0", "claim": "Removing the ignore_auto_tag fields from the graphql interface would break existing clients, so the old fields must be deprecated rather than removed, and an organized studio should not be excluded from auto-tag or stash-box tagging the way ignore_auto_tag is.", "category": "design", "verdict": ... | null |
stashapp__stash__6344 | stashapp/stash | 6,344 | defect | c6ae43c1d696b048350edbf7442f9c7c7c855d02 | 5865f1780e571f98542c3d056d469de7909f5b0e | Feature: Scene Duplicate Filter | Currently, we have a filter for duplicate PHash. I revamped it a little bit to allow other duplicate checks. I kept PHash check but added in StashID and TItle. THe stashID is a current open feature request and the title is from me as I like to dedupe via titles.
Fixes: https://github.com/stashapp/stash/issues/3441
... | diff --git a/graphql/schema/types/filters.graphql b/graphql/schema/types/filters.graphql
index 4eb91aa77b..706b779967 100644
--- a/graphql/schema/types/filters.graphql
+++ b/graphql/schema/types/filters.graphql
@@ -75,10 +75,19 @@ input OrientationCriterionInput {
value: [OrientationEnum!]!
}
-input PHashDuplicat... | 6 | 6 | 4 | [{"id": "G0", "claim": "The duplicate-scene filter should also support filtering by URL duplication.", "category": "feature", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The graphql interface should be reworked: rename PHashDuplicationCriterionInput to DuplicationCriterion... | null |
stashapp__stash__6401 | stashapp/stash | 6,401 | defect | 7fded66bfa1029a5fe87ef89cd9d14817111aa0d | fddbdaf436261c316dff655abf389da488c98915 | Implement stash_ids_endpoint for the SceneFilterType | As mentioned in Issue #6400, I propose this change to allow to query an entire list of stash ids against the scenes in the database.
I have applied it to scenes, performers, and studios.
Resolves #6400 | diff --git a/graphql/schema/types/filters.graphql b/graphql/schema/types/filters.graphql
index 4eb91aa77b..8950d337dc 100644
--- a/graphql/schema/types/filters.graphql
+++ b/graphql/schema/types/filters.graphql
@@ -84,13 +84,23 @@ input PHashDuplicationCriterionInput {
input StashIDCriterionInput {
"""
If presen... | 2 | 2 | 0 | [{"id": "G0", "claim": "Modify sqlite.stashIDCriterionHandler to use stashIDsCriterionHandler rather than (mostly) duplicating its logic.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The existing stash_id_endpoint fields should be marked as de... | null |
stashapp__stash__6485 | stashapp/stash | 6,485 | defect | 9b709ef61457b9efb38cdb7f6f8401595855947a | 7851a5884f05b8d655b165a029dbefa21cc0427d | feat: Add .stashignore support for gitignore-style scan exclusions | Adds support for `.stashignore` files that allow users to exclude files and directories from scanning using gitignore-style patterns. Closes #1139.
Some LLM usage as Go is not my preferred language.
## Changes
- New `StashIgnoreFilter` in `pkg/file/stashignore.go` that checks for `.stashignore` files during ... | diff --git a/go.mod b/go.mod
index 705fe40edd..84bf364544 100644
--- a/go.mod
+++ b/go.mod
@@ -44,6 +44,7 @@ require (
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
github.com/remeh/sizedwaitgroup v1.0.0
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd
+ github.com/sabhiram/go-gitignore ... | 5 | 4 | 4 | [{"id": "G0", "claim": "The PR should extend or interface with the existing ignores menu rather than adding a separate .stashignore mechanism.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The filter need not always accept .stashignore files themselves; t... | null |
stashapp__stash__6494 | stashapp/stash | 6,494 | defect | ed3a2393667a3a9ea63fb40ec09c66717ca086f1 | 208bdc289bb1d3cabe1f40e1d54b1e3d859f89a4 | Add basename and parent_folders fields to Folder graphql interface | Preparation work for a folder filter.
- Adds a `basename` field to the `Folder` type. This field is derived from the `path` field - more on this below.
- Adds `parent_folders` field to the `Folder` type, this provides a list of all parent folders for the applicable folder, with the first being the immediate parent... | diff --git a/graphql/schema/types/file.graphql b/graphql/schema/types/file.graphql
index 835479fadc..37fb5539fe 100644
--- a/graphql/schema/types/file.graphql
+++ b/graphql/schema/types/file.graphql
@@ -6,11 +6,14 @@ type Fingerprint {
type Folder {
id: ID!
path: String!
+ basename: String!
parent_folder_i... | 1 | 1 | 1 | [{"id": "G0", "claim": "The 'basename' test case should use the `Basename` filter field instead of `Path`, so it actually exercises the newly added basename filter.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
stashapp__stash__6584 | stashapp/stash | 6,584 | defect | c8a8154e83895f14d29abb7b148c955555845357 | fdd3610e3bfee8e241553932e9ce00ca087e4359 | Scene custom field backend support | Adds custom field support to scenes, in the backend only. Manually tested and unit tests added. | diff --git a/graphql/schema/types/filters.graphql b/graphql/schema/types/filters.graphql
index a7fecca20d..c08671e139 100644
--- a/graphql/schema/types/filters.graphql
+++ b/graphql/schema/types/filters.graphql
@@ -366,6 +366,8 @@ input SceneFilterType {
markers_filter: SceneMarkerFilterType
"Filter by related fi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The error message in pkg/scene/import.go should say \"scene\" instead of \"tag\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
stashapp__stash__6622 | stashapp/stash | 6,622 | defect | c874bd560e24692d11585aff3b1397b09e8d1a4c | d006cbcf79ebd5661099d436a3f4eaa21a20ddf7 | Fix stale browser-cached thumbnails after file content changes during scan. | ### Problem
When a file's content changes (e.g. renaming files within a gallery zip), the scan handler updates fingerprints but never bumps the entity's `updated_at` timestamp. Since thumbnail URLs use `updated_at` as a cache buster and are served with
`immutable`/1-year cache headers, browsers indefinitely serve t... | diff --git a/pkg/gallery/scan.go b/pkg/gallery/scan.go
index 2064355cdd..b3e5d2c3ca 100644
--- a/pkg/gallery/scan.go
+++ b/pkg/gallery/scan.go
@@ -135,13 +135,14 @@ func (h *ScanHandler) associateExisting(ctx context.Context, existing []*models.
if err := h.CreatorUpdater.AddFileID(ctx, i.ID, f.Base().ID); err != n... | 1 | 1 | 0 | [{"id": "G0", "claim": "The hand-rolled mockGalleryScanCU/noopTxnManager/withTxnCtx helpers in the scan tests duplicate existing infrastructure and should use mocks.Database from pkg/models/mocks/database.go to reduce duplication, across all the tests.", "category": "maintainability", "verdict": "supported", "priority"... | null |
stashapp__stash__6635 | stashapp/stash | 6,635 | defect | 52bd9392fbb5ea4a5307de0c06363ffef0f583fb | 7998ae85fff951591a9bee6278f3e45d948778f5 | Fix new panic in IsFsPathCaseSensitive: Use filepath operations to check for file system case sensitivity | If the path leading to the last component has any multi-byte chars then `IsFsPathCaseSensitive` panics.
Replacing `string` functions with `filepath` functions to address mismatch of indexes. | diff --git a/pkg/fsutil/fs.go b/pkg/fsutil/fs.go
index 10666bb637..cee3074dc8 100644
--- a/pkg/fsutil/fs.go
+++ b/pkg/fsutil/fs.go
@@ -5,7 +5,6 @@ import (
"fmt"
"os"
"path/filepath"
- "strings"
"unicode"
)
@@ -27,18 +26,10 @@ func IsFsPathCaseSensitive(path string) (bool, error) {
if err != nil { // canno... | 2 | 2 | 1 | [{"id": "G0", "claim": "The string conversion applied to flippedPath is redundant because filepath.Join already returns a string, so os.Stat should be called on it directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test in pkg/fsutil/f... | null |
stashapp__stash__6682 | stashapp/stash | 6,682 | defect | b8bd8953f7ac2f790785b6e794a9b357c6594d82 | 1b9361e658b71a207f4683984335604c9676af4a | Convert career length fields to dates | Resolves #6667
Includes schema migration to convert career start/end to dates with year precision.
Verified that scraping works as expected with existing performer scrapers. | diff --git a/graphql/schema/types/filters.graphql b/graphql/schema/types/filters.graphql
index 323fb87418..dc881dea3e 100644
--- a/graphql/schema/types/filters.graphql
+++ b/graphql/schema/types/filters.graphql
@@ -157,10 +157,10 @@ input PerformerFilterType {
"Deprecated: use career_start and career_end. This filte... | 6 | 5 | 4 | [{"id": "G0", "claim": "A scraper that returns only one of CareerStart/CareerEnd makes postprocessing dereference a nil parsed date unconditionally, so scraping terminates with a nil pointer dereference.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim":... | null |
statechannels__go-nitro__1011 | statechannels/go-nitro | 1,011 | defect | 942ef1142bd25792b9b591ae59d83df33475f195 | 7bf4d63abbe5281ec6147b9e944e129f14af1e1e | Extend directfund test to cover ERC20 tokens | Changes:
* simulated backend distributed tokens to all accounts when it is setup
* the directfund test is repeated for native and then erc20 tokens.
* we do not yet currently support mixing of assets, this test just shows things work if we choose an asset and stick with it.
Towards https://github.com/statecha... | diff --git a/client/engine/chainservice/simulated_backend_chainservice.go b/client/engine/chainservice/simulated_backend_chainservice.go
index f39e8e297..e1ddb47a5 100644
--- a/client/engine/chainservice/simulated_backend_chainservice.go
+++ b/client/engine/chainservice/simulated_backend_chainservice.go
@@ -25,7 +25,7 ... | 4 | 1 | 0 | [{"id": "G0", "claim": "The Bindings type is accepted by the exported NewSimulatedBackendChainService, so it should probably be public; the author asks for feedback on this design decision.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The failing test ... | null |
statechannels__go-nitro__1059 | statechannels/go-nitro | 1,059 | defect | b17d9a17d387bf1bbf53bcf8a76cb099d19eaa0a | e9247cd347af51b44d7229ba902bd7c8c4a1ff55 | Introduce API to allow querying for channel info | This adds two key functions to the client API to allow querying channel information:
1. `GetPaymentChannel(id types.Destination) (PaymentChannelInfo, error)`
2. `GetLedgerChannel(id types.Destination) (LedgerChannelInfo, error)`
The `PaymentChannelInfo` and `LedgerChannelInfo` proxies contain information about the... | diff --git a/channel/channel.go b/channel/channel.go
index fe4827cdd..ab51f1913 100644
--- a/channel/channel.go
+++ b/channel/channel.go
@@ -183,6 +183,30 @@ func (c Channel) PostFundComplete() bool {
return c.SignedStateForTurnNum[PostFundTurnNum].HasAllSignatures()
}
+// FinalSignedByMe returns true if the calli... | 4 | 2 | 1 | [{"id": "G0", "claim": "It would be nice if the voucher were written to the store instead of the client having to query the store and voucher manager directly.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error returned by LatestSupportedState is d... | null |
statechannels__go-nitro__1120 | statechannels/go-nitro | 1,120 | defect | f8d673fdfcadfc23f3937a59588462811316332e | d31553177acba50693d458da9a3ef2774af30c29 | RPC Notifications | Fixes https://github.com/statechannels/go-nitro/issues/1108
This PR introduces the Notify/Subscribe functionality to the Connection interface (and also renames old Subscribe to Respond). The new functionality is wired up for the rpc server objective completed notifications to the client. The rpc test is converted to... | diff --git a/client_test/rpc_test.go b/client_test/rpc_test.go
index cd5b9e9d3..355e74140 100644
--- a/client_test/rpc_test.go
+++ b/client_test/rpc_test.go
@@ -8,6 +8,7 @@ import (
"github.com/statechannels/go-nitro/client/engine/chainservice"
p2pms "github.com/statechannels/go-nitro/client/engine/messageservice/p... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment on Subscribe should say \"respond\" instead of the misspelled \"repond\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "waitForObjectiveCompletion could be a method on RpcClient rather than a free test helper f... | null |
statechannels__go-nitro__1125 | statechannels/go-nitro | 1,125 | defect | 09e756f28281510e35c2f9bdad51a20e401ffe98 | ab37c1bda85d0b11d1fa9f6d5ce015c7429db9d2 | Fix rpc test race condition | We are seeing timeouts in github ci such as https://github.com/statechannels/go-nitro/actions/runs/4146194983/jobs/7171543355 As is, it's hard to tell which test is causing the timeout. The hope is that using the go test timeout flag will give more debug information.
Follow up: the timeouts are caused by an rpc test... | diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 53b1835ac..e01e69292 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -31,8 +31,7 @@ jobs:
run: go build -v ./...
- name: Test
- timeout-minutes: 1
- run: go test ./... -count=2 -shuffle=on
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new panic on an unexpected objective completion notification in WaitForObjectiveCompletion is questionable — the function should perhaps not panic there.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
statechannels__go-nitro__1159 | statechannels/go-nitro | 1,159 | defect | e3e69caeaa55060ebd28c1dc29cb94bd13434449 | fc59a62e474d8ca473191e9802e88ac22f9eb00f | Add request validation to jsonrpc server | This PR adds sanity checks to jsonrpc requests. The checks are:
- Is the jsonrpc version 2.0?
- Is the method a string?
- Is the id an integer?
Note that [jsonrpc spec](https://www.jsonrpc.org/specification) allows for string ids. Our jsonrpcs interface is more restrictive for clarity of code. We can implement st... | diff --git a/rpc/error.go b/rpc/error.go
index cd409e540..c653c65a4 100644
--- a/rpc/error.go
+++ b/rpc/error.go
@@ -3,6 +3,7 @@ package rpc
import "github.com/statechannels/go-nitro/rpc/serde"
var parseError = serde.JsonRpcError{Code: -32700, Message: "Parse error"}
+var invalidRequestError = serde.JsonRpcError{Co... | 3 | 3 | 0 | [{"id": "G0", "claim": "Add a link to issue #1160 next to the comment explaining the numbers-only id restriction.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "validateRequest repeats the type work already done by assertType (asserting request[\"... | null |
statechannels__go-nitro__1164 | statechannels/go-nitro | 1,164 | defect | 185187b2c4b903eae05a62e330acb35e0b8af905 | b5be9d6da67342875cc5de9790c77217c20d4fa1 | Implement a store for vouchers | Fix #822.
This PR introduce a new interface `payments.VoucherStore`. The `VoucherManager` now uses the `VoucherStore` to store and fetch vouchers, instead of using a `safesync.Map`. I've defined `VoucherStore` in payments to avoid an import cycle if I were to declare it in the `store` package.
Both the `MemStore`... | diff --git a/client/client.go b/client/client.go
index 3a4704a501..d3947bbd37 100644
--- a/client/client.go
+++ b/client/client.go
@@ -47,7 +47,7 @@ func New(messageService messageservice.MessageService, chainservice chainservice
}
c.chainId = chainId
c.store = store
- c.vm = payments.NewVoucherManager(*store.Get... | 2 | 2 | 0 | [{"id": "G0", "claim": "The VoucherInfo struct contains redundant info (Remaining/Paid duplicating StartingBalance and the largest voucher) that could be instantiated with self-contradictory state, and the reviewer proposes computing Remaining and Paid via methods instead of stored fields.", "category": "design", "verd... | null |
statechannels__go-nitro__1170 | statechannels/go-nitro | 1,170 | defect | 185187b2c4b903eae05a62e330acb35e0b8af905 | 9e3f859b7da0a784fa90509b198c8e5281213b7f | Use a `safesync.Map` of "broadcast chans" to emit "objective completed" events | Please see detailed commit messages and accompanying ADR. The first commit is the real meat of the change. The rest is mostly followup / cleanup.
Closes #1114.
Replaces #1131 .
TODO
---
- [x] Add an ADR explaining this some more.
- [x] Consider pulling the code out of `engine` and into `client` | diff --git a/client/client.go b/client/client.go
index 3a4704a501..15c28c9f39 100644
--- a/client/client.go
+++ b/client/client.go
@@ -25,7 +25,7 @@ import (
type Client struct {
engine engine.Engine // The core business logic of the client
Address *types.Address
- completedObjectives chan... | 3 | 2 | 0 | [{"id": "G0", "claim": "The completedObjectives map guarded by a single mutex could be replaced with a sync.Map, since one mutex protecting `c` may cause lock contention that makes the run loop block frequently.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", ... | null |
statechannels__go-nitro__1174 | statechannels/go-nitro | 1,174 | defect | 4bff4d47bc79982311bb20b672e97ea898c24517 | ccd5b0ead784dee8a80066ec7434bac5223089ea | Unit tests clean up goroutines | The goal of this PR is for every unit test to not leave any orphaned goroutines. An orphaned goroutine is defined as a goroutine that is waiting on a signal that will never come. Note that this PR does **not** attempt to block a unit test until all goroutines started by the unit test exit. Some goroutines spun up by a ... | diff --git a/client/client.go b/client/client.go
index d3947bbd37..7334d4db8a 100644
--- a/client/client.go
+++ b/client/client.go
@@ -188,9 +188,9 @@ func (c *Client) GetLedgerChannel(id types.Destination) (query.LedgerChannelInfo
// Close stops the client from responding to any input.
func (c *Client) Close() err... | 8 | 5 | 0 | [{"id": "G0", "claim": "It might be nice to document why Engine.Close() closes things in the particular order it does.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The defaultTimeout constant, raised from 10s to 1000s for debugging under a 'TODO... | null |
statechannels__go-nitro__1186 | statechannels/go-nitro | 1,186 | defect | 725a4bde1380c775c980b1295b1f70f599a7c313 | ca495aa7a495f6edfdc00fc44e2770677132a9fe | Seed go nitro random numbers using current time | https://gobyexample.com/random-numbers: "The default number generator is deterministic, so it’ll produce the same sequence of numbers each time by default. To produce varying sequences, give it a seed that changes." | diff --git a/client/client.go b/client/client.go
index fbc82c923..0c1058ced 100644
--- a/client/client.go
+++ b/client/client.go
@@ -4,7 +4,6 @@ package client // import "github.com/statechannels/go-nitro/client"
import (
"io"
"math/big"
- "math/rand"
"github.com/statechannels/go-nitro/channel/state/outcome"
... | 3 | 3 | 0 | [{"id": "G0", "claim": "Expose a Uint64() function on the rand package instead of exporting GetRandGenerator, since that is all we use.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a small comment explaining that the default number generator is det... | null |
statechannels__go-nitro__1194 | statechannels/go-nitro | 1,194 | defect | 70993af7eb10aa962987356f1c461b47b172519f | feb4d5c696e9c81abd6691804a2c1f75304ff809 | Stop generating ecdsa.PrivKey in P2P Message Service | Previously we were generating a ECDSA private key for the p2p message service by hashing our private key and then using it a seed for a random source when calling `GenerateECDSAKeyPair`. This private key used to derive the Id of the message service. This was awkward and made it difficult to precompute the IDs of messa... | diff --git a/client/engine/messageservice/p2p-message-service/service.go b/client/engine/messageservice/p2p-message-service/service.go
index 71fabc7b4..f4b2f34a5 100644
--- a/client/engine/messageservice/p2p-message-service/service.go
+++ b/client/engine/messageservice/p2p-message-service/service.go
@@ -3,12 +3,9 @@ pa... | 5 | 3 | 0 | [{"id": "G0", "claim": "Questions why the messaging service needs an ecdsa private key when it is only used to generate an ID, and asks whether the PR should take the opportunity to remove the use of ecdsa private keys from the codebase.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_ex... | null |
statechannels__go-nitro__1207 | statechannels/go-nitro | 1,207 | defect | b73aa9aac6d26a79e96a11a8dcfe0da0c1134e5c | 2ccbe59a904d8525665bd7f1984f7e66c4655e89 | use mdns to discover peers in the p2p message service | This updates the P2P message service to to handle peer discovery instead of relying on `AddPeers` to be manually called. This is done using [mdns](https://docs.libp2p.io/concepts/discovery-routing/mdns/) which allows for peers to discover each other on a **local network**.
While `mdns` alerts us to new peers, it doe... | diff --git a/client/engine/messageservice/p2p-message-service/peer.go b/client/engine/messageservice/p2p-message-service/peer.go
deleted file mode 100644
index 327acce41f..0000000000
--- a/client/engine/messageservice/p2p-message-service/peer.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package p2pms
-
-import (
- "github.com/li... | 8 | 2 | 1 | [{"id": "G0", "claim": "The Port and IpAddress fields on PeerInfo are only there for backwards compatibility with the old testground test and can be removed once go-nitro-testground#161 is merged.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": ... | null |
statechannels__go-nitro__1236 | statechannels/go-nitro | 1,236 | defect | c385fed4409e9cb171ca8789c251609bb2e5c7c0 | f9def947bff6e1d1bffcef6139aa4edbaa3c2e4d | add rpc service usage instructions | PR adds documentation on requirements for running `main.go`. | diff --git a/readme.md b/readme.md
index ddf59b13d..64cdc7eb9 100644
--- a/readme.md
+++ b/readme.md
@@ -5,10 +5,23 @@ go-nitro
<p align="center">Implementation of the <a href="https://docs.statechannels.org">Nitro State Channels Framework</a> in Golang and Solidity.</p>
-
## Usage
-Go-nitro is work-in-progress... | 1 | 1 | 0 | [{"id": "G0", "claim": "The readme's run instructions should clarify how `go run ./...` differs from `go run .`, point to where the accepted arguments are documented (`go run . -help`), and also show the `go build` way of running go-nitro.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope"... | null |
statechannels__go-nitro__1267 | statechannels/go-nitro | 1,267 | defect | afc2716580eddff753908275b3673e637f9d1a8c | 58677802c0cc1d2f903a91da4dd8cb98840f5553 | Remove contract deployment from the RPC server | **Note:** This is based on #1266
~**Note:** Since this gets rid `chainutils.DeployAdjudicator` the testground test will fail until this [testground PR](https://github.com/statechannels/go-nitro-testground/pull/164) is merged in.~ GK: I have merged that PR
Instead of the RPC server trying to handle deploying contra... | diff --git a/client/engine/chainservice/create2deployer/Create2Deployer.go b/client/engine/chainservice/create2deployer/Create2Deployer.go
deleted file mode 100644
index 4b7a2a402..000000000
--- a/client/engine/chainservice/create2deployer/Create2Deployer.go
+++ /dev/null
@@ -1,285 +0,0 @@
-// Code generated - DO NOT E... | 3 | 2 | 1 | [{"id": "G0", "claim": "The hardcoded default for the -naaddress flag may no longer make sense now that contract deployment was removed from the RPC server, so it should be documented like the neighbouring flag (or the flag made required / panic when absent).", "category": "correctness", "verdict": "supported", "priori... | null |
statechannels__go-nitro__1268 | statechannels/go-nitro | 1,268 | defect | 4fde87eab50a5c03faa0f2b91bcb1cf0a6eb0b6c | 5844575db6fd0ff938e1e5f4c9ae197e7bccea78 | Add more query functions to the API | Adds two new query functions to the API and RPC API:
- `GetAllLedgerChannels` : Returns a `query.LedgerChannelInfo` for each ledger channel in the store. We check both the store's `consensuschannels`s as well as the store's `channels`.
- `GetPaymentChannelsByLedger` Returns all payment channels that are being activel... | diff --git a/client/engine/store/durablestore.go b/client/engine/store/durablestore.go
index e32fd031e..e15449f15 100644
--- a/client/engine/store/durablestore.go
+++ b/client/engine/store/durablestore.go
@@ -266,6 +266,29 @@ func (ds *DurableStore) getChannelById(id types.Destination) (channel.Channel, e
return ch, ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The GetChannelsByAppDefinition doc comment wrongly says it returns channels that include the given participant, when the function matches the given app definition.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `return ... | null |
statechannels__go-nitro__1271 | statechannels/go-nitro | 1,271 | defect | f784b9a875e79b1bb1ee106e70acf69d24975a6e | 1d74fa6479512648ebbf3973d8e60cea5d50964f | Remove channel info status dependency on objectives | Due to ADR 0009 we were checking for the status of a `virtualfund` objective to determine is a channel was `Ready` or `Proposed`. However this becomes awkward when you want to construct `PaymentChannelnfo` for a collection of `channel.Channel`s. You have to fetch an objective for each channel (or introduce a store fun... | diff --git a/channel/channel.go b/channel/channel.go
index bd2800ab9f..cf16a63a6e 100644
--- a/channel/channel.go
+++ b/channel/channel.go
@@ -182,6 +182,11 @@ func (c Channel) PostFundComplete() bool {
return c.SignedStateForTurnNum[PostFundTurnNum].HasAllSignatures()
}
+// PostFundSignedBy returns true if the pa... | 4 | 2 | 0 | [{"id": "G0", "claim": "The PostFundSignedBy method added to Channel was never used and is dead code that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reporting a different status 'magically' for intermediaries, when the und... | null |
statechannels__go-nitro__1315 | statechannels/go-nitro | 1,315 | defect | 3d12ac1244311a744995545aedee01d72d7d643e | 3cb69815a77fe6daac09ac1d02bedb7c4d6b882e | Expand rpc_test to include 0, 1, and 2 hop virtual funding | PR replaces `executeRpcTest` with `executeNRpcTest`, and calls it with 2, 3 and 4 clients.
Recommending to read the new function top-to-bottom (diff w/ removed function hard to parse). | diff --git a/client/engine/engine.go b/client/engine/engine.go
index c20dd5d23..81e344f68 100644
--- a/client/engine/engine.go
+++ b/client/engine/engine.go
@@ -434,7 +434,7 @@ func (e *Engine) handleObjectiveRequest(or protocols.ObjectiveRequest) (EngineEv
case virtualfund.ObjectiveRequest:
vfo, err := virtualfun... | 6 | 5 | 0 | [{"id": "G0", "claim": "Use strconv.Itoa instead of fmt.Sprintf when building the actors' private key seed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test would be more robust (and maybe more realistic) if all ledger channel requests we... | null |
statechannels__go-nitro__1380 | statechannels/go-nitro | 1,380 | defect | 217e0b49f03a72b4e37884b1bf6b62b12632c08d | 5ec7d46213d97cf631badd773d82bab3fcf9dfe6 | Gracefully handle errors within node engine (instead of panic) | Resolves https://github.com/statechannels/go-nitro/issues/1275
* First commit resolves https://github.com/statechannels/go-nitro/issues/1257
* Second commit resolves https://github.com/statechannels/go-nitro/issues/1263
Instead of the node engine panicking, errors are logged and are returned on the `toApi` chan ... | diff --git a/node/engine/engine.go b/node/engine/engine.go
index 39ff8b9ea..94908d706 100644
--- a/node/engine/engine.go
+++ b/node/engine/engine.go
@@ -47,9 +47,6 @@ func (e *ErrGetObjective) Error() string {
return fmt.Sprintf("unexpected error getting/creating objective %s: %v", e.objectiveId, e.wrappedError)
}
... | 3 | 3 | 1 | [{"id": "G0", "claim": "checkError should distinguish a class of irrecoverable errors for which the engine should panic from a class of non-fatal errors the node can continue operating after, instead of the PR's blanket panic on every error.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in... | null |
statechannels__go-nitro__1381 | statechannels/go-nitro | 1,381 | defect | 217e0b49f03a72b4e37884b1bf6b62b12632c08d | 319808830d5dbf414a7a3a42835db880d2adc607 | Refactor rpc server start into infra.go | For dockerized go-nitro, we'll write a coordinator that starts 3 go-nitro rpc servers and open a virtual channel between 2 nodes. At the moment, we have 2 ways to start a nitro rpc server:
1. [go-nitro in node_test](https://github.com/statechannels/go-nitro/blob/217e0b49f03a72b4e37884b1bf6b62b12632c08d/node_test/rpc_t... | diff --git a/internal/infra/infra.go b/internal/infra/infra.go
new file mode 100644
index 000000000..6934941f5
--- /dev/null
+++ b/internal/infra/infra.go
@@ -0,0 +1,86 @@
+package infra
+
+import (
+ "fmt"
+ "os"
+
+ "github.com/rs/zerolog"
+ "github.com/statechannels/go-nitro/crypto"
+ "github.com/statechannels/go-ni... | 1 | 1 | 1 | [{"id": "G0", "claim": "Constructing the chain service inside InitializeRpcServer, rather than passing it in, would bring more harmony, since the store and the message service are already constructed inside that function.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
statechannels__go-nitro__1384 | statechannels/go-nitro | 1,384 | defect | 2660b3aba9cb60e051b7cb0490ea0c65cf78ea30 | 46db7cc03d700cbe30f9a54e75524449f2107c2c | Script to start servers and open channels | This PR adds the `internal/nitro-network` package with the `InitializeNitroNetwork()` function. This package spins up 3 nitro rpc servers and creates 2 ledger channels and a virtual channel between those servers. This is used on startup of the go-nitro docker container.
With this work, demos of go-nitro no longer re... | diff --git a/.dockerignore b/.dockerignore
index 9a4b40589..edb871bd0 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1 +1,2 @@
docker/Dockerfile
+data
\ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 816c3a7b3..45e754cd7 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.... | 6 | 4 | 1 | [{"id": "G0", "claim": "StartAnvil's error handling is confusing and unconventional: on failure it returns a non-nil chainCmd together with the error, and it guards the startup delay with `if err == nil` instead of checking `err != nil` and returning early.", "category": "correctness", "verdict": "supported", "priority... | null |
statechannels__go-nitro__1385 | statechannels/go-nitro | 1,385 | defect | 8f5f317a9d0a195c166ca295be8ac9613cf63e19 | a166e91f448aec5a7203564e576ea04637b6fef1 | Allow for manual voucher exchange | Based on this [comment](https://github.com/statechannels/go-nitro/pull/1370#discussion_r1244528266) I took a stab at avoiding the engine to create and receive vouchers. Instead the go-nitro node directly calls into the voucher manger to add or create vouchers.
I've created #1389 as tech debt to consider this approac... | diff --git a/node/node.go b/node/node.go
index 7e059e599..1817f5b16 100644
--- a/node/node.go
+++ b/node/node.go
@@ -196,6 +196,18 @@ func (c *Node) ReceivedVouchers() <-chan payments.Voucher {
return c.receivedVouchers
}
+// CreateVoucher creates a voucher for the given channelId and amount and returns it.
+// It... | 2 | 2 | 0 | [{"id": "G0", "claim": "The uint64 used for convenience should probably be a big.Int.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CreateVoucher doc should clarify that the amount increments the redeemable balance rather than being a running t... | null |
statechannels__go-nitro__1387 | statechannels/go-nitro | 1,387 | defect | 217e0b49f03a72b4e37884b1bf6b62b12632c08d | 295cd911d1b81b1e8ff02a0786d6de8c23e86c28 | Refactor LedgerChannelInfo struct | PR:
- replaces hub/client references with me/them
- adds a little "address plumbing" in the engine to allow construction of me/them from a naked outcome (eg: p0, p1, where "I" might be either of them)
- does follow-on test data fixes
Commit history is meandering. Raw diff easier to read / review. Two small non-lo... | diff --git a/internal/testdata/states.go b/internal/testdata/states.go
index bc12b3ee1..4c62009cc 100644
--- a/internal/testdata/states.go
+++ b/internal/testdata/states.go
@@ -71,13 +71,13 @@ var testState = state.State{
IsFinal: false,
}
-func createLedgerState(client, hub types.Address, clientBalance,... | 3 | 2 | 1 | [{"id": "G0", "claim": "getLedgerBalanceFromState could return an error if myAddress isn't among the participants (instead of silently mislabeling balances).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "createLedgerInfo swallows the errors from To... | null |
statechannels__go-nitro__1390 | statechannels/go-nitro | 1,390 | defect | 48989ab1e231a607e6514c848dc11a482b69508c | 75a5d98fd4b099cafa322eb9543a9bead6c7e712 | Return the amount added by a voucher | Previously when receiving a voucher, our voucher manager/API just returns the total payment made on the channel (aka the largest voucher we've received). However that doesn't let us know the change in balance due to the voucher, meaning we don't know how much the voucher was "worth". If we want to know that we have t... | diff --git a/node/engine/engine.go b/node/engine/engine.go
index 8ae22f670b..53f09d62d1 100644
--- a/node/engine/engine.go
+++ b/node/engine/engine.go
@@ -382,7 +382,7 @@ func (e *Engine) handleMessage(message protocols.Message) (EngineEvent, error) {
for _, voucher := range message.Payments {
// TODO: return th... | 4 | 2 | 0 | [{"id": "G0", "claim": "The names `total` and `fromVoucher` for the new ReceiveVoucher/Receive return values may not be the best terms (geoknee suggests `delta` instead), and their meaning should be explained in the godoc.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}... | null |
statechannels__go-nitro__1403 | statechannels/go-nitro | 1,403 | defect | 806deef17e090790dc347edb0b3ac33b6f1354a9 | e44dc500baee219c7e9c9afa81384b1619409cd1 | Serialize signature to hex string | This updates our `crypto.Signature` to serialize out to a hex string when being marshalled to JSON. This means that our API functions will now serve a hex signature which can be easier to deal with and simpler to understand for consumers.
| diff --git a/channel/consensus_channel/consensus_channel.go b/channel/consensus_channel/consensus_channel.go
index f0cf652a58..534b8feb12 100644
--- a/channel/consensus_channel/consensus_channel.go
+++ b/channel/consensus_channel/consensus_channel.go
@@ -639,9 +639,9 @@ func (p *Proposal) Target() types.Destination {
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The joinSignature godoc is misleading: it says the function returns a \"zero string\" in some cases, but geoknee questions when that happens and whether it is desired behaviour, and in a follow-up nit that \"zero string\" is ambiguous ('' vs a 65 byte slice of zeros).", "category": "documentatio... | null |
statechannels__go-nitro__1406 | statechannels/go-nitro | 1,406 | defect | 3429497ca57ed630fb13d919151348116d7d193c | 85199d0c0e6e91149bb3d25bd3dcd1ec74e834a4 | Client handle errors | Prior to this PR the rpc client methods only return method-specific payloads (aka the result field of a jsonrpc response) so the error object of the jsonrpc response is lost even when its created by the node/server
This PR updates the rpc client methods so that they return an `error` object in addition to the result... | diff --git a/node/node.go b/node/node.go
index 7e5f64e62..b554eb0f9 100644
--- a/node/node.go
+++ b/node/node.go
@@ -3,6 +3,7 @@ package node // import "github.com/statechannels/go-nitro/node"
import (
"context"
+ "fmt"
"io"
"math/big"
"runtime/debug"
@@ -249,6 +250,17 @@ func (n *Node) CreateLedgerChannel(C... | 7 | 5 | 2 | [{"id": "G0", "claim": "The rpc server does not recognize the ErrLedgerChannelExists error and defaults to a generic InternalServerError that drops the error message, so a transformation step should be added that preserves the message while returning an appropriate JSON-RPC error code to the client.", "category": "desi... | null |
statechannels__go-nitro__1408 | statechannels/go-nitro | 1,408 | defect | 8c3578087e9c5fcb9110beb48dbce814d9df9f7c | 0b9c0802d5186678f437d0cc9ec82c2564afc2e7 | Refactor channel create script to use RPC clients | This PR refactors the create channel script so that the script does not leverage go-nitro internal. The script is used in the entrypoint for go-nitro docker container.
The PR also cleans up functions defined in internal package:
- functions that are only used by a single package are moved to that package.
- copy p... | diff --git a/.dockerignore b/.dockerignore
index edb871bd0..dd4cc3289 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,2 +1,4 @@
docker/Dockerfile
+
+artifacts
data
\ No newline at end of file
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 11a583688..3fc8feeba 100644
--- a/docker/entrypoint.sh
+++... | 6 | 6 | 0 | [{"id": "G0", "claim": "The container's entrypoint should support configuration via parameters (for example env vars) so the dockerized nitro can be pointed at an external/local filecoin devnet chain.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "script... | null |
statechannels__go-nitro__1413 | statechannels/go-nitro | 1,413 | defect | fef1d1826009d329ec22165e83a70ee0ff8ec996 | 02c2c522c12f0e8536943cb2f5411f7ce647ba92 | Log to a log file instead of stdout for rpc tests | When tests are run via github actions, stdout is polluted to the point where it is difficult to diagnose what test fails. This PR shifts the log lines to an artifact log file. | diff --git a/internal/rpc/rpc.go b/internal/rpc/rpc.go
index 81cae0544..6546445cc 100644
--- a/internal/rpc/rpc.go
+++ b/internal/rpc/rpc.go
@@ -37,7 +37,7 @@ func InitChainServiceAndRunRpcServer(pkString string, chainOpts chain.ChainOpts,
if useNats {
transportType = transport.Nats
}
- rpcServer, node, messageS... | 2 | 1 | 0 | [{"id": "G0", "claim": "In checkNotifications, the timeout failure should use the already-built failMsg via t.Fatalf(failMsg) instead of repeating the same format string and arguments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Having the en... | null |
statechannels__go-nitro__1422 | statechannels/go-nitro | 1,422 | defect | 280d0225a9d817e479253b28f649352930c35348 | 8d7a7c11e6b3e46a2861d0415511995cdfa6bdee | Allow store data folder to be specified as a CLI arg | This updates go-nitro to accept a `durablestorefolder` that it will use for the durable store. Our scripting has been updated to take advantage of that by using a random temp folder for the store and ensuring it gets removed when the script is stopped. | diff --git a/scripts/start-rpc-servers.go b/scripts/start-rpc-servers.go
index a5b4dc46d..5901eb599 100644
--- a/scripts/start-rpc-servers.go
+++ b/scripts/start-rpc-servers.go
@@ -102,6 +102,13 @@ func main() {
running = append(running, anvilCmd)
}
+ dataFolder := "./data/nitro-service"
+ fmt.Printf("Re... | 1 | 1 | 0 | [{"id": "G0", "claim": "The durable store data folder ought to be a parameter that can be passed in, so the start-rpc-servers script can coordinate the cleanup in a safer, less magic way.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
statechannels__go-nitro__1451 | statechannels/go-nitro | 1,451 | defect | d00a2f91b04420b4dd8167ff6b09003121b1151f | 7f8562ad93dcce041082c8540d4c208e99cd6de6 | Fix: initialize rpc websocket logger | The logger for websocket rpc transport is never initialized. This PR fixes this issues as well as removes the unused `NewHttpRpcClient` function. | diff --git a/node_test/rpc_test.go b/node_test/rpc_test.go
index da1dfab167..d8a1815d24 100644
--- a/node_test/rpc_test.go
+++ b/node_test/rpc_test.go
@@ -398,6 +398,8 @@ func setupNitroNodeWithRPCClient(
t.Fatal(err)
}
+ clientLogger := createLogger(logDestination, rpcServer.Address().Hex(), "client")
+
var c... | 1 | 1 | 1 | [{"id": "G0", "claim": "Keep the NewHttpRpcClient constructor instead of removing it, since the boost integration uses it and having one constructor that does everything is preferable to manually constructing the transport.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
statechannels__go-nitro__1461 | statechannels/go-nitro | 1,461 | defect | 694b267d74f6cbbf96f1e1cb2261db4c366ece8e | e2c5d103f8117ea7052cb6a25d66088d816550f1 | Use a distinct `guiPort` | Following today's standup discussion, this was felt to be a reasonable compromise. One more port, but quite a lot of code saved and no need to use a global variable.
Stacked on #1459 | diff --git a/embed-ui.go b/embed-ui.go
index 90fbecbb9..41b07ae51 100644
--- a/embed-ui.go
+++ b/embed-ui.go
@@ -24,23 +24,7 @@ func hostNitroUI(port uint) {
serverAddress := fmt.Sprintf(":%d", port)
url := fmt.Sprintf("http://localhost:%d/", port)
- // If we're using the WS transport it will already be running a... | 1 | 1 | 0 | [{"id": "G0", "claim": "If the inline flag Category strings are actually used, extract them into constants; if they are not used, scrub them (replace with empty string or a const).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
statechannels__go-nitro__1462 | statechannels/go-nitro | 1,462 | defect | e22dd5210240c22a6fdfa6f72f904a80b766536a | 0f8179bf13d4d5ae3421e575e47f63f8d099ff27 | Kademlia-dht peer discovery | ## Motivation
Add a peer discovery mechanism suitable for production setting.
## Justification
`go-libp2p` is trusted by [many notable projects](https://github.com/libp2p/go-libp2p#notable-users), and specifically for peer discovery by IPFS, Lotus (filecoin node), Polkadot, and others. Ethereum 2.0 uses a custom d... | diff --git a/channel/consensus_channel/consensus_channel_test.go b/channel/consensus_channel/consensus_channel_test.go
index df5edca6f..a3aa7bb42 100644
--- a/channel/consensus_channel/consensus_channel_test.go
+++ b/channel/consensus_channel/consensus_channel_test.go
@@ -178,8 +178,8 @@ func TestConsensusChannel(t *te... | 9 | 7 | 3 | [{"id": "G0", "claim": "The bootpeers flag usage text should say that the value is a comma-delimited list of multiaddrs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stale internal/utils/utils.go and internal/nitro-network/main.go files that... | null |
statechannels__go-nitro__1515 | statechannels/go-nitro | 1,515 | defect | d0e28d62468f48110da2c9156c71679966d4b260 | 1083f32caea090aabbb67f68db3e74e6f7b83580 | Refine dht peer discovery | Makes the following changes:
1. Remove timestamp check from dht custom Validate
2. Add check in dht custom Validate to compare record key to `SCAddr` in record value
3. Remove `sendPeerInfo` message exchange when using dht. Instead pull that info directly from dht | diff --git a/cmd/test-configs/alice.toml b/cmd/test-configs/alice.toml
index a5514a277..790699f56 100644
--- a/cmd/test-configs/alice.toml
+++ b/cmd/test-configs/alice.toml
@@ -6,7 +6,10 @@ msgport = 3005
rpcport = 4005
guiport = 5005
+# PeerID: 16Uiu2HAmSjXJqsyBJgcBUU2HQmykxGseafSatbpq5471XmuaUqyv
+# SCAddr: 0xAAA... | 5 | 5 | 0 | [{"id": "G0", "claim": "geoknee suggests closing the InitComplete channel instead of sending a value on it when initialization completes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "geoknee asks whether the init-complete wait should be encapsulated in... | null |
statechannels__go-nitro__1524 | statechannels/go-nitro | 1,524 | defect | 76313f8a9d66992455c9cbe5c6681391ff8965ac | 88c068f93abc00d40bc9e651325344a95a2a1bf9 | Tweak godoc in `directdefund` | Tidying this up in preparation for #1521.
There's an unfortunate similarity between:
* Signing an `isFinal=true` state https://docs.statechannels.org/protocol-tutorial/0010-states-channels/#isfinal and
* A state finalizing on chain. https://docs.statechannels.org/protocol-tutorial/0070-finalizing-a-channel/
Th... | diff --git a/protocols/directdefund/directdefund.go b/protocols/directdefund/directdefund.go
index 7dc7b4bea..629d5e17d 100644
--- a/protocols/directdefund/directdefund.go
+++ b/protocols/directdefund/directdefund.go
@@ -37,10 +37,10 @@ const (
// Objective is a cache of data computed by reading from the store. It s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The trailing comment on the withdrawTransactionSubmitted field should be moved onto its own line above the field so it is visible as godoc at dev time.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
statechannels__go-nitro__1534 | statechannels/go-nitro | 1,534 | defect | a81aab56a14b474dc7f7a87c6c1eda7caadd9674 | be0c0fc4da46e3d625e8e5b86de88e58d49feb9c | Remove mdns peer discovery option from the p2p message service | Fixes #1507
This removes the option of `mdns` from the message service. This helps simplify the p2p message service and also forces us to rely on DHT, which is what we expect to run in production.
| diff --git a/cmd/test-configs/alice.toml b/cmd/test-configs/alice.toml
index 790699f566..2786375d67 100644
--- a/cmd/test-configs/alice.toml
+++ b/cmd/test-configs/alice.toml
@@ -17,4 +17,3 @@ chainauthtoken = ""
# bootpeer = Ivan
bootpeers = "/ip4/127.0.0.1/tcp/3008/p2p/16Uiu2HAm1hgN2MkrhGen8JPrBBYyXACbZtfqJmraN53... | 2 | 2 | 0 | [{"id": "G0", "claim": "Since there is only a single element in the []participant{ivan} slice, the for loop around setupRPCServer could be removed and ivan set up directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Requiring intermediaries ... | null |
statechannels__go-nitro__1540 | statechannels/go-nitro | 1,540 | defect | 9afe2051dab47126bec25b6f5d0faa4c493d0b33 | 34975a06421dc380307f5c7db95a441a3af7fc0c | Allow `Channels` to handle `ChainEvents` without help of `Objectives` | This has the advantage of centralising our logic around chain event handling / block number checks and so on.
It also means that we don't rely on a particular objective being active / approved / to catch information from the chain.
Towards #1531 | diff --git a/channel/channel.go b/channel/channel.go
index bd2800ab9..1d8acac49 100644
--- a/channel/channel.go
+++ b/channel/channel.go
@@ -9,6 +9,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/statechannels/go-nitro/channel/state"
"github.com/statechannels/go-nitro/channel/state/outcome"
+ "... | 3 | 1 | 1 | [{"id": "G0", "claim": "UpdateWithChainEvent should ignore only strictly older events (`<` instead of `<=`), so that two chain events fired in the same block are both processed and the check is reorg safe.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
statechannels__go-nitro__1581 | statechannels/go-nitro | 1,581 | defect | 6f42857d1346a13aeb7ff1cc5a72edff3884e194 | 0a35258c1f092f0668aa1c712b220c792e97d51e | Store lastBlockSeen value | This is a precursor to adding initialization logic to the `chainservice` to allow it to process events from blocks since the node last started. Currently, our node always assumes we are starting for the first time, therefore it doesn't look back in time to see if it's missed anything.
This PR makes the following cha... | diff --git a/node/engine/engine.go b/node/engine/engine.go
index d662885e1..96e47a5a8 100644
--- a/node/engine/engine.go
+++ b/node/engine/engine.go
@@ -189,6 +189,8 @@ func (e *Engine) run(ctx context.Context) {
case pr := <-e.PaymentRequestsFromAPI:
res, err = e.handlePaymentRequest(pr)
case chainEvent := <... | 8 | 3 | 1 | [{"id": "G0", "claim": "A whole safesync.Map keyed by a single hardcoded key seems overkill for storing just the last processed block number.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replacing the concurrency-safe map with a plain uint64 makes the ... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.