Remove "to_block" field from BlockRequests (#12447)

* Remove "to_block" field from BlockRequests

* Maybe fix the tests
This commit is contained in:
Pierre Krieger authored and GitHub committed 2022-10-08 21:15:25 +00:00
1 parent f55a6c9689
commit 4a6c7aaf5b
4 files changed
+1 -13

No files matched your search

@@ -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