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

feat: return an error if a transaction exceeds the block's gas or size limit during mempool insertion #296

Open
beer-1 opened this issue Nov 6, 2024 · 0 comments · May be fixed by #297
Assignees

Comments

@beer-1
Copy link
Contributor

beer-1 commented Nov 6, 2024

Is your feature request related to a problem? Please describe.
When a transaction is inserted into the mempool, there are cases where it silently disappears due to its size or gas consumption. In the block SDK, during proposal preparation and processing, transactions that exceed the block limit are automatically removed.

Describe the solution you'd like
We can customize the mempool to reject a transaction at insertion if it exceeds the block limit.

@beer-1 beer-1 self-assigned this Nov 6, 2024
@beer-1 beer-1 linked a pull request Nov 6, 2024 that will close this issue
11 tasks
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

Successfully merging a pull request may close this issue.

1 participant