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

Full support for transaction chaining #499

Open
1 task done
HinsonSIDAN opened this issue Feb 6, 2025 · 0 comments
Open
1 task done

Full support for transaction chaining #499

HinsonSIDAN opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@HinsonSIDAN
Copy link
Member

Describe the feature you'd like

Currently transaction chaining is supported only by OfflineEvaluator in core-csl. When we want to have full support, it has to be integrated with other evaluator instances also.

Is your feature request related to a problem? Please describe.

Also, the tx chaining capability is not documented currently. There are 2 relevant apis in particular to supply information which is not available in the global blockchain:

https://github.com/MeshJS/mesh/blob/main/packages/mesh-transaction/src/mesh-tx-builder/tx-builder-core.ts#L1503-L1549

These 2 apis can allow users to provider previous unrecorded tx and particular utxos for evaluation.

Describe the solution you'd like

Improve current evaluateTx method for all IEvaluator to consider additionalTxs and additionalUtxos

Additional context

No response

Would you be willing to implement it?

  • Yes, I will implement it.
@HinsonSIDAN HinsonSIDAN added the enhancement New feature or request label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant