Skip to content
Unverified Commit 2657f272 authored by Sebastian Miasojed's avatar Sebastian Miasojed Committed by GitHub
Browse files

[pallet_contracts] Increase the weight of the deposit_event host function to...


[pallet_contracts] Increase the weight of the deposit_event host function to limit the memory used by events. (#4973)

This PR updates the weight of the `deposit_event` host function by
adding
a fixed ref_time of 60,000 picoseconds per byte. Given a block time of 2
seconds
and this specified ref_time, the total allocation size is 32MB.

---------

Co-authored-by: default avatarAlexander Theißen <[email protected]>
parent 035211d7
Pipeline #487546 waiting for manual action with stages
in 1 hour, 25 minutes, and 52 seconds