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

feature: Allow options to be passed to simulate calls on the transaction composer, and properly type the return values. #92

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

tristanmenzel
Copy link
Contributor

Proposed Changes

  • When calling .simluate() on a transaction composer, you can now pass in options that are forwarded to the underlying atc.simulate() call. For example client.someCall().simulate({ allowEmptySignatures: true })
  • Simulate calls now have a returns property (similar to the .execute() response) containing mapped return values.

@robdmoore
Copy link
Contributor

Fixes #93

… composer, and properly type the return values
@robdmoore robdmoore force-pushed the feature/allow-options-in-simulate branch from b50814d to 88e3571 Compare January 26, 2024 03:34
@robdmoore robdmoore merged commit aa43139 into main Jan 26, 2024
1 check passed
@robdmoore robdmoore deleted the feature/allow-options-in-simulate branch January 26, 2024 03:45
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