From c383c40c0d83c78e2a478ecaeeec51ed77a24892 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 30 Apr 2024 22:30:47 +0200 Subject: [PATCH] update adr --- docs/architecture/adr-009-revamp-testkit.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,