Skip to content

Commit b05b202

Browse files
authored
Release 0.51.0 (#3838)
<!-- Reference any GitHub issues resolved by this PR --> Closes # ## Introduced changes <!-- A brief description of the changes --> - Reverted removing `--experimental-oracles` flag until all issues with oracles are resolved ## Checklist <!-- Make sure all of these are complete --> - [ ] Linked relevant issue - [ ] Updated relevant documentation - [ ] Added relevant tests - [ ] Performed self-review of the code - [ ] Added changes to `CHANGELOG.md`
1 parent 0618a5d commit b05b202

File tree

26 files changed

+725
-716
lines changed

26 files changed

+725
-716
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.51.0] - 2025-10-21
11+
1012
### Forge
1113

1214
#### Added
@@ -18,21 +20,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1820
#### Changed
1921

2022
- Updated the error message returned when calling a nonexistent method on a contract to better align with the format used by the network
21-
- Oracle support in `snforge` is now stable and no longer requires the `--experimental-oracles` CLI flag
2223
- The default tracked resource is now Sierra gas, so gas reporting results may differ compared to previous versions. For more information refer to the [documentation](https://foundry-rs.github.io/starknet-foundry/testing/gas-and-resource-estimation.html)
2324
- When using the `--detailed-resources` flag, the used Sierra gas key is now shown as `sierra gas` instead of `sierra_gas_consumption`
2425

2526
### Cast
2627

2728
#### Added
2829

29-
- Debug logging for `sncast` commands that can be enabled by setting `CAST_LOG` env variable.
30+
- Debug logging for `sncast` commands that can be enabled by setting `SNCAST_LOG` env variable.
3031
- `sncast declare` command now outputs a ready-to-use deployment command after successful declaration.
3132
- Possibility to use [`starknet-devnet`](https://github.com/0xSpaceShard/starknet-devnet) predeployed accounts directly in `sncast` without needing to import them. They are available under specific names - `devnet-1`, `devnet-2`, ..., `devnet-<N>`. Read more [here](https://foundry-rs.github.io/starknet-foundry/starknet/integration_with_devnet.html#predeployed-accounts)
3233
- Support for `--network devnet` flag that attempts to auto-detect running `starknet-devnet` instance and connect to it.
3334
- Support for automatically declaring the contract when running `sncast deploy`, by providing `--contract-name` flag instead of `--class-hash`.
3435
- `sncast balance` command to fetch the balance of an account for a specified token.
3536

37+
#### Fixed
38+
39+
- `sncast declare` now shows a correct error message when contract is already declared.
40+
3641
## [0.50.0] - 2025-09-29
3742

3843
### Forge

0 commit comments

Comments
 (0)