-
Notifications
You must be signed in to change notification settings - Fork 266
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
feat: initial portal docs + minor cleanups #1469
Conversation
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.
Looks good! Have some grammar fixes
|
||
| Name | Type | Description | | ||
| -------------- | ------- | ----------- | | ||
| Recipient | `L2Actor` | Who is to receive the message. This **MUST** match the rollup version and an Aztec contract that is **attached** to the contract making this call. If the recipient is not attached to the caller, the message cannot be consumed by it. | |
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.
Is the L2Actor object defined anywhere?
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.
Not in this. I was thinking that it might be useful to add the DataStructures
separately in its own page.
|
||
## `Entry` | ||
|
||
An entry for the messageboxes multi-sets. |
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.
An entry for the messageboxes multi-sets. | |
An entry for the message box (the entry acts like a multi-set, enabling multiple entries for the same message) |
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.
The entry does not act like a multiset, it is an entry in a multiset.
|
||
## `L1Actor` | ||
|
||
An entity on L1, specifying the address and the chainid for the entity. Used when specifying sender/recipient with an entity that is on L1. |
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.
An entity on L1, specifying the address and the chainid for the entity. Used when specifying sender/recipient with an entity that is on L1. | |
An entity on L1, specifying the address and the chainId for the entity. Used when specifying sender/recipient with an entity that is on L1. |
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.
Unsure what exactly we want here, often it is just denoted chainid
in solidity docs etc, but I prefer chainId
.
|
||
## `L2Actor` | ||
|
||
An entity on L2, specifying the address and the chainid for the entity. Used when specifying sender/recipient with an entity that is on L2. |
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.
An entity on L2, specifying the address and the chainid for the entity. Used when specifying sender/recipient with an entity that is on L2. | |
An entity on L2, specifying the address and the chainId for the entity. Used when specifying sender/recipient with an entity that is on L2. |
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.
Oh, chainid should be replaced by version here actually.
_token, | ||
_to | ||
); | ||
``` |
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.
<3
Fixes #1439.
Consider serving locally to review in proper format.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.