-
Notifications
You must be signed in to change notification settings - Fork 133
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
Update documentation for entry functions #819
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
4ef76fe
to
d41cb9e
Compare
Entry functions can take primitive types, String, and vector arguments but cannot take Structs (e.g. Option). They also | ||
must not have any return values. | ||
Entry functions can accept parameters that are: primitive types, reference to a `signer`, vectors (where the element type is itself acceptable), | ||
and certain standard library types such as `String`, `Object`, `Option`, `FixedPoint32`, `FixedPoint64`. |
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.
FixedPoint might be supported, but I'm unsure how it's BCS encoded.
Let's skip it for now?
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.
Sounds good - I was going based on the code in the extended checker.
d41cb9e
to
cb808e4
Compare
Description
Entry functions allow more than what was previously documented.
Also includes fixes to satisfy the link checker.
Closes aptos-labs/aptos-core#14571
Checklist
pnpm fmt
?pnpm lint
?