You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(See #135 for the implementation of bytesStructFromKBytes)
We handle hooks that return Int256 in a similar way, except that we use int256FromInt.
For things that use Bytes as arguments (all of them return ether K or MessageResult so they are not part of this issue) or In256 as arguments, we will do the following:
virgil-serbanuta
changed the title
Callers for UKM hooks that use/return Bytes or Int256
LoPri: Callers for UKM hooks that use/return Bytes or Int256
Oct 17, 2024
Needs #123 and #135
The hooks are described in the UKM-HOOKS module here: https://pi-squared-workspace.slack.com/archives/C07B7RED0GG/p1727373614200429 (hte latest version available when this was written)
Should take something like this:
change the function so that it looks similar to this:
where the
callData
thing is declared and evaluated in K like this:(See #135 for the implementation of bytesStructFromKBytes)
We handle hooks that return Int256 in a similar way, except that we use int256FromInt.
For things that use Bytes as arguments (all of them return ether
K
orMessageResult
so they are not part of this issue) or In256 as arguments, we will do the following:We will take something like this:
change the function so that it looks similar to this:
where the
log1
thing is declared and evaluated in K like this:(See #135 for the implementation of bytesStructToKBytes and #127 for int256ToInt)
The text was updated successfully, but these errors were encountered: