terence tsao
f2a3fadda7
Productionization new state service part 1 ( #5230 )
...
* Fixed last play methods
* Fixed a regression. Genesis case for state gen
* Comment
* Starting
* Update proto
* Remove boundary root usages
* Update migrate
* Clean up
* Remove unused db methods
* Kafta
* Kafta
* Update tests
* Comments
* Fix state summary tests
* Missed one pass through for kafta
2020-03-27 13:28:38 -07:00
terence tsao
5e2faf1a9d
Short circuit genesis condition for new state mgmt ( #5223 )
...
* Fixed a regression. Genesis case for state gen
* Comment
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-26 14:13:45 -05:00
terence tsao
dc3fb018fe
Fix new state mgmt sync stuck in a loop ( #5142 )
2020-03-19 18:46:35 -07:00
terence tsao
e529f5b1d6
Part 1 of integrating new state mgmt to run time ( #5108 )
2020-03-16 12:07:07 -07:00
terence tsao
3660732f44
Resume new state mgmt ( #5102 )
2020-03-15 09:47:49 -07:00
terence tsao
eeffa4fb30
New state getter ( #5101 )
...
* getter.go
* getter_test.go
* fixed a cold bug
* fmt gaz
* All tests pass
* Merge branch 'master' into new-state-getter
* Merge refs/heads/master into new-state-getter
2020-03-14 18:39:23 +00:00
terence tsao
f17818b1c0
New state setter ( #5100 )
...
* setter.go
* tests
* fmt
* Merge branch 'master' of https://github.com/prysmaticlabs/prysm into new-state-setter
* Merge refs/heads/master into new-state-setter
2020-03-14 16:31:21 +00:00
terence tsao
b024191887
Get cold intermediate state with slot ( #5097 )
...
* loadColdIntermediateStateWithSlot
* Starting test
* Tests
2020-03-14 10:34:37 -05:00
terence tsao
0974c02a00
Load cold state by root ( #5086 )
2020-03-12 15:27:55 -07:00
terence tsao
ed7ad4525e
Method to retrieve block slot via block root ( #5084 )
...
* blockRootSlot
* Tests
* Gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-12 16:04:24 -05:00
terence tsao
7fcc07fb45
Save hot state ( #5083 )
...
* loadEpochBoundaryRoot
* Tests
* Span
* Merge branch 'master' of https://github.com/prysmaticlabs/prysm into save-hot-state
* Starting test
* Tests
* Merge refs/heads/master into save-hot-state
* Merge branch 'master' into save-hot-state
* Use copy
* Merge branch 'save-hot-state' of https://github.com/prysmaticlabs/prysm into save-hot-state
* Merge refs/heads/master into save-hot-state
2020-03-12 20:48:07 +00:00
terence tsao
359e0abe1d
Load epoch boundary root ( #5079 )
...
* loadEpochBoundaryRoot
* Tests
* Span
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-12 15:00:37 -05:00
terence tsao
43722e45f4
Save cold state ( #5077 )
2020-03-12 05:58:06 -07:00
terence tsao
ff4ed413a3
State migration from hot to cold (archived) ( #5076 )
...
* Starting
* Test
* Tests
* comments
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-11 21:27:16 -05:00
terence tsao
a90ffaba49
Archived point retrieval and recovery ( #5075 )
2020-03-11 17:38:30 -07:00
terence tsao
25c13663d2
Add hot state by slot retrival ( #5052 )
...
* Update replay conditions
* loadHotStateBySlot
* Tests and gaz
* Tests
2020-03-09 11:22:45 -05:00
terence tsao
962fe8552d
Compute state up to slot ( #5035 )
2020-03-08 21:41:24 +01:00
terence tsao
2452c7403b
Load hot state by root ( #5034 )
...
* Add loadHotStateByRoot
* Touchup loadHotStateByRoot
* Tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-08 14:24:57 +08:00
terence tsao
054b15bc45
Add SlotsPerArchivedPoint flag and a check ( #5023 )
...
* Flag
* Service
* Tests
* Tests and comments
* Lint
* Add to usages
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-06 17:06:01 -06:00
Raul Jordan
aebc883a0d
Methods to retrieves last saved state and block for stategen pkg ( #5005 )
...
* Added last saved block and state
* Genesis tests
* Gaz
* Added state tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-05 10:22:20 -06:00
prylabs-bulldozer[bot]
e635e5b205
Feature flag to gate prune state upon start up ( #5011 )
...
* Added feature flag to gate prune state upon start up
2020-03-05 06:24:59 +00:00
terence tsao
e5da756c47
Add error definitions for state gen pkg ( #5000 )
...
* Add error file
* Fmt
* Merge branch 'master' into error-file
2020-03-04 16:50:08 +00:00
terence tsao
a612557fe7
Add log file ( #4999 )
2020-03-04 10:30:52 -06:00
terence tsao
699e7efc61
Add epoch boundary root map ( #4993 )
...
* Add to struct
* Add implementations
* Tests
2020-03-03 13:07:34 -06:00
terence tsao
2c1c41d1d6
Move stategen package under /state ( #4950 )
...
* Move state gen to state
* Merge branch 'master' into move-state-gen
* Merge refs/heads/master into move-state-gen
2020-02-26 22:09:14 +00:00