This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Use a better data structure for SignedSubmissions instead of Vec #8933
Merged
coriolinus
merged 85 commits into
kiz-election-provider-3-signed-phase
from
prgn-election-provider-multi-phase-bounded-btree-set-signed-submissions
Jun 18, 2021
Merged
Changes from 82 commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
14fcad9
Remove: (#8748)
kpp 27cc30e
CI: fix simnet trigger (#8927)
TriplEight 925f170
More sc-service config reexports (#8887)
MOZGIII 426d57b
Fix check runtime CI (#8930)
athei c2ec5bc
Bump parity-wasm and pwasm-utils to the newest versions everywhere (#…
athei 1d03d4e
BROKEN: convert SignedSubmissions to BoundedBTreeSet
coriolinus 050e4ac
Simple `MaxBoundedLen` Implementations (#8793)
shawntabrizi 6a63f28
remove duplicate Issued/Burned events (#8935)
joepetrowski 4b99c7f
weather -> whether (#8938)
semuelle ac277db
make remote ext use batch ws-client (#8916)
kianenigma 6aaa031
Make `Schedule` fields public to allow for customization (#8924)
athei be1b8ef
Session key should be settable at genesis even for non-endowed accoun…
gavofyork 88021e9
Migrate pallet-scored-pool to pallet attribute macro (#8825)
shaunxw 87e63fa
Bump retain_mut from 0.1.2 to 0.1.3 (#8951)
dependabot[bot] 7209f7c
Merge remote-tracking branch 'origin/kiz-election-provider-3-signed-p…
coriolinus 61aa8dc
Use correct CreateInherentDataProviders impl for manual seal (#8852)
fc29e14
Refactor code a little bit (#8932)
kpp 6d43761
Optimize `next_storage_key` (#8956)
bkchr 2538839
Add deserialize for TransactionValidityError in std. (#8961)
kianenigma 7ba4e4c
Bump getrandom from 0.2.2 to 0.2.3 (#8952)
dependabot[bot] da051b1
Allow usage of path in construct_runtime! (#8801)
KiChjang f87609a
Reduce cargo doc warnings (#8947)
gilescope 5ceb0b0
Update wasmtime to 0.27 (#8913)
pepyakin e1d93fb
Spellling corrections (no code changes) (#8971)
gilescope 04aa0e9
Dependabot use correct label (#8973)
bkchr 408e803
Inject hashed prefix for remote-ext (#8960)
kianenigma bfef07c
Use `SpawnTaskHandle`s for spawning tasks in the tx pool (#8958)
expenses 24750ea
Do not spend time on verifying the signatures before calling Runtime …
pepyakin fa23b18
Revert "Use `SpawnTaskHandle`s for spawning tasks in the tx pool (#8…
expenses d8b3fce
Uniques: An economically-secure basic-featured NFT pallet (#8813)
gavofyork 45f1630
Update WeakBoundedVec's remove and swap_remove (#8985)
9f621a9
Convert another instance of Into impl to From in the macros (#8986)
MOZGIII 4652f9e
also fix bounded vec (#8987)
shawntabrizi b2cdfe8
fix most compiler errors
coriolinus dcf24c7
extract type SignedSubmissionsOf<T>
coriolinus 33e6e45
impl Decode bounds on BoundedBTreeMap/Set on T, not predecessor
coriolinus 1990b81
fix recursive trait bound problem
coriolinus a8069e5
minor fixes
coriolinus d961e2f
more little fixes
coriolinus 1ab8cf2
correct semantics for try_insert
coriolinus d5724a2
more fixes
coriolinus 9b4f143
derive Ord for SolutionType
coriolinus 997a469
tests compile
coriolinus 35277ea
fix most tests, rm unnecessary one
coriolinus 538b15f
Transactionpool: Make `ready_at` return earlier (#8995)
bkchr 437c838
Discard notifications if we have failed to parse handshake (#8806)
tomaka 94679eb
Migrate pallet-democracy to pallet attribute macro (#8824)
shaunxw 48aea1b
Add ecdsa::Pair::verify_prehashed() (#8996)
adoerr b14fdf5
Non-fungible token traits (#8993)
gavofyork 2562dda
Removes unused import (#9007)
0x7CFE d6e4db6
Add Call Filter That Prevents Nested `batch_all` (#9009)
shawntabrizi ea5d357
Transaction pool: Ensure that we prune transactions properly (#8963)
bkchr a57bc44
Storage chain: Runtime module (#8624)
arkpar 7d8a9b6
more useful error message (#9014)
0495ead
Named reserve (#7778)
xlc e98aca3
update ss58 type to u16 (#8955)
jak-pan d27dea9
Fixed build (#9021)
arkpar 2cff60c
Bump parity-db (#9024)
adoerr 37bb3ae
consensus: handle justification sync for blocks authored locally (#8698)
andresilva 24a92c3
arithmetic: fix PerThing pow (#9030)
andresilva 1085a90
Compact proof utilities in sp_trie. (#8574)
cheme 1fa8cf7
Don't inlucde nominaotrs that back no one in the snapshot. (#9017)
kianenigma a8e3f36
fix all_in_one test which had a logic error
coriolinus 8190214
use sp_std, not std
coriolinus 5d89967
Periodically call `Peerset::alloc_slots` on all sets (#9025)
tomaka fa26ce6
contracts: Add new `seal_call` that offers new features (#8909)
athei d089179
fix unreserve_all_named (#9042)
xlc 0af6df5
Delete legacy runtime metadata macros (#9043)
ascjones 0a2472d
`rpc-http-threads` cli arg (#8890)
tgmichel 4ec3a3a
allow inserting equal items into bounded map/set
coriolinus 3d7dc0b
refactor: only load one solution at a time
coriolinus 07a1af3
Emit `Bonded` event when rebonding (#9040)
shawntabrizi dae31f2
fix tests
coriolinus de92b1e
Merge remote-tracking branch 'origin/master' into prgn-election-provi…
coriolinus 95d7324
Revert "Merge remote-tracking branch 'origin/master' into prgn-electi…
coriolinus e614849
Merge remote-tracking branch 'origin/kiz-election-provider-3-signed-p…
coriolinus 847b98c
only derive debug when std
coriolinus 5b2a7c5
write after check
coriolinus 7f4a837
SignedSubmissions doesn't ever modify storage until .put()
coriolinus 3317a4b
REVERT ME: demo that Drop impl doesn't work
coriolinus 8313f58
Revert "REVERT ME: demo that Drop impl doesn't work"
coriolinus 58c96b4
doc note about decode_len
coriolinus 9388c2c
rename get_submission, take_submission for clarity
coriolinus a8e0441
add test which fails for current incorrect behavior
coriolinus 7dfc184
inline fn insert_submission
coriolinus 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.