tests(node-builder): basic exex test update for apply function (#11695)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Kien Trinh
2024-10-14 16:11:24 +07:00
committed by GitHub
parent 176496189d
commit a049dff0b7

View File

@ -177,6 +177,11 @@ impl<DB, ChainSpec> NodeBuilder<DB, ChainSpec> {
pub const fn config(&self) -> &NodeConfig<ChainSpec> {
&self.config
}
/// Returns a mutable reference to the node builder's config.
pub fn config_mut(&mut self) -> &mut NodeConfig<ChainSpec> {
&mut self.config
}
}
impl<DB, ChainSpec: EthChainSpec> NodeBuilder<DB, ChainSpec> {