Skip to content
Unverified Commit 53f6473c authored by Cyrill Leutwiler's avatar Cyrill Leutwiler Committed by GitHub
Browse files

[pallet-revive] change some getter APIs to return value in register (#6920)



Call data, return data and code sizes can never exceed `u32::MAX`; they
are also not generic. Hence we know that they are guaranteed to always
fit into a 64bit register and `revive` can just zero extend them into a
256bit integer value. Which is slightly more efficient than passing them
on the stack.

---------

Signed-off-by: default avatarCyrill Leutwiler <[email protected]>
Signed-off-by: default avatarxermicus <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: default avatarAlexander Theißen <[email protected]>
parent fd0fb765
Pipeline #510020 waiting for manual action with stages
in 1 hour, 7 minutes, and 4 seconds