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

[ethjs-query] while formatting outputs in 'getTransactionByHash' #17

Open
ayushkul opened this issue Sep 27, 2021 · 1 comment
Open

Comments

@ayushkul
Copy link

Issue Type

  • Bug

Description

Error: [ethjs-format] hex string '0x0xdce7150b95ec4677ec22b851106cd8964a37158b43' must be an alphanumeric 42 utf8 byte hex

I'm working with an older version of ethjs-query in an old project, lastly, it was working fine. But now it's throwing the following error while checking for the pending transactions. Although the transaction is successful, but it's unable to get its status.

"[ethjs-query] while formatting outputs from RPC '{"blockHash":"0x9970e674ae287c3fdb03b28813d7ed5a82dfa1036cbc5704525e2e45827aead9","blockNumber":"0x169a923","from":"xdce7150b95ec4677ec22b851106cd8964a37158b43","gas":"0x5208","gasPrice":"0x3b9aca00","hash":"0x49ff9aea452d64a0456fab70e2aae52b5e3264b934f269b34f590b84259b2c43","input":"0x","nonce":"0x1","to":"xdc73a72fa27979c7d6568a2c72587046b41323f2a9","transactionIndex":"0x0","value":"0xd02ab486cedc0000","v":"0x8a","r":"0x6c62ba8d38a8ddf563ac507a0251071616a57c740bb840117d7e11460ab3dc62","s":"0x5eb0da414fcc0cfea0de1c48dca191b19db7a12763a7d1cb229996677b4211ba"}' for method 'getTransactionByHash' Error: [ethjs-format] hex string '0x0xdce7150b95ec4677ec22b851106cd8964a37158b43' must be an alphanumeric 42 utf8 byte hex (chars: a-fA-F) string, is 46 bytes"

Versions

  • Node/NPM: 8.1.0
  • Browser: Chrome
@SilentCicero
Copy link
Member

SilentCicero commented Sep 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants