Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

make next_entries() smarter about fitting Transactions into a Blob #751

Merged
merged 2 commits into from
Jul 25, 2018

Conversation

rob-solana
Copy link
Contributor

previous logic assumed that all transactions were the same size, and that simple binary splitting would make them fit into a nice power of 2 Entries

fixes #740

@mvines mvines mentioned this pull request Jul 25, 2018
@rob-solana rob-solana merged commit 33bd122 into solana-labs:master Jul 25, 2018
@rob-solana rob-solana deleted the mvines-panic branch July 25, 2018 04:38
@mvines
Copy link
Contributor

mvines commented Jul 25, 2018

lgtm!

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.

thread 'solana-record-stage' panicked at 'assertion failed: serialized_size(&entry).unwrap() <= BLOB_DATA_SIZE as u64', src/entry.rs:67:9
2 participants