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

Feat: Block options #1922

Closed
wants to merge 3 commits into from
Closed

Feat: Block options #1922

wants to merge 3 commits into from

Conversation

kwek20
Copy link
Contributor

@kwek20 kwek20 commented Jan 31, 2024

Description of change

Adds a struct wrapping TransactionOptions and 2 new fields called BlockOptions

Links to any relevant issues

Fixes #1740

Type of change

  • Enhancement (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How the change has been tested

@kwek20 kwek20 marked this pull request as draft January 31, 2024 15:32
@@ -27,12 +27,13 @@ where
pub(crate) async fn build_transaction(
&self,
selected_transaction_data: Selected,
options: impl Into<Option<TransactionOptions>> + Send,
options: impl Into<Option<BlockOptions>> + Send,
Copy link
Contributor

Choose a reason for hiding this comment

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

bit weird API to provide a BlockOptions to a method called build_transaction, but okay. Atm we're not using its issuer_id field. Is this supposed to be used when we iterate the inputs to search for an account output with a block issuer feature?

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