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

A mainnet (.near) account on testnet is blocked

near-mainnet-account-on-testnet

high

Description

Paying merchant-example.near on testnet is a cross-network mistake and must be blocked.

integration · required · scenarios/near-mainnet-account-on-testnet.yaml

Outcomes across stored runs

  • Pass 1
  • Fail 0
  • Error 0
  • Skipped 0

Execution history

Most recent steps

  1. #1proposepassed
    Expected
    {
      "decision": "BLOCK",
      "reason_codes": [
        "ADAPTER_VALIDATION_FAILED",
        "RECIPIENT_NOT_ALLOWED"
      ],
      "reason_codes_exact": false,
      "absent_reason_codes": []
    }
    Observed
    {
      "decision": "BLOCK",
      "reason_codes": [
        "ADAPTER_VALIDATION_FAILED",
        "RECIPIENT_NOT_ALLOWED"
      ],
      "replay": false
    }