Skip to content

Full support for transaction chaining #499

@HinsonSIDAN

Description

@HinsonSIDAN

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Not Started

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions