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

Send ECR20 Token - Tx still in pending #113

Open
etanoox opened this issue Jun 5, 2019 · 4 comments
Open

Send ECR20 Token - Tx still in pending #113

etanoox opened this issue Jun 5, 2019 · 4 comments

Comments

@etanoox
Copy link

etanoox commented Jun 5, 2019

Hello guys,
i need to transfer ECR20 token on the Ropsten from the CLI.

My "history":

`root@me-X540LA:~# export WEB3_NETWORK="ropsten"

root@me-X540LA:~# export WEB3_PRIVATE_KEY="XXXXXXXXXXXXXX"

root@me-X540LA:~# export WEB3_ADDRESS="0x7BbcF517d6bE3a354669019a88c48b24CEc6B311"

root@me-X540LA:~# web3 contract list --abi abi
function totalSupply() constant returns(uint256)
function decimals() constant returns(uint8)
function balanceOf( address) constant returns(uint256)
function symbol() constant returns(string)
function transfer(_to address, _value uint256) returns(success bool)
function approveAndCall(_spender address, _value uint256, _extraData bytes) returns(success bool)
function name() constant returns(string)
function approve(_spender address, _value uint256) returns(success bool)
function transferFrom(_from address, _to address, _value uint256) returns(success bool)
function burn(_value uint256) returns(success bool)
function burnFrom(_from address, _value uint256) returns(success bool)
function allowance( address, address) constant returns(uint256)

root@me-X540LA:~# web3 contract call --abi abi --function balanceOf 0x7d61CfA6F4f6078E857cBb3D0B677E964766c667
497990000000000000000000

root@me-X540LA:~# web3 contract call --abi abi --function transfer 0x7BbcF517d6bE3a354669019a88c48b24CEc6B311 90000000000000000000
Transaction address: 0xdaab60537981d4882b588cff6af21027f66ad484ec76a9e0c317c7b453c96e7b

root@me-X540LA:~# web3 tx 0xdaab60537981d4882b588cff6af21027f66ad484ec76a9e0c317c7b453c96e7b
Hash: 0xdaab60537981d4882b588cff6af21027f66ad484ec76a9e0c317c7b453c96e7b
From: 0x7d61CfA6F4f6078E857cBb3D0B677E964766c667
To: 0x7BbcF517d6bE3a354669019a88c48b24CEc6B311
Value: 0.000000000000000000 ETH
Nonce: 11
Gas Limit: 20000000
Gas Price: 10.000000000 gwei
Pending: true
Input Length: 68 bytes
`

As you can see at the end, the TX stay in Pending and, of course, i can't see this TX on Etherscan.
Is it a bug or am i missing something?

@jmank88
Copy link
Contributor

jmank88 commented Jun 5, 2019

Are you still able to see the tx as pending? I am not able to see it via web3 or etherscan.

It doesn't seem like a web3 bug, since the tx would have to be valid to be accepted in to the pool. It may take a little while for the tx to propagate around to etherscan nodes and mining nodes, but I don't know why it would be dropped after pending unless nodes were reset.

@etanoox
Copy link
Author

etanoox commented Jun 6, 2019

Can you explain how to validate the transaction using this version of Web3?

@treeder
Copy link
Contributor

treeder commented Jun 6, 2019

From looking at your transactions on etherscan: https://ropsten.etherscan.io/address/0x7d61CfA6F4f6078E857cBb3D0B677E964766c667

It looks like a couple failed to that to address you used a few days ago, but a couple worked also. Were you doing the same thing for the ones that worked?

@jmank88
Copy link
Contributor

jmank88 commented Jun 6, 2019

Can you explain how to validate the transaction using this version of Web3?

If the tx was invalid, it would not have been accepted to the pool, and would have been rejected up front instead of 'pending'. The evidence here suggests that the tx was valid, but was dropped from the pool before propagating around and being processed.

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

3 participants