Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Validating block_size_limit enforces manageable block txn sizes #1463

Merged
merged 6 commits into from
Mar 2, 2022

Conversation

jeffgrunewald
Copy link
Contributor

PaymentV2 testing additions validate that enforcing a block_size_limit chain variable drops the byte_size of serialized txns and txns continue to flow into subsequent blocks when they are not able to fit into a block.

Also validates and enforces that txns that are too big to ever be serialized to a size that will fit within the given limit are rejected in the hbbft_sidecar process submitting txns to the consensus group so they don't clog up the submission queue.

@evanmcc evanmcc merged commit 80ac550 into master Mar 2, 2022
@evanmcc evanmcc deleted the jg/test_block_size_limit branch March 2, 2022 23:17
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 this pull request may close these issues.

3 participants