-
Notifications
You must be signed in to change notification settings - Fork 37
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
[v1.3] eth_newFilter incompatibility with eth #1025
Comments
Empty logs should be represented as expect(logs).to.be.equal([]); And I have created a similar testcase before 😄 https://github.com/nervosnetwork/godwoken-tests/pull/143/files#diff-5a9d016b1531b5de7f83f95c594c036c72e18a10fed58d5897157dce20beebbaR66 |
Your suggestion is a worthy enhancement. Currently, Godwoken-Web3 returns an empty array |
I do not quite understand these two cases. Would you like to provide more information? @gpBlockchain |
[].toString() == "" |
If the current block height < fromBlock, send |
If the current block height < fromBlock, send
solidity code
constant
step
result
|
|
It should throw InvalidFilterTopic when creating a filter, but now InternalError. It is a bug. |
|
|
I found that the first call of |
Performs like Geth now |
We can keep the status quo, which performs like Geth now. |
Env
url:https://godwoken-alphanet-v1.ckbapp.dev
incompatibility case
eth_getFilterChanges
should not have the data from the last callfilter : fromBlock = eth_blockNumber()+1000 ,should filter log.number >= eth_blockNumber()+1000
filter : toBlock = earliest ,should return error msg
eth_getFilterChanges
should not return 'Internal error'test code
test repo:https://github.com/gpBlockchain/godwoken-tests/blob/issue-test/contracts/test/Issue.js#L7
The text was updated successfully, but these errors were encountered: