Commit bf536c7
committed
fix(runtime): resolve BoundedVec memory provider type mismatch in no_std execute function
- Change hardcoded 1024 to RUNTIME_MEMORY_SIZE (4096) in no_std execute function
- Ensures consistency with Vec type alias definition: BoundedVec<T, 256, NoStdProvider<4096>>
- Resolves compilation error: expected NoStdProvider<4096>, found NoStdProvider<1024>
- Both std and no_std execute functions now use consistent memory provider sizing
- Add missing RUNTIME_MEMORY_SIZE import for no_std code path1 parent 29eacb6 commit bf536c7
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | 321 | | |
323 | 322 | | |
324 | 323 | | |
325 | 324 | | |
| 325 | + | |
| 326 | + | |
326 | 327 | | |
327 | 328 | | |
328 | 329 | | |
| |||
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
| 379 | + | |
378 | 380 | | |
379 | 381 | | |
380 | 382 | | |
381 | 383 | | |
382 | | - | |
| 384 | + | |
383 | 385 | | |
384 | 386 | | |
385 | 387 | | |
| |||
0 commit comments