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

Charge exponential gas for (unbounded) number of log topics #149

Open
ryscheng-bot bot opened this issue Jul 17, 2019 · 0 comments
Open

Charge exponential gas for (unbounded) number of log topics #149

ryscheng-bot bot opened this issue Jul 17, 2019 · 0 comments

Comments

@ryscheng-bot
Copy link

ryscheng-bot bot commented Jul 17, 2019

@nhynes commented on Apr 24, 2019, 7:02 PM UTC:

The false positive rate of a bloom filter grows inverse exponentially with the number of elements (topics) included. Ethereum charges linear gas per topic, which could lead to DoS attacks if the number of topics weren't limited to four (which is, itself, an arbitrary restriction). The proposal is to allow an unlimited number of topics by charging proportionally to the increase in collision probability (w.r.t. the expected collision probability for the current block--possibly based on historical Ethereum data).

This issue was moved by willscott from oasislabs/private-issues#468.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants