Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ea52319
Support RPC `0.9.0`
ddoktorski Jul 11, 2025
bbfb650
Merge branch 'master' into rpc-0-9-0
ddoktorski Jul 17, 2025
d5b0302
Rename `preconfirmed` to `pre_confirmed`
ddoktorski Jul 17, 2025
a0d4f6a
Update version to `0.9` in node url
ddoktorski Jul 17, 2025
2c20aca
Restore ignored tests
ddoktorski Jul 17, 2025
2c599e1
Add backticks
ddoktorski Jul 17, 2025
3d1c5aa
Update changelog
ddoktorski Jul 17, 2025
802462b
Fix `test_happy_case_deployment_fee_message` test
ddoktorski Jul 17, 2025
764611e
Add dash to pre confirmed
ddoktorski Jul 17, 2025
7dc04ca
Bump devnet to rc.2
ddoktorski Jul 18, 2025
f0bbc6e
Resolve merge conflicts
ddoktorski Jul 21, 2025
808625a
Address PR comments
ddoktorski Jul 21, 2025
d1721df
Use always underscore for pre_confirmed input
ddoktorski Jul 21, 2025
38ce1d5
Revert refactor in `check_if_legacy_contract`
ddoktorski Jul 21, 2025
c8ad731
Resolve merge conflicts
ddoktorski Jul 31, 2025
35ab8a2
Bump starknet-rs to rc.2; bump devnet to rc.4
ddoktorski Jul 31, 2025
8b28a91
Fix changelog
ddoktorski Jul 31, 2025
34bbd0c
Fix e2e::forking::with_cache test
ddoktorski Jul 31, 2025
68329c7
Resolve merge conflicts
ddoktorski Aug 11, 2025
3a0a505
Remove rc from `EXPECTED_RPC_VERSION`
ddoktorski Aug 11, 2025
28915e5
Fix cache test
ddoktorski Aug 11, 2025
dfb1f53
Update free provider url
ddoktorski Aug 11, 2025
0b2d349
Support new UDC
franciszekjob Aug 12, 2025
e85b7b8
Merge branch 'rpc-0-9-0' of https://github.com/foundry-rs/starknet-fo…
franciszekjob Aug 12, 2025
921e0c0
Apply changes from upstream branch
franciszekjob Aug 12, 2025
c3293d7
Merge branch 'master' of https://github.com/foundry-rs/starknet-found…
franciszekjob Aug 26, 2025
abb4691
Remove file
franciszekjob Aug 26, 2025
403ff9e
Remove unnecessary changes
franciszekjob Aug 26, 2025
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
#### Changed

- The supported RPC version is now 0.9.0
- [New UDC](https://starkscan.co/contract/0x02ceed65a4bd731034c01113685c831b01c15d7d432f71afb1cf1634b53a2125) is now used during deployment

## [0.48.1] - 2025-08-14

Expand Down
2 changes: 1 addition & 1 deletion crates/sncast/src/helpers/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inputs = []
"#;

pub const UDC_ADDRESS: Felt =
felt!("0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf");
felt!("0x02ceed65a4bd731034c01113685c831b01c15d7d432f71afb1cf1634b53a2125");
pub const OZ_CLASS_HASH: Felt =
felt!("0x05b4b537eaa2399e3aa99c4e2e0208ebd6c71bc1467938cd52c798c601e43564"); // v1.0.0
pub const READY_CLASS_HASH: Felt =
Expand Down
5 changes: 4 additions & 1 deletion crates/sncast/src/starknet_commands/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use anyhow::{Result, anyhow};
use clap::Args;
use conversions::IntoConv;
use foundry_ui::UI;
use sncast::helpers::constants::UDC_ADDRESS;
use sncast::helpers::fee::{FeeArgs, FeeSettings};
use sncast::helpers::rpc::RpcArgs;
use sncast::response::deploy::DeployResponse;
Expand Down Expand Up @@ -71,7 +72,9 @@ pub async fn deploy(
ui: &UI,
) -> Result<DeployResponse, StarknetCommandError> {
let salt = extract_or_generate_salt(salt);
let factory = ContractFactory::new(class_hash, account);

// TODO(#3628): Use `ContractFactory::new` once new UDC address is the default one in starknet-rs
let factory = ContractFactory::new_with_udc(class_hash, account, UDC_ADDRESS);

let deployment = factory.deploy_v3(calldata.clone(), salt, unique);

Expand Down
Loading