-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: implement generateFakeResources
on Account
class
#2351
base: master
Are you sure you want to change the base?
feat: implement generateFakeResources
on Account
class
#2351
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job on this, we should definitely document as this is useful for a few scenarios.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Coverage Report:
Changed Files:
|
|
||
<<< @/../../docs-snippets/test/fixtures/forc-projects/return-script/src/main.sw#generate-fake-resources-1{rust:line-numbers} | ||
|
||
To execute a dry-run, use the `Provider.call` method. Ensure you set the `utxo_validation` flag to true, as this script uses fake UTXOs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To execute a dry-run, use the `Provider.call` method. Ensure you set the `utxo_validation` flag to true, as this script uses fake UTXOs: | |
To execute a dry-run, use the `Provider.dryRun` method. Ensure you set the `utxo_validation` flag to `true`, as this script uses fake UTXOs: |
This sounds counter intuitive, should we be calling or dry running here?
Account
Class #2363After the changes made in this PR we can work on: #2362