Skip to content
Unverified Commit ae0b3bf6 authored by Andrei Sandu's avatar Andrei Sandu Committed by GitHub
Browse files

CheckWeight: account for extrinsic len as proof size (#4765)



Fix https://github.com/paritytech/polkadot-sdk/issues/4743 which allows
us to remove the defensive limit on pov size in Cumulus after relay
chain gets upgraded with these changes. Also add unit test to ensure
`CheckWeight` - `StorageWeightReclaim` integration works.

TODO:
- [x] PRDoc
- [x] Add a len to all the other tests in storage weight reclaim and
call `CheckWeight::pre_dispatch`

---------

Signed-off-by: default avatarAndrei Sandu <[email protected]>
parent 977254cc
Pipeline #481191 waiting for manual action with stages
in 1 hour, 16 minutes, and 53 seconds