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 wasp-cli request sending #3522

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Fix wasp-cli request sending #3522

merged 1 commit into from
Jan 15, 2025

Conversation

lmoe
Copy link
Contributor

@lmoe lmoe commented Jan 15, 2025

Description of change

Updates the CLI to ignore timelocked outputs only when sending (requests)

@lmoe lmoe requested a review from dessaya January 15, 2025 14:44
@@ -47,6 +48,7 @@ type PostRequestParams struct {
Allowance *isc.Assets
gasBudget uint64
AutoAdjustStorageDeposit bool
OnlyUnlockedOutputs bool
Copy link
Collaborator

Choose a reason for hiding this comment

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

Honestly if you are sending a request it doesn't make much sense to use locked outputs anyway... is the flag really needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes because its needed by PostRequest functions. The OutputMap function is so interwoven that we need a flag before that. Its also used to pull balances and other information, where timelocked objects might be relevant.

@lmoe lmoe merged commit de3c619 into develop Jan 15, 2025
5 checks passed
@lmoe lmoe deleted the fix_wasp_cli_output_consumption branch January 15, 2025 15:07
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.

2 participants