-
Notifications
You must be signed in to change notification settings - Fork 295
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
add pending txn subscription support #3885
Conversation
@rlan35 was the PR been tested ? can you attached the test logs if you did ? Also since we have type change what is the impact of our/dapp RPC usage ? do we need to any special communication regarding that change ? |
this should not have any regressions. the test logs are in the issue: #3881 |
see test done on testnet here : #3881 (comment) |
@rlan35 not sure if normal but the test i did shows a duplicate tx each time.
it's a minor issue but just wanted to let you know |
@gupadhyaya is this normal, did you notice this in your local testing? |
Just a note that whilst pending txes worked on my local build as above, it appears that getting the transaction for the hash always returns nil rather than the tx struct data (on go-etherum client) e.g.
is_pending is true but tx is always nil On other evm chains, this works as expected, and a quick test in etherjs shows the same issues so it's not a go issue- eth_gettransaction rpc method isn't able to get the tx details for the hash even tho it's in the node's mempool it seems - is the a harmony limitation or a sep. bug? |
A web3 exmple of my earlier comment:
|
Im having the same issue as damien. I also get null transaction data on pending transactions. This only happens on my private rpc node and not on the hmy public one though |
Feed promoted pending txns into the pending txn subscription channel, so all subscribed source can get the new pending txns.