(
&self,
from: BlockHeight,
to: BlockHeight,
)
| 51 | } |
| 52 | |
| 53 | async fn validator_changes_from( |
| 54 | &self, |
| 55 | from: BlockHeight, |
| 56 | to: BlockHeight, |
| 57 | ) -> anyhow::Result<Vec<StakingChangeRequest>> { |
| 58 | match self.inner.as_ref() { |
| 59 | Some(p) => p.validator_changes_from(from, to).await, |
| 60 | None => Err(anyhow!("provider is toggled off")), |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | async fn top_down_msgs_from( |
| 65 | &self, |