Improve single-node testnet support and Arc NetworkConfig/ChainSpec (#6396)

* Arc ChainSpec and NetworkConfig

* Fix release tests

* Fix lint

* Merge remote-tracking branch 'origin/unstable' into single-node-testnet
This commit is contained in:
Michael Sproul
2024-09-24 10:16:18 +10:00
committed by GitHub
parent d84df5799c
commit 1447eeb40b
66 changed files with 340 additions and 250 deletions

View File

@@ -122,7 +122,7 @@ impl ApiTester {
}
pub async fn new_from_config(config: ApiTesterConfig) -> Self {
let spec = config.spec;
let spec = Arc::new(config.spec);
let mut harness = BeaconChainHarness::builder(MainnetEthSpec)
.spec(spec.clone())