-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract Factory #676
Contract Factory #676
Conversation
✅ Deploy Preview for starknetjs canceled.
|
@@ -20,3 +20,12 @@ export function getAbiVersion(abi: Abi) { | |||
if (isCairo1Abi(abi)) return 1; | |||
return 0; | |||
} | |||
|
|||
export function isNoConstructorValid( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this name is a bit strange to me 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, agree.
Full name will be: 'Is it valid that the constructor is not part of the abi in this procedural case?'
Co-authored-by: Ivan Pavičić <[email protected]>
🎉 This PR is included in version 5.17.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Motivation and Resolution
BREAKING: contractFactory constructor signature
Update Contract Factory to work with Cairo 1
Usage related changes
Checklist: