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

refactor: Align /suggested-fees inputs w/ SpokePool names #890

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Conversation

pxrl
Copy link
Contributor

@pxrl pxrl commented Oct 30, 2023

To reduce misalignment between the SpokePool deposit() input parameters and the parameter names supplied to /suggested-fees, rename the following:

recipientAddress -> recipient
relayerAddress -> relayer

This leaves only token as the variable name that differs.

To reduce misalignment between the SpokePool deposit() input parameters
and the parameter names supplied to /suggested-fees, rename the
following:

 recipientAddress -> recipient
 relayerAddress -> relayer

This leaves only `token` as the variable name that differs.
@vercel
Copy link

vercel bot commented Oct 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontend-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2023 1:03pm
goerli-frontend-v2 🛑 Canceled (Inspect) Oct 30, 2023 1:03pm

@pxrl
Copy link
Contributor Author

pxrl commented Oct 30, 2023

nb. proposing this because it left me scratching my head for a while - it's intuitive (and simpler in code) to ensure that the input parameter names align as much as possible.

Copy link
Contributor

@james-a-morris james-a-morris left a comment

Choose a reason for hiding this comment

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

Fair enough!

@pxrl pxrl merged commit 85c8621 into master Oct 30, 2023
6 checks passed
@pxrl pxrl deleted the pxrl/names branch October 30, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants