Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(eth): fix bloom filter test flake (#12643)
The mask changes based on the address of the deployed actor. In this test, this address is not constant because we don't deploy with CREATE2. Instead of checking bits and then counting the number of bits, just re-create the expected bloom filter and verify that it's correct. NOTE: the original test was broken because it expected 6 bits: 3 from the topic, 3 from the address. But bloom filters are probabilistic and we could have anywhere from 3-6 bits depending on how many collisions we get.
- Loading branch information