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

Eth JSON-RPC: unsupported event type newPendingTransactions in eth_subscribe #10150

Open
maciejwitowski opened this issue Jan 31, 2023 · 0 comments
Assignees
Labels
area/api area/eth-api kind/bug Kind: Bug P2 P2: Should be resolved
Milestone

Comments

@maciejwitowski
Copy link
Contributor

maciejwitowski commented Jan 31, 2023

Description

eth_subscribe returns error when subscribing to pending transactions

[email protected]/handler.go:404	error in RPC call to 'eth_subscribe': unsupported event type: newPendingTransactions

Reproduce with web3.js

const Web3 = require('web3');

const host = '<RPC_endpoint'>;

const web3 = new Web3('ws://' + host + '/rpc/v0')

const subscription = web3.eth.subscribe('pendingTransactions', function(error, result){
  console.log(error, result);
});
await new Promise(r => setTimeout(r, 10000));
@maciejwitowski maciejwitowski changed the title Eth JSON-RPC: issues in eth_subscribe events Eth JSON-RPC: issues in subscribing to newBlockHeaders and pendingTransactions Jan 31, 2023
@maciejwitowski maciejwitowski changed the title Eth JSON-RPC: issues in subscribing to newBlockHeaders and pendingTransactions Eth JSON-RPC: unsupported event type: newPendingTransactions in eth_subscribe Jan 31, 2023
@maciejwitowski maciejwitowski changed the title Eth JSON-RPC: unsupported event type: newPendingTransactions in eth_subscribe Eth JSON-RPC: unsupported event type newPendingTransactions in eth_subscribe Jan 31, 2023
@jennijuju jennijuju moved this to 🌟 In Scope in Network v18 Feb 13, 2023
@jennijuju jennijuju added the P2 P2: Should be resolved label Feb 13, 2023
@jennijuju jennijuju added this to the Network v18 milestone Feb 13, 2023
@ZenGround0 ZenGround0 removed the FEVM label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api area/eth-api kind/bug Kind: Bug P2 P2: Should be resolved
Projects
No open projects
Status: 🌟 In Scope
Development

No branches or pull requests

5 participants