Agents may set the source of a checkpoint using f2-based subnetIDs, \ but actors are expected to use f0-based subnetIDs, thus the need to enforce that the source is a f0-based subnetID.
(&mut self, rt: &impl Runtime)
| 11 | /// but actors are expected to use f0-based subnetIDs, thus the need to enforce |
| 12 | /// that the source is a f0-based subnetID. |
| 13 | pub fn enforce_f0_source(&mut self, rt: &impl Runtime) -> anyhow::Result<()> { |
| 14 | self.data.source = self.source().f0_id(rt); |
| 15 | Ok(()) |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | impl Validators { |