Skip to content

Conversation

@jinoosss
Copy link
Member

What type of PR is this?

  • bug

What this PR does:

This pull request introduces several changes to the packages/adena-extension codebase, focusing on message mapping, validation improvements, and some code refactoring. Below are the most important changes:

Message Mapping Enhancements:

  • Added a new function mappedDocumentMessagesWithCaller in transaction-mapper.ts to map messages in the Transaction Document and set caller information based on the current address.

Validation Improvements:

  • Removed the validateInjectionTransactionMessage function from validation-transaction.ts and replaced it with validateCallerAddress to improve address validation logic. [1] [2]
  • Modified the validateInjectionTransactionMessageWithAddress function to use the new validateCallerAddress function for better address validation.

@jinoosss jinoosss requested a review from a team as a code owner April 10, 2025 02:59
@jinoosss jinoosss merged commit 6358e03 into main Apr 10, 2025
2 checks passed
@jinoosss jinoosss deleted the ADN-697-handle-account-mismatch-errors-in-tx-link-transactions branch April 10, 2025 06:40
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.

2 participants