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
{{ message }}
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
In the constructor macro, you are only able to retrieve the encoded constructor arguments if they are not dynamically-sized arrays, including bytes and string if they are over 31 bytes long.
Why? Because you don't know their sizes in advance, thus you cannot deduce where the constructor encoded args start, whereas with value types, short bytes/string and fixed-sized arrays, you can know the total size and substract it from the codesize to obtain the starting position of the constructor args.
Overview
Currently, constructor arg encoding isn't complete which is necessary for the
huff_cli
to function properly.We need to implement the
encode_constructor_args()
function of the huff_codegen module to translate a vec ofString
inputs into ethers Token.TODO: implement this function.
The text was updated successfully, but these errors were encountered: