Skip to content
Drainproof
Demo mode. These reports are fixtures generated by running the Drainproof CLI against the bundled example policies. They are not results from your project.

← Scenario library

Transaction at or below the approval threshold follows policy

below-threshold-no-approval

medium

Description

Amounts at or below 10 USDC do not need approval; 10.000001 does.

approval-workflow · required · ../../packages/cli/templates/scenarios/approval-workflow/below-threshold-no-approval.yaml

Outcomes across stored runs

  • Pass 4
  • Fail 0
  • Error 0
  • Skipped 0

Execution history

Most recent steps

  1. #1proposepasseddecision checked; reason codes not checked (target does not report them)
    Expected
    {
      "decision": "ALLOW",
      "reason_codes": [],
      "reason_codes_exact": false,
      "absent_reason_codes": [
        "APPROVAL_REQUIRED_AMOUNT"
      ]
    }
    Observed
    {
      "decision": "ALLOW",
      "reason_codes": []
    }
  2. #2proposepasseddecision checked; reason codes not checked (target does not report them)
    Expected
    {
      "decision": "REQUIRE_APPROVAL",
      "reason_codes": [
        "APPROVAL_REQUIRED_AMOUNT"
      ],
      "reason_codes_exact": false,
      "absent_reason_codes": []
    }
    Observed
    {
      "decision": "REQUIRE_APPROVAL",
      "reason_codes": []
    }