Use rebasing to minimise BeaconState mem usage (#4416)

* Use "rebasing" to minimise BeaconState mem usage

* Update metastruct

* Use upstream milhouse, update cargo lock

* Rebase caches for extra memory savings
This commit is contained in:
Michael Sproul
2023-06-21 11:05:09 +10:00
committed by GitHub
parent 6eb151396d
commit ca412ab3f0
4 changed files with 152 additions and 7 deletions

10
Cargo.lock generated
View File

@@ -5047,18 +5047,18 @@ dependencies = [
[[package]]
name = "metastruct"
version = "0.1.0"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "734788dec2091fe9afa39530ca2ea7994f4a2c9aff3dbfebb63f2c1945c6f10b"
checksum = "ccfbb8826226b09b05bb62a0937cf6abb16f1f7d4b746eb95a83db14aec60f06"
dependencies = [
"metastruct_macro",
]
[[package]]
name = "metastruct_macro"
version = "0.1.0"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42ded15e7570c2a507a23e6c3a1c8d74507b779476e43afe93ddfc261d44173d"
checksum = "37cb4045d5677b7da537f8cb5d0730d5b6414e3cc81c61e4b50e1f0cbdc73909"
dependencies = [
"darling 0.13.4",
"itertools",
@@ -5121,7 +5121,7 @@ dependencies = [
[[package]]
name = "milhouse"
version = "0.1.0"
source = "git+https://github.com/sigp/milhouse?branch=main#4035d254ad538dd642fe031fbecfae55d9a4f31d"
source = "git+https://github.com/sigp/milhouse?branch=main#248bc353849c113bdf078c5a81e629285c1c0589"
dependencies = [
"arbitrary",
"derivative",