You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix compilation errors from dependency upgrades (snapbox, toml_edit) (#3998)
Closes #
## Introduced changes
Fixes breaking API changes introduced by dependency upgrades in the
dependabot PR:
**snapbox 0.4 → 0.6:**
- `assert_matches(expected, actual)` → `assert_data_eq!(actual,
expected)` (parameter order swapped)
- `.stdout_matches()` → `.stdout_eq()`
- `.stderr_matches()` → `.stderr_eq()`
- `cargo_bin` function (deprecated) → `snapbox::cargo_bin` macro
**toml_edit 0.22 → 0.23:**
- `ImDocument` → `Document` (type renamed)
Example of the snapbox migration:
```rust
// Before
use snapbox::assert_matches;
assert_matches(expected_pattern, actual_value);
// After
use snapbox::assert_data_eq;
assert_data_eq!(actual_value, expected_pattern);
```
**Additional changes:**
- Merged the latest main branch changes to incorporate recent updates
- Updated `ctor` dependency from 0.6.2 to 0.6.3 to resolve merge
conflicts with the dependabot base branch
## Checklist
- [ ] Linked relevant issue
- [ ] Updated relevant documentation
- [ ] Added relevant tests
- [x] Performed self-review of the code
- [ ] Added changes to `CHANGELOG.md`
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/foundry-rs/starknet-foundry/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: cptartur <52135326+cptartur@users.noreply.github.com>
Co-authored-by: Artur Michalek <artur.michalek@swmansion.com>
{"add_profile":"Profile my_account successfully added to [..]/snfoundry.toml","address":"0x[..]","command":"account create","estimated_fee":"[..]","message":"Account successfully created but it needs to be deployed. The estimated deployment fee is [..] STRK. Prefund the account to cover deployment transaction fee/n/nAfter prefunding the account, run:/nsncast --accounts-file accounts.json account deploy --url [..] --name my_account","type":"response"}
0 commit comments