Skip to content
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

Upgrades README improvements #417

Merged
merged 8 commits into from
Jul 12, 2024
Merged

Upgrades README improvements #417

merged 8 commits into from
Jul 12, 2024

Conversation

cam-schultz
Copy link
Contributor

Why this should be merged

Fixes #406 by reorganizing existing documentation to separate contract implementation and contract management sections. Also adds example cast commands for pausing/unpausing Teleporter versions from the dApp contract.

How this works

How this was tested

How is this documented

Copy link
Contributor

@bernard-avalabs bernard-avalabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me. Just left some minor comments.

contracts/src/Teleporter/upgrades/README.md Outdated Show resolved Hide resolved
contracts/src/Teleporter/upgrades/README.md Outdated Show resolved Hide resolved
contracts/src/Teleporter/upgrades/README.md Show resolved Hide resolved
geoff-vball
geoff-vball previously approved these changes Jul 11, 2024
Copy link
Contributor

@geoff-vball geoff-vball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


### Pausing Teleporter version interactions

Dapps that inherit from `TeleporterUpgradeable` can pause Teleporter interactions by calling `TeleporterUpgradeable.pauseTeleporterAddress`. This function prevents the dApp contract from interacting with the paused Teleporter address when sending or receiving Teleporter messages.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think we should clarify that Teleporter itself is not paused, and it's just the dApp's sending/receiving of messages

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to achieve this by saying that "Teleporter interactions" are paused - can you suggest an alternate phrasing?

Co-authored-by: Michael Kaplan <[email protected]>
Signed-off-by: cam-schultz <[email protected]>
Copy link
Collaborator

@michaelkaplan13 michaelkaplan13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One extra space, but LGTM

geoff-vball
geoff-vball previously approved these changes Jul 12, 2024
Co-authored-by: Michael Kaplan <[email protected]>
Signed-off-by: cam-schultz <[email protected]>
@cam-schultz cam-schultz merged commit a1af21e into main Jul 12, 2024
14 checks passed
@cam-schultz cam-schultz deleted the pause-readme branch July 12, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

README for pausing Teleporter messages
5 participants