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

Support cross-chain transfers using the SendInlineWithTransactionId method #3619

Open
2 tasks
chopin-fan opened this issue Oct 28, 2024 · 0 comments
Open
2 tasks
Assignees

Comments

@chopin-fan
Copy link
Collaborator

chopin-fan commented Oct 28, 2024

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

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

No branches or pull requests

1 participant