Commit f539df9
fix: use install_with_observer for B20Factory/PolicyRegistry
base/base dropped the plain install() shims for B20Factory and
PolicyRegistryPrecompile in favour of the observed variants (only
install_with_observer remains). Our inject_precompiles still called the
removed B20Factory::install / PolicyRegistryPrecompile::install, so the
patched base-anvil build failed with E0599 on base/base's fork-test CI.
Switch both to install_with_observer with a no-op observer (metrics are
scoped to the B-20 token call path, which anvil doesn't wire up), matching
provider.rs. B20Factory::install_with_observer also takes the BaseUpgrade,
so thread Beryl through like the lookup. Bump the base/base pin to current
main (cc8ee38) so this compiles against the observer-only API.
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>1 parent f4370bc commit f539df9
3 files changed
Lines changed: 24 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
168 | 175 | | |
169 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
170 | 181 | | |
171 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
172 | 186 | | |
173 | 187 | | |
174 | 188 | | |
| |||
0 commit comments