Skip to content

Commit 25bcd17

Browse files
authored
Fix old links (deprecated repo) (#711)
1 parent 67de44f commit 25bcd17

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ A local testnet for Starknet... in Rust!
2121

2222
## Features
2323

24-
- [Forking](https://0xspaceshard.github.io/starknet-devnet-rs/docs/forking) - interact with contracts deployed on mainnet or testnet
25-
- [Account impersonation](https://0xspaceshard.github.io/starknet-devnet-rs/docs/account-impersonation)
26-
- [L1-L2 interaction](https://0xspaceshard.github.io/starknet-devnet-rs/docs/postman)
27-
- [Predeployed contracts](https://0xspaceshard.github.io/starknet-devnet-rs/docs/predeployed) - accounts, tokens etc.
28-
- [Block manipulations](https://0xspaceshard.github.io/starknet-devnet-rs/docs/blocks) - creation, abortion etc.
29-
- [Time manipulations](https://0xspaceshard.github.io/starknet-devnet-rs/docs/starknet-time/)
30-
- [Dump, load, restart state](https://0xspaceshard.github.io/starknet-devnet-rs/docs/dump-load-restart)
31-
- [Configurable according to your needs](https://0xspaceshard.github.io/starknet-devnet-rs/docs/running/cli)
24+
- [Forking](https://0xspaceshard.github.io/starknet-devnet/docs/forking) - interact with contracts deployed on mainnet or testnet
25+
- [Account impersonation](https://0xspaceshard.github.io/starknet-devnet/docs/account-impersonation)
26+
- [L1-L2 interaction](https://0xspaceshard.github.io/starknet-devnet/docs/postman)
27+
- [Predeployed contracts](https://0xspaceshard.github.io/starknet-devnet/docs/predeployed) - accounts, tokens etc.
28+
- [Block manipulations](https://0xspaceshard.github.io/starknet-devnet/docs/blocks) - creation, abortion etc.
29+
- [Time manipulations](https://0xspaceshard.github.io/starknet-devnet/docs/starknet-time/)
30+
- [Dump, load, restart state](https://0xspaceshard.github.io/starknet-devnet/docs/dump-load-restart)
31+
- [Configurable according to your needs](https://0xspaceshard.github.io/starknet-devnet/docs/running/cli)
3232

3333
## 🌐 Documentation
3434

35-
Find the official documentation [here](https://0xspaceshard.github.io/starknet-devnet-rs/).
35+
Find the official documentation [here](https://0xspaceshard.github.io/starknet-devnet/).
3636

3737
## starknet-devnet-js
3838

3939
Simplify the installation, spawning and usage of Devnet in your tests by relying on the official JavaScript wrapper. Read more [here](https://github.com/0xspaceShard/starknet-devnet-js).
4040

4141
## ✏️ Contributing
4242

43-
We ❤️ and encourage all contributions and thank all the [contributors](https://github.com/0xSpaceShard/starknet-devnet-rs/graphs/contributors)!
43+
We ❤️ and encourage all contributions and thank all the [contributors](https://github.com/0xSpaceShard/starknet-devnet/graphs/contributors)!
4444

4545
[Click here](.github/CONTRIBUTING.md) for the development guide.

contracts/l1-l2-messaging/cairo/src/l1_l2.cairo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! L1 L2 messaging demo contract.
22
//! Rewrite in Cairo 1 of the contract from previous Devnet version:
3-
//! https://github.com/0xSpaceShard/starknet-devnet/blob/e477aa1bbe2348ba92af2a69c32d2eef2579d863/test/contracts/cairo/l1l2.cairo
3+
//! https://github.com/0xSpaceShard/starknet-devnet-deprecated/blob/e477aa1bbe2348ba92af2a69c32d2eef2579d863/test/contracts/cairo/l1l2.cairo
44
//!
55
//! This contract does not use interface to keep the code as simple as possible.
66
//!

crates/starknet-devnet-core/src/account.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use crate::state::{CustomState, StarknetState};
2525
use crate::traits::{Accounted, Deployed};
2626
use crate::utils::get_storage_var_address;
2727

28-
/// data taken from https://github.com/0xSpaceShard/starknet-devnet/blob/fb96e0cc3c1c31fb29892ecefd2a670cf8a32b51/starknet_devnet/account.py
28+
/// data taken from https://github.com/0xSpaceShard/starknet-devnet-deprecated/blob/fb96e0cc3c1c31fb29892ecefd2a670cf8a32b51/starknet_devnet/account.py
2929
const ACCOUNT_CLASS_HASH_HEX_FOR_ADDRESS_COMPUTATION: &str =
3030
"0x3FCBF77B28C96F4F2FB5BD2D176AB083A12A5E123ADEB0DE955D7EE228C9854";
3131

@@ -228,7 +228,7 @@ mod tests {
228228
use crate::utils::test_utils::{dummy_contract_address, dummy_felt};
229229

230230
/// Testing if generated account address has the same value as the first account in
231-
/// https://github.com/0xSpaceShard/starknet-devnet/blob/9d867e38e6d465e568e82a47e82e40608f6d220f/test/support/schemas/predeployed_accounts_fixed_seed.json
231+
/// https://github.com/0xSpaceShard/starknet-devnet-deprecated/blob/9d867e38e6d465e568e82a47e82e40608f6d220f/test/support/schemas/predeployed_accounts_fixed_seed.json
232232
#[test]
233233
fn account_address_should_be_equal() {
234234
let expected_result = ContractAddress::new(

scripts/fetch_ci_binaries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
HTTP_TIMEOUT = 5
1212

1313
DEVNET_CI_URL = (
14-
"https://circleci.com/api/v1.1/project/github/0xSpaceShard/starknet-devnet-rs"
14+
"https://circleci.com/api/v1.1/project/github/0xSpaceShard/starknet-devnet"
1515
)
1616

1717
ARTIFACT_URL_TEMPLATE = (

tests/integration/test_fork.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ async fn test_getting_cairo0_class_from_origin_and_fork() {
177177

178178
// assert_eq!(retrieved_class, ContractClass::Legacy(contract_class.compress().unwrap()));
179179
// For now, successfully unwrapping the retrieved class serves as proof of correctness.
180-
// Currently asserting cairo0 artifacts is failing; related: https://github.com/0xSpaceShard/starknet-devnet-rs/pull/380
180+
// Currently asserting cairo0 artifacts is failing; related: https://github.com/0xSpaceShard/starknet-devnet/pull/380
181181
}
182182

183183
#[tokio::test]
@@ -343,7 +343,7 @@ async fn test_deploying_account_with_class_not_present_on_origin() {
343343

344344
#[tokio::test]
345345
/// For this test to make sense, origin must have a class not by default present in the fork.
346-
/// If https://github.com/0xSpaceShard/starknet-devnet-rs/issues/373 is addressed,
346+
/// If https://github.com/0xSpaceShard/starknet-devnet/issues/373 is addressed,
347347
/// both origin and fork have both of our default cairo0 and cairo1 classes, so using them for
348348
/// this test wouldn't make sense, as we couldn't be sure that the class used in account
349349
/// deployment is indeed coming from the origin.
@@ -615,7 +615,7 @@ async fn test_forking_https() {
615615
#[tokio::test]
616616
async fn test_forked_devnet_uses_different_contract_class_for_predeployed_tokens() {
617617
let origin_url = MAINNET_URL;
618-
let fork_block = 668276; // data taken from https://github.com/0xSpaceShard/starknet-devnet-rs/issues/587
618+
let fork_block = 668276; // data taken from https://github.com/0xSpaceShard/starknet-devnet/issues/587
619619
let fork_devnet = BackgroundDevnet::spawn_with_additional_args(&[
620620
"--fork-network",
621621
origin_url,

tests/integration/test_gas_modification.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl SetGasPrice for BackgroundDevnet {
4848
/// 1. Execute simulateTransactions with a declare transaction and check gas fees.
4949
/// 2. Set the gas values.
5050
/// 3. Execute simulateTransactions again and check gas fees.
51-
/// Chain ID assertion justified in: https://github.com/0xSpaceShard/starknet-devnet-rs/pull/551#discussion_r1682755696
51+
/// Chain ID assertion justified in: https://github.com/0xSpaceShard/starknet-devnet/pull/551#discussion_r1682755696
5252
async fn set_gas_scenario(devnet: BackgroundDevnet, expected_chain_id: Felt) {
5353
// get account
5454
let (signer, account_address) = devnet.get_first_predeployed_account().await;

0 commit comments

Comments
 (0)