Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# review automation, hopefully, so we don't have to toggle boxes on every one.

# assign these always as reviewers
* @equilibriumco/starknet
* @software-mansion/pathfinder
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

More expansive patch notes and explanations may be found in the specific [pathfinder release notes](https://github.com/equilibriumco/pathfinder/releases).
More expansive patch notes and explanations may be found in the specific [pathfinder release notes](https://github.com/software-mansion/pathfinder/releases).

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
Expand Down Expand Up @@ -429,7 +429,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
b. The latest L2 block if it is behind the latest L1 checkpoint or no L1 checkpoints have been received by the node (practically unreachable)

- `starknet_getTransactionStatus` now returns RECEIVED even when the gateway cannot find the transaction, provided the transaction was successfully sent by the responding node within the last 5 minutes.
- Pathfinder now allows the users to configure the number of historical messages to be streamed via the [webscoket API](https://equilibriumco.github.io/pathfinder/interacting-with-pathfinder/websocket-api). This can be done using the `--rpc.websocket.max-history` CLI option.
- Pathfinder now allows the users to configure the number of historical messages to be streamed via the [webscoket API](https://docs.swmansion.com/pathfinder/interacting-with-pathfinder/websocket-api). This can be done using the `--rpc.websocket.max-history` CLI option.
- Accepted values are:
- "unlimited" - All historical messages will be streamed.
- "N" - An integer specifying the number of historical messages to be streamed.
Expand Down Expand Up @@ -479,7 +479,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- `starknet_subscribeEvents` subscriptions stop sending notifications.
- Broken aggregate bloom filter migration has been updated to work properly. If you migrated from a database running in archived mode, please [re-download our latest snapshot](https://equilibriumco.github.io/pathfinder/database-snapshots) and re-run the migrations.
- Broken aggregate bloom filter migration has been updated to work properly. If you migrated from a database running in archived mode, please [re-download our latest snapshot](https://docs.swmansion.com/pathfinder/database-snapshots) and re-run the migrations.
- `starknet_getStateUpdate` has `new_root` and `old_root` swapped.

### Changed
Expand Down Expand Up @@ -1268,10 +1268,10 @@ Users should not use this version.

### Removed

- `--config` configuration option (deprecated in [v0.4.1](https://github.com/equilibriumco/pathfinder/releases/tag/v0.4.1))
- `--integration` configuration option (deprecated in [v0.4.1](https://github.com/equilibriumco/pathfinder/releases/tag/v0.4.1))
- `--sequencer-url` configuration option (deprecated in [v0.4.1](https://github.com/equilibriumco/pathfinder/releases/tag/v0.4.1))
- `--testnet2` configuration option (deprecated in [v0.4.1](https://github.com/equilibriumco/pathfinder/releases/tag/v0.4.1))
- `--config` configuration option (deprecated in [v0.4.1](https://github.com/software-mansion/pathfinder/releases/tag/v0.4.1))
- `--integration` configuration option (deprecated in [v0.4.1](https://github.com/software-mansion/pathfinder/releases/tag/v0.4.1))
- `--sequencer-url` configuration option (deprecated in [v0.4.1](https://github.com/software-mansion/pathfinder/releases/tag/v0.4.1))
- `--testnet2` configuration option (deprecated in [v0.4.1](https://github.com/software-mansion/pathfinder/releases/tag/v0.4.1))
- `starknet_addDeployTransaction` as this is no longer an allowed transaction
- RPC api version `0.1`, which used to be served on path `/rpc/v0.1`

Expand Down Expand Up @@ -1352,4 +1352,4 @@ Users should not use this version.

## Ancient History

Older history may be found in the [pathfinder release notes](https://github.com/equilibriumco/pathfinder/releases).
Older history may be found in the [pathfinder release notes](https://github.com/software-mansion/pathfinder/releases).
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ version = "0.24.0"
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.91"
authors = ["Equilibrium Labs <info@equilibrium.co>"]
authors = [
"Equilibrium Labs <info@equilibrium.co>",
"Software Mansion <contact@swmansion.com>",
]

[workspace.dependencies]
anyhow = "1.0.102"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
A [Starknet](https://www.starknet.io) full node giving you a safe view into Starknet.

For detailed instructions on how to install, run and use Pathfinder please check our
[documentation site](https://equilibriumco.github.io/pathfinder/).
[documentation site](https://docs.swmansion.com/pathfinder/).

## License

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If you believe you have found a security vulnerability in Pathfinder, please rep

Please do **not** report security vulnerabilities through public GitHub issues, discussions, or pull requests.

Instead, please send an email to pathfinder@equilibrium.co.
Instead, please [report the vulnerability privately through GitHub](https://github.com/software-mansion/pathfinder/security/advisories/new).

Please include as much of the information listed below as you can to help us better understand and resolve the issue:

Expand Down
2 changes: 1 addition & 1 deletion crates/class-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
description = "Pathfinder's class hash computation and verification"
repository = "https://github.com/equilibriumco/pathfinder"
repository = "https://github.com/software-mansion/pathfinder"
keywords = ["starknet", "ethereum", "web3", "cryptography", "hash"]
categories = [
"cryptography",
Expand Down
2 changes: 1 addition & 1 deletion crates/class-hash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Documentation](https://docs.rs/pathfinder-class-hash/badge.svg)](https://docs.rs/pathfinder-class-hash)
[![Crates.io](https://img.shields.io/crates/v/pathfinder-class-hash)](https://crates.io/crates/pathfinder-class-hash)
[![License](https://img.shields.io/crates/l/pathfinder-class-hash)](https://github.com/equilibriumco/pathfinder/blob/main/LICENSE-MIT)
[![License](https://img.shields.io/crates/l/pathfinder-class-hash)](https://github.com/software-mansion/pathfinder/blob/main/LICENSE-MIT)


This crate provides functionality to compute class hashes for both Cairo 0.x and Sierra (Cairo 1.x+) contracts in the Starknet ecosystem. It implements the official Starknet class hash computation algorithm, handling special cases for different Cairo versions and maintaining compatibility with the network's expectations.
2 changes: 1 addition & 1 deletion crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
description = "Common types and utilities for Pathfinder"
repository = "https://github.com/equilibriumco/pathfinder"
repository = "https://github.com/software-mansion/pathfinder"
keywords = ["starknet", "ethereum", "blockchain", "web3", "types"]
categories = [
"cryptography::cryptocurrencies",
Expand Down
1 change: 1 addition & 0 deletions crates/consensus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "pathfinder-consensus"
description = "Pathfinder Consensus"
repository = "https://github.com/software-mansion/pathfinder"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ impl<
let vote_round = internal_consensus.recover_from_wal(entries);
if let Some(round) = vote_round {
// Schedule rebroadcast timeout.
// See https://github.com/equilibriumco/pathfinder/issues/3286 for motivation.
// See https://github.com/software-mansion/pathfinder/issues/3286 for motivation.
internal_consensus.schedule_rebroadcast(round);
}

Expand Down
2 changes: 1 addition & 1 deletion crates/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
description = "Cryptographic primitives used by Pathfinder"
repository = "https://github.com/equilibriumco/pathfinder"
repository = "https://github.com/software-mansion/pathfinder"
keywords = ["starknet", "cryptography", "pedersen", "poseidon", "ecdsa"]
categories = [
"cryptography",
Expand Down
5 changes: 4 additions & 1 deletion crates/load-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
name = "load-test"
version = "0.1.0"
description = "Load test for pathfinder JSON-RPC endpoints"
authors = ["Equilibrium Labs <info@equilibrium.co>"]
authors = [
"Equilibrium Labs <info@equilibrium.co>",
"Software Mansion <contact@swmansion.com>",
]
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.91"
Expand Down
1 change: 1 addition & 0 deletions crates/p2p_stream/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description = "Extension of libp2p-request-response that allows for streaming re
authors = [
"Parity Technologies <admin@parity.io>",
"Equilibrium Labs <info@equilibrium.co>",
"Software Mansion <contact@swmansion.com>",
]
version = { workspace = true }
edition = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/p2p_stream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This crate is a derivative of Parity Technologies' [`libp2p request/response`](h

<br>

*): [`pathfinder`](https://github.com/equilibriumco/pathfinder) uses this crate with its own [Starknet](https://www.starknet.io/) specific [protocol](https://github.com/starknet-io/starknet-p2p-specs) and decided to drop unnecessary features
*): [`pathfinder`](https://github.com/software-mansion/pathfinder) uses this crate with its own [Starknet](https://www.starknet.io/) specific [protocol](https://github.com/starknet-io/starknet-p2p-specs) and decided to drop unnecessary features

# Acknowledgements

Expand Down
5 changes: 3 additions & 2 deletions crates/pathfinder/src/bin/pathfinder/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ async fn fetch_latest_github_release(
) -> UpdateResult {
use reqwest::{StatusCode, Url};

let url = Url::parse("https://api.github.com/repos/equilibriumco/pathfinder/releases/latest")
.unwrap();
let url =
Url::parse("https://api.github.com/repos/software-mansion/pathfinder/releases/latest")
.unwrap();

let mut request = client.get(url);

Expand Down
4 changes: 2 additions & 2 deletions crates/pathfinder/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ const COMPILER_CPU_TIME_ALLOWED_RANGE: std::ops::RangeInclusive<u64> =

#[derive(Parser)]
#[command(name = "Pathfinder")]
#[command(author = "Equilibrium Labs")]
#[command(author = "Software Mansion")]
#[command(version = pathfinder_version::VERSION)]
#[command(propagate_version = true)]
#[command(
about = "A Starknet node implemented by Equilibrium Labs. Submit bug reports and issues at https://github.com/equilibriumco/pathfinder."
about = "A Starknet node. Submit bug reports and issues at https://github.com/software-mansion/pathfinder."
)]
pub struct Cli {
#[command(subcommand)]
Expand Down
2 changes: 1 addition & 1 deletion crates/pathfinder/src/consensus/consensus_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub fn spawn(
.with_history_depth(config.history_depth)
.with_wal_dir(wal_directory),
// TODO use a dynamic validator set provider, once fetching the validator set from
// the staking contract is implemented. Related issue: https://github.com/equilibriumco/pathfinder/issues/2936
// the staking contract is implemented. Related issue: https://github.com/software-mansion/pathfinder/issues/2936
Arc::new(validator_set_provider.clone()),
proposer_selector,
highest_committed,
Expand Down
2 changes: 1 addition & 1 deletion crates/pathfinder/src/p2p_network/sync/sync_handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ fn get_start_block_number(
/// This function must detach the thread used to run the blocking DB operation
/// otherwise the entire p2p swarm will be blocked.
///
/// Related issue: <https://github.com/equilibriumco/pathfinder/issues/2351>
/// Related issue: <https://github.com/software-mansion/pathfinder/issues/2351>
async fn spawn_blocking_get<Request, Response, Getter>(
request: Request,
storage: Storage,
Expand Down
2 changes: 1 addition & 1 deletion crates/pathfinder/src/state/sync/pending.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ mod tests {
/// lower height than we're already tracking. The polling loop should skip
/// those responses without overwriting the cached view.
///
/// See also <https://github.com/equilibriumco/pathfinder/issues/3081>.
/// See also <https://github.com/software-mansion/pathfinder/issues/3081>.
#[tokio::test]
async fn lower_height_is_skipped() {
static COUNT: std::sync::Mutex<usize> = std::sync::Mutex::new(0);
Expand Down
4 changes: 2 additions & 2 deletions crates/rpc/src/dto/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl SerializeForVersion for pathfinder_common::transaction::ResourceBounds {
serializer.serialize_field("l1_gas", &self.l1_gas)?;
serializer.serialize_field("l2_gas", &self.l2_gas)?;
// `l1_data_gas` is serialized as (0, 0) even if it's not set
// See https://github.com/equilibriumco/pathfinder/issues/2571
// See https://github.com/software-mansion/pathfinder/issues/2571
serializer.serialize_field("l1_data_gas", &self.l1_data_gas.unwrap_or_default())?;
serializer.end()
}
Expand All @@ -246,7 +246,7 @@ impl DeserializeForVersion for pathfinder_common::transaction::ResourceBounds {
l1_gas: value.deserialize("l1_gas")?,
l2_gas: value.deserialize("l2_gas")?,
// `l1_data_gas` is *required*
// See https://github.com/equilibriumco/pathfinder/issues/2571
// See https://github.com/software-mansion/pathfinder/issues/2571
l1_data_gas: Some(value.deserialize("l1_data_gas")?),
})
})
Expand Down
2 changes: 1 addition & 1 deletion crates/serde/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
description = "Starknet-specific serialization utilities for Pathfinder"
repository = "https://github.com/equilibriumco/pathfinder"
repository = "https://github.com/software-mansion/pathfinder"
keywords = ["starknet", "ethereum", "serde", "serialization", "web3"]
categories = [
"encoding",
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/src/schema/revision_0073.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! The purpose if this migration is to repair any database instances that were
//! affected by a combination of a bug introduced in
//! [revision 71](super::revision_0071) and a reorg described in the issue that
//! can be found [here](https://github.com/equilibriumco/pathfinder/issues/2920).
//! can be found [here](https://github.com/software-mansion/pathfinder/issues/2920).
//!
//! The revision also contains a suite of
//! [regression checks](reorg_regression_checks) that will be used to verify
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/src/schema/revision_0074.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! This entire migration should be applied only to Sepolia testnet, as Mainnet
//! is not on v0.14.0 yet.
//!
//! More info [here](https://github.com/equilibriumco/pathfinder/issues/2925).
//! More info [here](https://github.com/software-mansion/pathfinder/issues/2925).

use std::time::Instant;

Expand Down
2 changes: 1 addition & 1 deletion crates/tagged-debug-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
description = "Debug trait derive macro for pathfinder-tagged types"
repository = "https://github.com/equilibriumco/pathfinder"
repository = "https://github.com/software-mansion/pathfinder"
keywords = ["starknet", "derive", "debug", "proc-macro"]
categories = ["development-tools::procedural-macro-helpers"]

Expand Down
2 changes: 1 addition & 1 deletion crates/tagged/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
description = "Type tagging utilities for the Pathfinder Starknet node implementation"
repository = "https://github.com/equilibriumco/pathfinder"
repository = "https://github.com/software-mansion/pathfinder"
keywords = ["starknet", "ethereum", "web3", "type-safety"]
categories = ["development-tools"]

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/database-snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Database snapshots let you quickly start your node without having to download al

## Available Snapshots

Please check our [snapshot download page](https://rpc.pathfinder.equilibrium.co/snapshots/latest) for the list of latest snapshots.
Please check our [snapshot download page](http://rpc.pathfinder.swmansion.com/snapshots/latest) for the list of latest snapshots.

There are two main ways to download and use a snapshot with Pathfinder:

Expand Down Expand Up @@ -51,7 +51,7 @@ Add `-P` to get a progress display that helps you track the download status.
While HTTPS URLs are also provided, direct HTTPS downloads can sometimes be less reliable for very large files. If you must use HTTPS, verify you can resume downloads or maintain a stable connection. For example:

```bash
wget --continue https://rpc.pathfinder.equilibrium.co/snapshots/latest/mainnet.sqlite.zst
wget --continue http://rpc.pathfinder.swmansion.com/snapshots/latest/mainnet.sqlite.zst
```

## Extracting Snapshots and Checksums
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: /faq

# Frequently Asked Questions

This section addresses common issues and questions that might arise while running or developing with Pathfinder. If you don’t find your answer here, consider searching the [GitHub issues](https://github.com/equilibriumco/pathfinder/issues) or asking in the [Starknet Discord channel](https://discord.com/invite/QypNMzkHbc).
This section addresses common issues and questions that might arise while running or developing with Pathfinder. If you don’t find your answer here, consider searching the [GitHub issues](https://github.com/software-mansion/pathfinder/issues) or asking in the [Starknet Discord channel](https://discord.com/invite/QypNMzkHbc).

<details>
<summary><strong>What is Pathfinder?</strong></summary>
Expand Down Expand Up @@ -82,7 +82,7 @@ Yes, Pathfinder provides database snapshots that can be downloaded and used to s
<details>
<summary><strong>How can I contribute to Pathfinder?</strong></summary>

You can contribute by opening issues, submitting pull requests, or joining the Starknet community on Discord to provide feedback and collaborate with other developers. For more details, refer to the [contribution guidelines](https://github.com/equilibriumco/pathfinder/blob/main/contributing.md).
You can contribute by opening issues, submitting pull requests, or joining the Starknet community on Discord to provide feedback and collaborate with other developers. For more details, refer to the [contribution guidelines](https://github.com/software-mansion/pathfinder/blob/main/contributing.md).
</details>

<details>
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/getting-started/running-pathfinder.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ If needed, you can get the latest `protoc` from the [releases page](https://gith
Clone the Pathfinder repository and check out the latest release:

```bash
git clone https://github.com/equilibriumco/pathfinder.git
git clone https://github.com/software-mansion/pathfinder.git
cd pathfinder
git checkout <latest-version-tag>
```
Expand Down
3 changes: 1 addition & 2 deletions docs/docs/incidents/2023-06-17_mainnet_incident.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ But then how did this ever work? It turns out most string encodings produce iden

## Resolution

The [fix PR](https://github.com/equilibriumco/pathfinder/pull/1142) takes any non-ASCII characters and re-encodes them to match the formatting used by the sequencer.
The [fix PR](https://github.com/software-mansion/pathfinder/pull/1142) takes any non-ASCII characters and re-encodes them to match the formatting used by the sequencer.

The PR was merged and Pathfinder v0.6.1 was released. The fix was also backported to create v0.5.7 for users who had not yet upgraded to v0.6.

Expand Down Expand Up @@ -81,4 +81,3 @@ All times given are in UTC.
2023-06-18 11:30 API services back in sync and online
2023-06-18 11:30 incident over
`

2 changes: 1 addition & 1 deletion docs/docs/interacting-with-pathfinder/json-rpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ For advanced use cases like verifying storage proofs or generating special debug
```
/rpc/pathfinder/v0_1
```
The complete specification for these JSON-only extension methods can be found in the [Pathfinder repository](https://github.com/equilibriumco/pathfinder/blob/main/specs/rpc/pathfinder_rpc_api.json).
The complete specification for these JSON-only extension methods can be found in the [Pathfinder repository](https://github.com/software-mansion/pathfinder/blob/main/specs/rpc/pathfinder_rpc_api.json).

2 changes: 1 addition & 1 deletion docs/docs/interacting-with-pathfinder/websocket-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ As with the [JSON extensions](json-rpc-api#pathfinder-json-extensions), Pathfind
/ws/rpc/pathfinder/v0_1
```

You can find the complete list of WebSocket extensions in the [Pathfinder repository](https://github.com/equilibriumco/pathfinder/blob/main/specs/rpc/pathfinder_ws.json).
You can find the complete list of WebSocket extensions in the [Pathfinder repository](https://github.com/software-mansion/pathfinder/blob/main/specs/rpc/pathfinder_ws.json).

## Connection Limits and Keepalive

Expand Down
Loading
Loading