Skip to content

[BUG] USDC payment events silently ignored - rule engine only processes XLM #9

Description

@thisisouvik

Description

In processor.ts, the doesPaymentMatchTrigger() function hard-codes isXLM and returns false for any USDC payment. Users who receive USDC will have no rules triggered even for a generic rule. The depositUSDCToVault() function in vault.ts exists but is never called by the engine.

Root Cause

processor.ts line 42: "return matchesTrigger and isXLM" -- USDC payments always evaluate to false.

Steps to Reproduce

  1. Create an automation rule for saving a percentage of payments.
  2. Receive USDC to the monitored wallet.
  3. Observe that no automated transaction is created.

Impact

High - USDC is one of the most common assets on Stellar. AutoPilot silently ignores all USDC payment events.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveMarked as Stellar Wavebug: highHigh priority bugengineRelated to the rule processing enginestellar-networkRelated to Stellar network interaction

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions