stacks-blockchain-api icon indicating copy to clipboard operation
stacks-blockchain-api copied to clipboard

rosetta/v1/mempool/transaction returns 500

Open LakshmiLavanyaKasturi opened this issue 3 years ago • 1 comments

Describe the bug Invoke rosetta/v1/mempool to find a txnid to call rosetta/v1/mempool/transaction. The call to fetch the transaction details results in 500.

To Reproduce Steps to reproduce the behavior:

  1. Invoke rosetta/v1/mempool on mainnet
  2. From the results pick any transaction.
  3. Invoke rosetta/v1/mempool/transaction with the transaction id from step 2
  4. See error

Expected behavior Should return transaction details.

Screenshots Screen Shot 2022-08-16 at 7 58 40 AM Screen Shot 2022-08-16 at 7 58 48 AM

Console log N/A Desktop (please complete the following information): N/A

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context For get all mempool transactions: { "transaction_identifiers": [ { "hash": "0xb03f47e7b1fe3bed49eb8b3509e6a729116623df7c537740bdde32c3bedcc49e" }, { "hash": "0x9001bcf1ab8d33ea086474275103a5934d7b3cd0ecef1f509bab7e08eb08620c" }, { "hash": "0x7f8b69f22103bc2c2040b1c59768ab7226670214834f2a2b357665c47eff736a" },

For get mempool transaction: { "error": "Error: unexpected tx not found -- could not get contract from data store", "stack": "Error: unexpected tx not found -- could not get contract from data store\n at makeCallContractOperation (/app/src/rosetta-helpers.ts:580:11)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at getOperations (/app/src/rosetta-helpers.ts:138:23)\n at /app/src/api/routes/rosetta/mempool.ts:72:26", "errorTag": "e84121ab-aced-461e-848d-1266b1baec4a" }

LakshmiLavanyaKasturi avatar Aug 16 '22 15:08 LakshmiLavanyaKasturi

Relates to https://github.com/hirosystems/docs/issues/130

LakshmiLavanyaKasturi avatar Aug 18 '22 05:08 LakshmiLavanyaKasturi

Closing this ticket due to inactivity. Please file a new ticket if still needed.

smcclellan avatar Jul 11 '23 17:07 smcclellan