solana/program-runtime
Dmitri Makarov 023ab1c427 Update the consumed compute units cost for hashing syscalls
This change prevents zero-cost computation of hash functions on
unbound number of zero-length slices of data.  The cost for each slice
is at least equal to the base cost of a memory operation, but could be
more for longer slices.

(cherry picked from commit 0a3a18744fe575c0cae66cf68abb5d3d12704565)
2022-02-24 17:41:22 -08:00
..
2022-02-23 11:30:21 -06:00