-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Enforce the block size limit #2195
Merged
Merged
Changes from 41 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
fa1288b
Add support for `ConsensusParametersVersion::V2`
rafal-ch 0c65bbe
Update `CHANGELOG.md`
rafal-ch 25432d2
Remove the temporary comment
rafal-ch 0a0b6c2
Fix imports in tests
rafal-ch 3068d2f
`#[allow(clippy::large_enum_variant)]` for `enum FakeProducedBlock` a…
rafal-ch 0656491
Update expected GraphQL schema
rafal-ch a1ea188
Update `state_transition_bytecode.wasm`
rafal-ch 345a03f
Thread the `block_transaction_size_limit` parameter across the system
rafal-ch 256dfb7
Add `used_size` to `ExecutionData`
rafal-ch 960745c
Remove stray comment
rafal-ch ecb57d8
Transaction selector respects block size limit
rafal-ch a75d865
`select_transactions()` does not need to `collect()`
rafal-ch 6e2bf19
Split test cases using `rstest`
rafal-ch 7c14352
Merge remote-tracking branch 'upstream/master' into 2133_block_size_c…
rafal-ch c002c0c
Applying several breaking changes to the WASM interface from backlog
xgreenx 2cfcaa5
Make CI happy
xgreenx af91864
Merge branch 'master' into feature/wasm-interface-breaking-changes
xgreenx 8032b7a
Remove timeout error because bytecode is not compiled
xgreenx 94851b8
Use always compiled WASM bytecode for local testnet
xgreenx b7d8da6
Merge branch 'feature/wasm-interface-breaking-changes' into 2133_bloc…
rafal-ch 96b4c7c
Merge branch '2133_block_size_consensus_parameter' into 2133_enforce_…
rafal-ch c85879b
Update patch for `fuel-vm` to `master` branch
rafal-ch 309d1af
Merge branch '2133_block_size_consensus_parameter' into 2133_enforce_…
rafal-ch 03004ac
Add integration test verifying the block size limit enforcement
rafal-ch 7851fb1
Add more integration tests for block transaction size limit
rafal-ch 445a51c
Merge remote-tracking branch 'upstream/master' into 2133_enforce_the_…
rafal-ch 7e27fd6
Update CHANGELOG.md
rafal-ch b408669
Updates after the master merge
rafal-ch a8263fd
Simplify creation of transactions in tests
rafal-ch d01dcff
Revert changes to `state_transition_bytecode.wasm`
rafal-ch 0b7633b
Merge branch 'master' into 2133_enforce_the_block_size_limit
xgreenx 99099e6
Merge remote-tracking branch 'upstream/master' into 2133_enforce_the_…
rafal-ch 70dbe06
Remove patch to `fuel-vm` from `Cargo.toml`
rafal-ch e7e3102
Merge remote-tracking branch 'upstream/2133_enforce_the_block_size_li…
rafal-ch f62fa43
Fix formatting
rafal-ch af8164c
Add missing comment
rafal-ch 82949df
Set block transaction size limit in E2E tests to large value
rafal-ch 474a81d
Update `too_many_transactions_are_split_in_blocks()` test to not fail…
rafal-ch 9fdf1f7
Do not re-introduce `V2` in the `ConsensusParametersVersion` schema
rafal-ch f9b95c1
Update comment
rafal-ch 010baf9
Merge branch 'master' into 2133_enforce_the_block_size_limit
xgreenx 9bdea6d
Revert changes to `Cargo.lock`
rafal-ch 36ab508
Simplify code of `select_transactions()` by using `saturating_add()`
rafal-ch 15a2cf7
Remove superfluous calls to `tokio::time::sleep` in tests
rafal-ch 26fd531
Merge remote-tracking branch 'upstream/2133_enforce_the_block_size_li…
rafal-ch 251c01d
Merge branch 'master' into 2133_enforce_the_block_size_limit
xgreenx be29818
Merge branch 'master' into 2133_enforce_the_block_size_limit
xgreenx 92da3b0
Merge remote-tracking branch 'upstream/master' into 2133_enforce_the_…
rafal-ch 70e9178
Merge remote-tracking branch 'upstream/2133_enforce_the_block_size_li…
rafal-ch ef22a3b
Merge branch 'master' into 2133_enforce_the_block_size_limit
xgreenx e748837
Change `block_transaction_size_limit` to be `u32` instead of `u64`
rafal-ch 0872751
Merge remote-tracking branch 'upstream/2133_enforce_the_block_size_li…
rafal-ch c226aee
Merge branch 'master' into 2133_enforce_the_block_size_limit
rafal-ch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed that, but the block size should be
u32
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in e748837