Skip to content

Conversation

@jshiohaha
Copy link
Contributor

Description

  • When building a transaction, we now provide the correct number of (default) signatures so that the VersionedTransaction will (de)serialize properly
    • NOTE: All existing functions maintain the same interface as before, we just add a new one to use with the BuildTransactionConfig
  • Allow caller to completely skip compute unit simulation by providing an exact value
    • Context: there might be times in which the transaction can fail at build time, but we still want to build the transaction

@jshiohaha jshiohaha changed the title optionally simulate for compute units, use correct number of default signatures [TKN-522] optionally simulate for compute units, use correct number of default signatures Aug 4, 2025
Copy link
Member

@wjthieme wjthieme left a comment

Choose a reason for hiding this comment

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

🎈

@jshiohaha jshiohaha merged commit 735d4ff into main Aug 11, 2025
6 checks passed
@jshiohaha jshiohaha deleted the shio/skip-cu-limit-simulation branch August 11, 2025 16:26
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.

4 participants