-
Notifications
You must be signed in to change notification settings - Fork 10
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
Make FAST_AUTH_RELAYER_URL configurable #221
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -24,4 +24,5 @@ window.env = { | |||
SENTRY_DSN: "${SENTRY_DSN}", | |||
SENTRY_DSN_TESTNET: "${SENTRY_DSN_TESTNET}", | |||
GIT_COMMIT_HASH: "${GIT_COMMIT_HASH}", | |||
FAST_AUTH_RELAYER_URL: "${FAST_AUTH_RELAYER_URL}", |
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.
I'm wondering if this is the best approach.
As you can see, on the same config file, we already define RELAYER_URL_TESTNET
and RELAYER_URL
. With this PR we are introducing a new URL with the same purpose to maintain.
I think we should:
- Wait
https://near-relayer-mainnet.api.pagoda.co
support/send_meta_tx_async
- Refactor the code to accept a base relayer url (eg: www.relayer.com) instead of relayer with path url (eg: www.relayer.com/relay)
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.
What do you think Danny? I know it will be a bit of work, but I believe it's the path we should go
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.
Totally agree. Initially I was also had a doubt about whats difference between RELAYER_URL
VS FAST_AUTH_RELAYER_URL
and why do we have both.
Maybe we revisit this PR when https://near-relayer-mainnet.api.pagoda.co
support /send_meta_tx_async
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.
Cool, let's wait for it and then we work on the refactor :)
This PR closes #220
This PR will allow to configure
FAST_AUTH_RELAYER_URL
as per request