这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@sisuresh
Copy link
Owner

Description

Resolves #X

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

@sisuresh sisuresh requested a review from Copilot August 20, 2025 21:24

This comment was marked as outdated.

@sisuresh sisuresh closed this Aug 20, 2025
@sisuresh sisuresh requested a review from Copilot August 20, 2025 21:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modifies the memo validation logic for Soroban transactions by removing the distinction between source account-only authentication and other authentication types. Previously, transactions with source account-only authentication were exempt from memo restrictions, but this exemption has been removed.

  • Simplifies memo validation by removing source account authentication type checks
  • Updates test expectations to reflect stricter memo validation rules
  • All Soroban transactions with memos or muxed accounts are now rejected regardless of authentication type

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/herder/TransactionQueue.cpp Removes source account authentication exemption from memo validation logic
src/herder/test/TransactionQueueTests.cpp Updates test to expect error status instead of pending for transactions with memos
copilot-instructions.md Adds new instruction file for code review guidelines (unrelated to memo filter functionality)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant