Add the given fork with the given activation condition to the spec.
(mut self, fork: H, condition: ForkCondition)
| 44 | |
| 45 | /// Add the given fork with the given activation condition to the spec. |
| 46 | pub fn with_fork<H: Hardfork>(mut self, fork: H, condition: ForkCondition) -> Self { |
| 47 | self.inner = self.inner.with_fork(fork, condition); |
| 48 | self |
| 49 | } |
| 50 | |
| 51 | /// Add the given forks with the given activation condition to the spec. |
| 52 | pub fn with_forks(mut self, forks: ChainHardforks) -> Self { |
no outgoing calls