Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Replace RollingSessionWindow in approval-voting with RuntimeInfo #7123

Merged
merged 26 commits into from
May 12, 2023
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5eb24c6
Replace `RollingSessionWindow` with `RuntimeInfo` - initial commit
tdimitrov Apr 13, 2023
b0da049
Fix tests in import
tdimitrov Apr 20, 2023
93e6863
Fix the rest of the tests
tdimitrov Apr 20, 2023
a7b74cc
Remove dead code
tdimitrov Apr 20, 2023
0f84b42
Fix todos
tdimitrov Apr 21, 2023
0e486d4
Simplify session caching
tdimitrov Apr 21, 2023
f6a9d98
Comments for `SessionInfoProvider`
tdimitrov Apr 21, 2023
2918b42
Separate `SessionInfoProvider` from `State`
tdimitrov Apr 21, 2023
837f952
`cache_session_info_for_head` becomes freestanding function
tdimitrov Apr 21, 2023
6f609f3
Remove unneeded `mut` usage
tdimitrov Apr 21, 2023
82a0ebc
fn session_info -> fn get_session_info() to avoid name clashes. The f…
tdimitrov Apr 24, 2023
dca7287
Fix SessionInfo retrieval
tdimitrov Apr 24, 2023
360b96d
Code cleanup
tdimitrov Apr 24, 2023
caa2529
Don't wrap `SessionInfoProvider` in an `Option`
tdimitrov Apr 25, 2023
7665ecd
Remove `earliest_session()`
tdimitrov Apr 27, 2023
3f2b85c
Remove pre-caching -> wip
tdimitrov Apr 28, 2023
19e9588
Fix some tests and code cleanup
tdimitrov May 2, 2023
70d136f
Fix all tests
tdimitrov May 2, 2023
6e348c9
Fixes in tests
tdimitrov May 2, 2023
4fa4403
Fix comments, variable names and small style changes
tdimitrov May 2, 2023
dc0542a
Fix a warning
tdimitrov May 2, 2023
233478e
impl From<SessionWindowSize> for NonZeroUsize
tdimitrov May 5, 2023
d27220a
Fix logging for `get_session_info` - remove redundant logs and decrea…
tdimitrov May 6, 2023
407eb27
Merge branch 'master' into tsv-rolling-session-approval-voting
tdimitrov May 6, 2023
2ed7dfd
Code review feedback
tdimitrov May 9, 2023
dcac680
Merge branch 'master' into tsv-rolling-session-approval-voting
tdimitrov May 10, 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
Loading