You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 2 following errors are failing when doing the acceptancetest:release against tesnet.
@release should execute "eth_getBlockByHash", hydrated transactions = true:
@release should execute "eth_getBlockByNumber", hydrated transactions = true:
They are failing since the test what it does is compare the amount of transactions from the response from the mirror node and the amount of transactions from the response of the relay however these amounts are different due to the latter including synthetic transactions
I think the solution is to change the tests themselves.
I can think of 2 ways to change the test.
When comparing the amount of txns from mirror-node and relay, to ignore the synthetic txns.
When caomparing the amount of txns from mirror-node and relay, add to the number of txns from the block of the mirror node, also the amount of logs for that same timestamp range and then compare it with the results from the relay.
I think the solution is to change the tests themselves.
I can think of 2 ways to change the test.
When comparing the amount of txns from mirror-node and relay, to ignore the synthetic txns.
When caomparing the amount of txns from mirror-node and relay, add to the number of txns from the block of the mirror node, also the amount of logs for that same timestamp range and then compare it with the results from the relay.
@AlfredoG87 For an initial approach I'd say # 2. Maybe in the order of
Check for # returned txns = # mirror contract results + # synthetic logs
Description
The 2 following errors are failing when doing the
acceptancetest:release
againsttesnet
.They are failing since the test what it does is compare the amount of transactions from the response from the
mirror node
and the amount of transactions from the response of therelay
however these amounts are different due to the latter includingsynthetic transactions
see the following example:
Mirror Node request:
Mirror Node Response:
Relay request:
In this example it has
88
txs the Relay vs the MirrorNode only1
The extra 87 txs are coming from logs with the same
Timestamp
range as the block.Mirror Node Logs Request:
Steps to reproduce
Run the command
with the .env configured against
testnet
Note: it might be needed to re-run the test a couple times.
Additional context
No response
Hedera network
testnet
Version
v0.28.1
Operating system
None
The text was updated successfully, but these errors were encountered: