Open
Description
Overview
Solidity allows at most one constructor, doesn't have "on-chain" constructors and so doesn't have "constructor selectors"
Design
- Only allow one constructor when the ABI is "sol"
- Either only one constructor or require one of the constructors to be marked as the default when ABI is "all"
- Update ink! dispatch codegen to
- Treat all constructor call data as args when ABI is "sol"
- Fallback to treating all constructor call data as args when ABI is "all" and no selector is matched
- Update
CreateBuilder
andExecutionInput
to allow execution input with no selector and re-introduce a dedicatedink_env::build_create_solidity
function
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog