(
&self,
height: BlockHeight,
)
| 102 | /// Get the validator set at the specified height. |
| 103 | #[instrument(skip(self))] |
| 104 | async fn get_validator_changes( |
| 105 | &self, |
| 106 | height: BlockHeight, |
| 107 | ) -> anyhow::Result<TopDownQueryPayload<Vec<StakingChangeRequest>>> { |
| 108 | self.ipc_provider |
| 109 | .get_validator_changeset(&self.child_subnet, height as ChainEpoch) |
| 110 | .await |
| 111 | .map(|mut v| { |
| 112 | // sort ascending, we dont assume the changes are ordered |
| 113 | v.value |
| 114 | .sort_by(|a, b| a.configuration_number.cmp(&b.configuration_number)); |
| 115 | v |
| 116 | }) |
| 117 | } |
| 118 | } |
nothing calls this directly
no test coverage detected