Commit 1ef3e16
committed
refactor(probe): enforce the absence meaning on the trait
`ClassifyRpcOutcome::Response` now requires `HasAbsenceMeaning`, so a
transport cannot classify a response type that never declared what a
"not found" answer means for it.
Also restores the `#[from]` conversions on `AptosRpcError` and sweeps the
comments this stack added.1 parent cd302d0 commit 1ef3e16
4 files changed
Lines changed: 15 additions & 26 deletions
File tree
- crates
- foreign-chain-inspector
- src
- aptos
- tests
- foreign-chain-rpc-interfaces/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
| |||
292 | 291 | | |
293 | 292 | | |
294 | 293 | | |
295 | | - | |
296 | 294 | | |
297 | 295 | | |
298 | 296 | | |
| |||
878 | 876 | | |
879 | 877 | | |
880 | 878 | | |
881 | | - | |
| 879 | + | |
882 | 880 | | |
883 | 881 | | |
884 | 882 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | | - | |
| 473 | + | |
475 | 474 | | |
476 | 475 | | |
477 | | - | |
478 | 476 | | |
479 | | - | |
480 | 477 | | |
481 | 478 | | |
482 | 479 | | |
483 | 480 | | |
484 | | - | |
| 481 | + | |
485 | 482 | | |
486 | 483 | | |
487 | 484 | | |
488 | 485 | | |
489 | | - | |
490 | | - | |
491 | | - | |
| 486 | + | |
| 487 | + | |
492 | 488 | | |
493 | | - | |
| 489 | + | |
494 | 490 | | |
495 | 491 | | |
496 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 113 | + | |
119 | 114 | | |
120 | 115 | | |
121 | 116 | | |
| |||
125 | 120 | | |
126 | 121 | | |
127 | 122 | | |
128 | | - | |
129 | | - | |
| 123 | + | |
| 124 | + | |
130 | 125 | | |
131 | 126 | | |
132 | 127 | | |
| |||
0 commit comments