Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] transaction-pool unwrapping undefined. #1153

Closed
TarikGul opened this issue Nov 28, 2022 · 0 comments · Fixed by #1177
Closed

[Bug] transaction-pool unwrapping undefined. #1153

TarikGul opened this issue Nov 28, 2022 · 0 comments · Fixed by #1177
Labels
C0 - Relay Related to the Relay chain I2 - Bug 🐜 Sidecar has a bug

Comments

@TarikGul
Copy link
Member

TarikGul commented Nov 28, 2022

While building out the extended e2e-tests, I was consistently getting this error:

2022-11-28 16:07:30 error: Cannot read properties of undefined (reading 'unwrap') 
 TypeError: Cannot read properties of undefined (reading 'unwrap')
    at NodeTransactionPoolService.computeExtPriority (/Users/tarikgul/Desktop/parity/tools-team/substrate-api-sidecar/build/src/services/node/NodeTransactionPoolService.js:89:80)
    at NodeTransactionPoolService.extractExtrinsicInfo (/Users/tarikgul/Desktop/parity/tools-team/substrate-api-sidecar/build/src/services/node/NodeTransactionPoolService.js:61:37)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
    at async NodeTransactionPoolService.fetchTransactionPool (/Users/tarikgul/Desktop/parity/tools-team/substrate-api-sidecar/build/src/services/node/NodeTransactionPoolService.js:35:26)
    at async NodeTransactionPoolController.getNodeTransactionPool (/Users/tarikgul/Desktop/parity/tools-team/substrate-api-sidecar/build/src/controllers/node/NodeTransactionPoolController.js:47:62)
    at async /Users/tarikgul/Desktop/parity/tools-team/substrate-api-sidecar/build/src/controllers/AbstractController.js:226:9

I was able to reproduce it, and it should be looked into and resolved.

This involved the following endpoint /node/transaction-pool?includeFee=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C0 - Relay Related to the Relay chain I2 - Bug 🐜 Sidecar has a bug
Projects
None yet
1 participant