Remove "to_block" field from BlockRequests (#12447)

* Remove "to_block" field from BlockRequests

* Maybe fix the tests
This commit is contained in:
Pierre Krieger
2022-10-08 23:15:25 +02:00
committed by GitHub
parent f55a6c9689
commit 4a6c7aaf5b
4 changed files with 1 additions and 13 deletions
@@ -158,8 +158,6 @@ pub mod generic {
pub fields: BlockAttributes,
/// Start from this block.
pub from: FromBlock<Hash, Number>,
/// End at this block. An implementation defined maximum is used when unspecified.
pub to: Option<Hash>,
/// Sequence direction.
pub direction: Direction,
/// Maximum number of blocks to return. An implementation defined maximum is used when