-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add smart contract code compatibility checklist document #144
Conversation
|
||
### Usage of `multicall` methods | ||
|
||
The smart contracts having `multicall` methods that includes more than one address or migration methods to recreate state from another chain results in exceeding the 64 accounts limit. This situation can be avoided by calling these methods in batches. |
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.
@sukanyaparashar please explain here that the 64 accounts limit does not mean 64 addresses on Solidity. We do also have 7 default accounts that used for the transaction execution and this automatically makes a limit of 57 Solidity addresses that can be included in a single transaction. The number can be even smaller if there are more internal calls between contracts.
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.
@sukanyaparashar I've looked at the changes and they're ok, I only removed some of the text about the 64 accounts limits. We will bring more details in this section after neon_emulate
test is done.
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.
Some language suggestions and not critical question.
Co-authored-by: OlehSyzonov <[email protected]>
Co-authored-by: OlehSyzonov <[email protected]>
Co-authored-by: OlehSyzonov <[email protected]>
Co-authored-by: OlehSyzonov <[email protected]>
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.
Thank you for the comments resolved
This PR adds a smart contract code compatibility checklist document.