Commit f62259d
committed
Plant proxy via setStorage instead of addProxy extrinsic
The proxy filtering test runner used to submit an addProxy extrinsic and produce a block before dispatching the dry-run batch. Replaces that with a direct setStorage write into Proxy.proxies. Saves one block per filtering test (~16 blocks across the polkadot proxy file). Also moves the empty-actions early return ahead of the storage write so we do not pay the setStorage cost when there is nothing to test.1 parent e811c12 commit f62259d
1 file changed
Lines changed: 5 additions & 7 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | 1236 | | |
1244 | 1237 | | |
1245 | 1238 | | |
1246 | 1239 | | |
1247 | 1240 | | |
1248 | 1241 | | |
| 1242 | + | |
| 1243 | + | |
1249 | 1244 | | |
1250 | 1245 | | |
1251 | 1246 | | |
1252 | 1247 | | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1253 | 1251 | | |
1254 | 1252 | | |
1255 | 1253 | | |
| |||
0 commit comments