diff --git a/docs/architecture/adr-009-revamp-testkit.md b/docs/architecture/adr-009-revamp-testkit.md index 2338b6742..4cd6f5f28 100644 --- a/docs/architecture/adr-009-revamp-testkit.md +++ b/docs/architecture/adr-009-revamp-testkit.md @@ -83,10 +83,10 @@ pub trait TestHost: Default + Debug + Sized { type LightClientParams: Debug + Default; /// The history of blocks produced by the host chain. - fn history(&self) -> &VecDeque; + fn history(&self) -> &Vec; - /// Triggers the advancing of the host chain by extending the history of blocks (or headers). - fn advance_block( + /// Commit a block with commitment root to the blockchain, by extending the history of blocks. + fn commit_block( &mut self, commitment_root: Vec, block_time: Duration,