eos icon indicating copy to clipboard operation
eos copied to clipboard

without "-j", it will report as the description.

Open yankunsam opened this issue 8 years ago • 4 comments

root@eosio:~/data# cleos get transactions eosio 813330ms thread-0 main.cpp:1764 main ] Failed with error: Key Not Found (6) Key data

yankunsam avatar Apr 30 '18 13:04 yankunsam

Got the same error, here is more verbose output:

$ cleos -v get transactions user
3338195ms thread-0   main.cpp:1158                 main                 ] Failed with error: 6 key_not_found_exception: Key Not Found
Key data
    {"key":"data"}
    thread-0  variant_object.cpp:90 operator[]

Joelone avatar May 06 '18 21:05 Joelone

It is duplicated of #2567

Joelone avatar May 06 '18 21:05 Joelone

Found the root cause of this issue, will submit a PR. The reason is the "data" field was renamed to "transaction".

{
  "transactions": [{
      "seq_num": 0,
      "transaction_id": "031ac04bd012df4bc25b8b9f7fc3714949fee92f3dd1d6dd03798807a08fd141",
      "transaction": {
        "signatures": [
...
        "transaction": {
...
          "actions": [{

            }
          ]
        }
      }
    }
  ]
}

Joelone avatar May 06 '18 21:05 Joelone

Thanks

On Mon, May 7, 2018 at 5:24 AM, Joelone [email protected] wrote:

Found the root cause of this issue, will submit a PR. The reason is the "data" field was renamed to "transaction".

{ "transactions": [{ "seq_num": 0, "transaction_id": "031ac04bd012df4bc25b8b9f7fc3714949fee92f3dd1d6dd03798807a08fd141", "transaction": { "signatures": [ ... "transaction": { ... "actions": [{

        }
      ]
    }
  }
}

] }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/2656#issuecomment-386915572, or mute the thread https://github.com/notifications/unsubscribe-auth/APYgYwHj3FnF3YD6tP9QTc-T3ZSCGOqIks5tv2oPgaJpZM4TskbT .

yankunsam avatar May 06 '18 23:05 yankunsam