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
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
7919bcd
Add block space allocator specs
sug0 Dec 22, 2022
68b3356
Add new deps
sug0 Dec 22, 2022
f5d05a0
Add PosQueries
sug0 Dec 22, 2022
94e4eeb
Make first block heights of each epoch public
sug0 Dec 22, 2022
b0eb185
Add block space allocator impl
sug0 Dec 22, 2022
160610e
Add TODO items
sug0 Dec 22, 2022
3ee117f
Shim PrepareProposal response
sug0 Jan 3, 2023
513b886
Remove tx records
sug0 Jan 3, 2023
4b163f4
Add compiler hints
sug0 Jan 3, 2023
3fa6aa4
Add the block space allocator to PrepareProposal
sug0 Jan 3, 2023
741a2a3
Remove index-set from apps
sug0 Jan 3, 2023
4c03547
Replace Vec<u8> with TxBytes
sug0 Jan 3, 2023
37894f8
Add allocation error code to ProcessProposal
sug0 Jan 3, 2023
ac83b79
Add block space allocator logic to ProcessProposal
sug0 Jan 3, 2023
36dd49c
Fix EndBlock shim call on process_txs()
sug0 Jan 3, 2023
9cf76be
Fix import errors
sug0 Jan 3, 2023
f069e3d
Fix ABCI++ build
sug0 Jan 3, 2023
a659e4b
Fix ProcessProposal unit tests
sug0 Jan 3, 2023
ce7e74f
Temporarily disable get_validator_from_tm_address()
sug0 Feb 16, 2023
57fa752
Fix PosQueries
sug0 Feb 16, 2023
0196a7c
Misc 0.14.0 rebase fixes
sug0 Feb 16, 2023
f16c2cc
Remove need to allocate while iterating active validator sets
sug0 Feb 16, 2023
8e3a720
PosQueries related fixes
sug0 Feb 16, 2023
630ea2f
Rename: GetActiveValidators -> ActiveValidators
sug0 Feb 16, 2023
13f1951
Fix some unit tests
sug0 Feb 17, 2023
9d4478c
Fix test_wrapper_insufficient_balance_address() unit test
sug0 Feb 20, 2023
457fcfa
Fix test_wrapper_unknown_address() unit test
sug0 Feb 20, 2023
7107571
Change docstrs to reflect the new order of txs in the BSA
sug0 Feb 20, 2023
97b7aee
Allocate txs in block space allocator in another order: EDP
sug0 Feb 20, 2023
3860208
Fix BSA unit tests
sug0 Feb 20, 2023
c8854f7
Log the length of the excluded tx instead of its payload
sug0 Feb 21, 2023
5dee51f
Increase minimum epoch length in e2e tests
sug0 Feb 21, 2023
0c517bc
Fix pos_bonds() e2e test
sug0 Feb 21, 2023
1da044e
Check if no decrypted txs are proposed before wrapper txs
sug0 Feb 23, 2023
33d0b6f
Read token balances with storage_api::token::read_balance()
sug0 Apr 3, 2023
5cf3b18
Rename active to consensus validators in PosQueries
sug0 Apr 3, 2023
9d75163
Improve ErrorCodes::is_recoverable()
sug0 Apr 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ ark-serialize = "0.3.0"
ark-std = "0.3.0"
# branch = "bat/arse-merkle-tree"
arse-merkle-tree = {package = "sparse-merkle-tree", git = "https://github.com/heliaxdev/sparse-merkle-tree", rev = "04ad1eeb28901b57a7599bbe433b3822965dabe8", features = ["std", "borsh"]}
assert_matches = "1.5.0"
async-std = {version = "=1.11.0", features = ["unstable"]}
async-trait = "0.1.51"
base64 = "0.13.0"
Expand All @@ -100,6 +101,7 @@ itertools = "0.10.1"
libc = "0.2.97"
libloading = "0.7.2"
num-derive = "0.3.3"
num-rational = "0.4.1"
num-traits = "0.2.14"
num_cpus = "1.13.0"
once_cell = "1.8.0"
Expand Down
Loading