-
Notifications
You must be signed in to change notification settings - Fork 45
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
PR: bug fixes & improvements #367
Conversation
rpc-handler failure being handled by useRpcHandler
useRpcHandler is now providing decent provider
will not work on CF worker without skipFetchSetup=true
|
being used by both frontend & backend
to show available payment cards
to view available payment cards
so that it works for both sandbox and production
Unused devDependencies (4)
|
…into development
Now env vars & secretes are pushed from Github. We don't need to manually add env vars & secrets in cloudflare. But we need to add 2 new secret to this Github Repository now.
I will send you their values in telegram to add to this repository. @0x4007 |
I added them to the organization secrets just in case we need elsewhere! |
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.
Works fine
Resolves #366
QA: Preview link: EresDevOrg#1 (comment)
The preview link of the QA shows a 30$ permit link on preview deployment, which uses Reloadly sandbox. This should meet most of the UI changes required by issues specs.
QA: Minted payment card
to show minting is working smoothly after changes.
How to test?
The deliverable is a combination of multiple different issues. If you follow each issue, it should be easy to test using preview link or source code.
Some parts of the issue specs are ignored by this PR because the specs seem useful but their implementation were causing more trouble than it was solving. They were:
The plan was to move all backend, frontend, and shared env vars to one file as they currently exists in .env, wrangler.toml, and shared/constants.ts.
But they are needed by different systems at different time. Moving them to .env was requiring another system to regenrate them at right time in the right system. So, this was skiped as current implementation is simpler.
There are many config files in the main directory of the repository. Moving them to /configs was interesting idea but some packages were causing hard to fix issues with this as they were expecting configs in the main directory. Plus, in the configs, there are paths to other files which were requiring more attention and debugging and paths were becoming odd. So, this was skipped.