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
When contracts name managed by swanky-cli is in Camel case, contract compile command fails at generating TS types step.
This is because contract names are converted to Snake case when templating ink! contract, thus path to /target/ink/{ContractName} doesn't match to artifacts path generated by cargo contract.
Steps to Reproduce
Replace the example steps below with actual steps to reproduce the bug you're reporting.
Name your contract with Camel case. swanky contract new SampleContract
Execute compile command
The text was updated successfully, but these errors were encountered:
Description
When contracts name managed by swanky-cli is in Camel case,
contract compile
command fails at generating TS types step.This is because contract names are converted to Snake case when templating ink! contract, thus path to
/target/ink/{ContractName}
doesn't match to artifacts path generated by cargo contract.Steps to Reproduce
swanky contract new SampleContract
The text was updated successfully, but these errors were encountered: