pub trait NaryNodeTest<const SIZE: usize> {
    // Required method
    fn run(
        &self,
        config: &TestConfig,
        nodes: [FullNode; SIZE]
    ) -> Result<(), Error>;
}
Expand description

This trait is implemented for test cases that need to have more than two full nodes running without the relayer being setup.

The test case is given SIZE number of FullNodes which represents the running full nodes.

Test writers can use this to implement more advanced test cases which require manual setup of the relayer, so that the relayer can be started and stopped at a suitable time within the test.

Required Methods§

source

fn run(&self, config: &TestConfig, nodes: [FullNode; SIZE]) -> Result<(), Error>

Implementors§

source§

impl<'a, Test, Overrides, const SIZE: usize> NaryNodeTest<1> for RunSelfConnectedNaryChainTest<'a, Test, SIZE>where Test: NaryChainTest<SIZE> + HasOverrides<Overrides = Overrides>, Overrides: RelayerConfigOverride,

source§

impl<'a, Test, Overrides, const SIZE: usize> NaryNodeTest<SIZE> for RunNaryChainTest<'a, Test, SIZE>where Test: NaryChainTest<SIZE> + HasOverrides<Overrides = Overrides>, Overrides: RelayerConfigOverride,