Skip to content

Support cross-chain transfers using the SendInlineWithTransactionId method #3619

@chopin-fan

Description

@chopin-fan

20241030

  1. Investigate the reason for failing to obtain the Merkle path; the cause is that the transaction results and the mapping of transactions to blocks have not been persisted.
  2. Transmit inline transactions by sending events.

20241029

  1. Send an event for inline transactions with a transaction ID.
  2. Check the reason for returning nil from merklePathByTransactionId.
  3. Attend the meeting for TPS improvement.

20241028

  1. Refactor code for the cross-AA feature.
  2. Add a function to check the number of inline transactions with TransactionId.
  3. publish 1.10.3.0 to myget repository.

20241023

  1. Troubleshoot the out-of-bounds issue.
  2. Partial unit tests# 20241023
  3. set up a side chain
  4. Write unit test for SendInlineWithTransaction.
  5. Check historical unit tests.
  6. Build CrossReceiveToken transactions with both the Go SDK and the C# SDK.

20241024

  1. unit test: proposal release
  2. unit test: crosschain transfer
  3. unit test: crosschain transfer using sendInlineWithTransactionId method

20241025

  1. perform a self-check using sendinlineWithTransactionId use case

20241026

  1. Add check for inlineWithTransactionID
  2. Refactor code for cross-AA feature

Specifications

As a developer, I would like to improve cross-chain validation in the aelf ecosystem, enabling Inline Transactions to be included in the MerkleTreeRootOfTransactionStatus calculation. This enhancement will ensure that cross-chain transactions initiated through Inline Transactions can participate in Merkle Proof validation for secure cross-chain token transfers.

Features:

  • Include Inline Transactions in the MerkleTreeRootOfTransactionStatus calculation by assigning them a unique identifier (Inline Transaction Id).
  • Allow specific Inline Transactions to serve as leaf nodes in the Transaction Status Merkle Tree.

Development Tasks:

  • Define and implement unique identifiers for Inline Transactions.
  • Update Transaction Status Merkle Tree construction to incorporate Inline Transaction Ids as leaf nodes when appropriate.

Dependencies

nil

References

nil

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions