{
  "decode": {
    "static": true,
    "testCases": [
      {
        "id": "CONFORMANCE-ACCOUNT-049",
        "description": "it should create an AccountKeyFail instance by decoding RLP Encoded AccountKeyFail.",
        "input": {
          "rlpEncodedKey": "0x03c0"
        },
        "expectedResult": {
          "status": "pass",
          "class": "AccountKeyFail",
          "layer": "caver.account",
          "output": {
            "keyType": 3
          }
        }
      },
      {
        "id": "CONFORMANCE-ACCOUNT-050",
        "description": "it should throws error because given rlpEncodedKey is invalid.",
        "input": {
          "rlpEncodedKey": "0x10"
        },
        "expectedResult": {
          "status": "fail",
          "errorMessage": "invalid RLP-encoded account key string",
          "errorMessageJs": "Cannot decode to AccountKeyFail. The prefix must be 0x03c0: 0x10"
        }
      }
    ]
  }}