Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --version and --fee-token flags #2865

Merged
merged 20 commits into from
Feb 3, 2025
Merged

Conversation

cptartur
Copy link
Member

@cptartur cptartur commented Jan 21, 2025

Closes #2856

Introduced changes

  • Removed --version and --fee-token flags in sncast
  • Removed ETH token support in cast scripts
  • Updated and/or removed related documentation

Checklist

  • Linked relevant issue
  • Updated relevant documentation
  • Added relevant tests
  • Performed self-review of the code
  • Added changes to CHANGELOG.md

@cptartur cptartur force-pushed the 2856-remove-deprecated-txs branch from 1b76089 to 3a3e168 Compare January 29, 2025 10:40
@cptartur cptartur changed the base branch from master to fix-cast-script-deploy-conversion January 29, 2025 10:41
@cptartur cptartur force-pushed the 2856-remove-deprecated-txs branch from 3a3e168 to 996952d Compare January 29, 2025 10:43
github-merge-queue bot pushed a commit that referenced this pull request Jan 29, 2025
… omitted (#2888)

<!-- Reference any GitHub issues resolved by this PR -->

Closes #

## Introduced changes

<!-- A brief description of the changes -->

This came up from #2865 

Conversion from `ScriptFeeSettings` to `FeeSettings` resulted in value
for `max_fee` being dropped completely. This conversion was only in cast
script "deploy" function.

If deploy was used with Strk token, any value passed to `max_fee` was
completely ignored.

Removed the conversion entirely and used correct structure in deploy.

## Checklist

<!-- Make sure all of these are complete -->

- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
Base automatically changed from fix-cast-script-deploy-conversion to master January 29, 2025 13:53
@cptartur cptartur force-pushed the 2856-remove-deprecated-txs branch from 996952d to 180dc68 Compare January 30, 2025 15:09
@cptartur cptartur marked this pull request as ready for review January 30, 2025 15:46
Copy link
Contributor

@franciszekjob franciszekjob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be updated.

Looks like in this file we should also update mentioning eth to strk?

@cptartur
Copy link
Member Author

This line should be updated.

Looks like in this file we should also update mentioning eth to strk?

Updated the docs. The second one is a design document, don't think we should be retroactively changing these.

@franciszekjob
Copy link
Contributor

The second one is a design document, don't think we should be retroactively changing these.

Right, didn't notice it was a design doc 👍

Nemezjusz pushed a commit to Nemezjusz/starknet-foundry that referenced this pull request Feb 2, 2025
… omitted (foundry-rs#2888)

<!-- Reference any GitHub issues resolved by this PR -->

Closes #

## Introduced changes

<!-- A brief description of the changes -->

This came up from foundry-rs#2865 

Conversion from `ScriptFeeSettings` to `FeeSettings` resulted in value
for `max_fee` being dropped completely. This conversion was only in cast
script "deploy" function.

If deploy was used with Strk token, any value passed to `max_fee` was
completely ignored.

Removed the conversion entirely and used correct structure in deploy.

## Checklist

<!-- Make sure all of these are complete -->

- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
@cptartur cptartur enabled auto-merge February 3, 2025 09:24
@cptartur cptartur added this pull request to the merge queue Feb 3, 2025
Merged via the queue into master with commit 77f544a Feb 3, 2025
38 checks passed
@cptartur cptartur deleted the 2856-remove-deprecated-txs branch February 3, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecated txs versions and tokens
4 participants