Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

BlockBloom in block and header always returns empty #277

Closed
thomas-nguy opened this issue Jul 13, 2021 · 0 comments · Fixed by #321
Closed

BlockBloom in block and header always returns empty #277

thomas-nguy opened this issue Jul 13, 2021 · 0 comments · Fixed by #321
Assignees

Comments

@thomas-nguy
Copy link
Contributor

Steps to reproduce:

This is because we are miss using the method ContextWithHeight

In EthBlockFromTendermint

blockBloomResp, err := queryClient.BlockBloom(types.ContextWithHeight(block.Height), &evmtypes.QueryBlockBloomRequest{})

in BlockBloom

	ctx := sdk.UnwrapSDKContext(c)

	bloom, found := k.GetBlockBloom(ctx, ctx.BlockHeight())
	

ctx.BlockHeight() is not equal to block.Height but is equal to the latest height

@thomas-nguy thomas-nguy self-assigned this Jul 14, 2021
mmsqe referenced this issue in mmsqe/ethermint Jun 14, 2023
* fix: decode filtered logs in ws (backport: evmos#1781) (#251)

* fix decode logs in ws

* add test

* add change doc

* decode in single loop

* add ci timeout

* reset max-tx-gas-wanted

* fix rest filter api

* test batch tx with exist sc

* more filter tests

* fix test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant