-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Can't transfer tokens #2764
Comments
Thanks for opening this issue! As it looks like is partiy not returning a block number in the transaction receipt: { jsonrpc: '2.0',
result:
{ blockHash: null,
blockNumber: null,
contractAddress: null,
cumulativeGasUsed: '0x96b9',
from: null,
gasUsed: '0x96b9',
logs: [ [Object] ],
logsBloom:
'0x0000000000100000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000800000000000000000000000000000000010000000000000000
0000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000002000000000000000000100000000000000000000000000000000000000000010000000000000000000000000000002000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000002',
root: null,
status: '0x1',
to: null,
transactionHash:
'0xd1e0cf24bb077418b1836470b2d225c37568b373490b1b2087987c2ec8c06545',
transactionIndex: '0x0' },
id: 3 } Could you open an issue in the parity repository? |
Opened openethereum/parity-ethereum#10623 |
BTW with 1.0.0-beta.36 the source piece of code works well. |
Yes, because there isn't a check if a new block got mined if you use the HttpProvider. The fix in the latest version would be to use the WebsocketProvider. Edit: TransactionObserver |
Will the issue be fixed for the HttpProvider? |
I've changed the source code with the WebsocketProvider. Now it hangs on the line:
|
@vanzay The HttpProvider issue got already fixed and will be released today. Btw.: Could you ask further question in our gitter channel, on StackOverflow or the community-driven discord server? |
In 1.0.0-beta.54 the HttpProvider still doesn't work. |
Could you add a GitHub repository or all required code snippets to reproduce it? |
Did you also test it with a configured transaction confirmation workflow as described in the documentation? |
Also tried this way:
the same result. |
You have to wait for 24 blocks and then the transaction will resolve. |
But why do I receive an exception? How to avoid it? |
@nivida Why has the issue been closed? It's not resolved yet (see the comment above). |
I agree, I'm still getting this issue. The issue shouldn't be closed until there's a satisfactory resolution for it. Please re-open. |
I am currently not happy:
and now, when i finally figured all that out:
what is going on @nivida? |
Could you reference a GitHub repository? @imbenwolf |
hi @nivida please see referenced issues in my comment. here a short summary:
|
Description
I'm trying to transfer tokens like this
and I'm receiving an error "Invalid params: invalid type: null, expected a block number or 'latest', 'earliest' or 'pending'."
RPC calls traces
Versions
The text was updated successfully, but these errors were encountered: