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

Port BlockSpaceAllocator to main #976

Merged
merged 37 commits into from
Apr 13, 2023
Merged

Conversation

sug0
Copy link
Contributor

@sug0 sug0 commented Jan 3, 2023

@sug0 sug0 added enhancement New feature or request ledger labels Jan 3, 2023
batconjurer
batconjurer previously approved these changes Jan 4, 2023
@sug0 sug0 marked this pull request as draft January 9, 2023 14:20
@sug0
Copy link
Contributor Author

sug0 commented Jan 9, 2023

converted to a draft. this logic will need to change slightly, to include encrypted txs first.

@grarco grarco mentioned this pull request Jan 9, 2023
@juped juped added this to the 0.14 milestone Jan 10, 2023
@grarco grarco mentioned this pull request Jan 13, 2023
4 tasks
@tzemanovic tzemanovic modified the milestones: 0.14, 0.15 Feb 8, 2023
@sug0
Copy link
Contributor Author

sug0 commented Feb 22, 2023

pls update wasm

@sug0 sug0 marked this pull request as ready for review February 22, 2023 10:08
@sug0
Copy link
Contributor Author

sug0 commented Feb 26, 2023

pls update wasm

sug0 added a commit that referenced this pull request Mar 7, 2023
BSA: Allocate encrypted txs first

Update PrepareProposal logic

Fix unit tests in PrepareProposal

Update ProcessProposal logic
@tzemanovic
Copy link
Member

what's the status of this PR, are we just waiting for reviews?

@sug0
Copy link
Contributor Author

sug0 commented Mar 31, 2023

@tzemanovic yes, essentially. it has been ready for review for ages

@juped
Copy link
Member

juped commented Mar 31, 2023

I approve but someone else should too

tzemanovic added a commit that referenced this pull request Mar 31, 2023
* tiago/main/block-space-allocator:
  Check if no decrypted txs are proposed before wrapper txs
  Fix pos_bonds() e2e test
  Increase minimum epoch length in e2e tests
  Log the length of the excluded tx instead of its payload
  Fix BSA unit tests
  Allocate txs in block space allocator in another order: EDP
  Change docstrs to reflect the new order of txs in the BSA
  Fix test_wrapper_unknown_address() unit test
  Fix test_wrapper_insufficient_balance_address() unit test
  Fix some unit tests
  Rename: GetActiveValidators -> ActiveValidators
  PosQueries related fixes
  Remove need to allocate while iterating active validator sets
  Misc 0.14.0 rebase fixes
  Fix PosQueries
  Temporarily disable get_validator_from_tm_address()
  Fix ProcessProposal unit tests
  Fix ABCI++ build
  Fix import errors
  Fix EndBlock shim call on process_txs()
  Add block space allocator logic to ProcessProposal
  Add allocation error code to ProcessProposal
  Replace Vec<u8> with TxBytes
  Remove index-set from apps
  Add the block space allocator to PrepareProposal
  Add compiler hints
  Remove tx records
  Shim PrepareProposal response
  Add TODO items
  Add block space allocator impl
  Make first block heights of each epoch public
  Add PosQueries
  Add new deps
  Add block space allocator specs
@tzemanovic tzemanovic mentioned this pull request Mar 31, 2023
@sug0 sug0 requested a review from tzemanovic April 4, 2023 14:17
tzemanovic
tzemanovic previously approved these changes Apr 4, 2023
tzemanovic added a commit that referenced this pull request Apr 7, 2023
* tiago/main/block-space-allocator:
  Improve ErrorCodes::is_recoverable()
  Rename active to consensus validators in PosQueries
  Read token balances with storage_api::token::read_balance()
@juped juped merged commit 616408a into main Apr 13, 2023
@juped juped deleted the tiago/main/block-space-allocator branch April 13, 2023 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ledger
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants