solang icon indicating copy to clipboard operation
solang copied to clipboard

Improve substrate target configuration

Open xermicus opened this issue 3 years ago • 3 comments

Currently there are --address-length and --value-length compile flags to allow metadata generation for differently configured Substrate runtimes. But there is no way to tell the path for the type.

As a UI bonus we could offer some default configurations (e.g. something along the lines --target substrate/default_env or substrate/moonbeam), to offer valid settings for common runtime configurations.

xermicus avatar Aug 25 '22 14:08 xermicus

--address-length is included in the pr #989 by using ns::address_length, maybe need a test for it.

extraymond avatar Aug 29 '22 01:08 extraymond

Solved by: #1084

xermicus avatar Nov 26 '22 10:11 xermicus

As we found out, there also needs to be configuration for Hash length, similar to --address-length, which defaults to 32.

xermicus avatar Jun 29 '23 10:06 xermicus