Skip to content

Commit

Permalink
update adr
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 30, 2024
1 parent 6235136 commit c383c40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/architecture/adr-009-revamp-testkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self::Block>;
fn history(&self) -> &Vec<Self::Block>;

/// 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<u8>,
block_time: Duration,
Expand Down

0 comments on commit c383c40

Please sign in to comment.