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

Relay supported fee assets #3

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

cam-schultz
Copy link
Collaborator

Adds Teleporter configuration option for supported fee assets. The relayer will only deliver a message if it is incentivized with a supported fee asset, or if the configured list of fee assets is empty.

In addition to that check, the main change here is adding an additional eth client in the Teleporter message manager, so that we can call getFeeInfo on the Teleporter contract. The message manager constructor takes the source subnet configuration to do so.

@minghinmatthewlam
Copy link
Contributor

@cam-schultz do we want to close this draft as wellf or now, and revisit as it's picked back up?

@cam-schultz
Copy link
Collaborator Author

@cam-schultz do we want to close this draft as wellf or now, and revisit as it's picked back up?

This is still a candidate change, so let's leave it open.

Copy link
Contributor

@minghinmatthewlam minghinmatthewlam left a comment

Choose a reason for hiding this comment

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

High level LGTM, should be similar to #59 in terms of allowing specific fields, otherwise allow all. Will re-review after it's updated with latest changes, some of the abi packing/unpacking might look different with Teleporter pkg.

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.

2 participants