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

Fix type conversion in script "deploy" that resulted in max_fee being omitted #2888

Merged
merged 4 commits into from
Jan 29, 2025

Conversation

cptartur
Copy link
Member

Closes #

Introduced 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

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

ddoktorski
ddoktorski approved these changes Jan 29, 2025
@cptartur cptartur enabled auto-merge January 29, 2025 12:52
@cptartur cptartur added this pull request to the merge queue Jan 29, 2025
Merged via the queue into master with commit 0ef8c41 Jan 29, 2025
38 checks passed
@cptartur cptartur deleted the fix-cast-script-deploy-conversion branch January 29, 2025 13:53
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.

3 participants