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

PR: bug fixes & improvements #367

Merged
merged 36 commits into from
Jan 17, 2025
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d4ad010
fix: remove undefined err by covering rpc-handler failure
EresDev Jan 1, 2025
9e83136
refactor: remove duplication
EresDev Jan 1, 2025
9ece978
refactor: reduce duplication
EresDev Jan 1, 2025
bafdea0
fix: make fallback provider usable by cloudflare
EresDev Jan 1, 2025
04b256f
test: remove redundant fastest rpc handler mock
EresDev Jan 1, 2025
dcfb0d8
refactor: move use-rpc-handler to /shared
EresDev Jan 2, 2025
5063160
fix: increase permit amount for PR preview link
EresDev Jan 2, 2025
acd05f3
fix: make amount customizable in permit generator workflow
EresDev Jan 3, 2025
d205248
fix: use permit amount 7 for PR preview url
EresDev Jan 3, 2025
cdc788a
fix: set UUSD as payment token for preview permit in PR
EresDev Jan 3, 2025
22fdde4
fix: set preview permit amount 30
EresDev Jan 3, 2025
fc68542
fix: notify if using reloadly sandbox
EresDev Jan 7, 2025
19d9fd8
refactor: move cspell config to configs dir
EresDev Jan 8, 2025
ee5fe1b
refactor: move vitest config to configs dir
EresDev Jan 8, 2025
68b8b9c
refactor: move cypress config to configs dir
EresDev Jan 8, 2025
7989be2
refactor: remove unused knip config
EresDev Jan 8, 2025
19ca932
Revert "refactor: remove unused knip config"
EresDev Jan 9, 2025
749539a
Revert "refactor: move cypress config to configs dir"
EresDev Jan 9, 2025
8714723
Revert "refactor: move vitest config to configs dir"
EresDev Jan 9, 2025
fcfb2be
Revert "refactor: move cspell config to configs dir"
EresDev Jan 9, 2025
1095f79
feat: serve frontend only for dev with production backend
EresDev Jan 10, 2025
90342b7
docs: add instructions to develop frontend only
EresDev Jan 10, 2025
c81462f
fix: add backend url env var to actions
EresDev Jan 10, 2025
c4eb838
fix: use empty string as backend url
EresDev Jan 10, 2025
27cc804
chore: specify yarn version
EresDev Jan 10, 2025
04ed92e
fix: remove health check & auto rpc addition to metamask
EresDev Jan 10, 2025
a2e1527
ci: push env vars from github to cloudflare
EresDev Jan 14, 2025
f6acfae
fix: use correct env var names
EresDev Jan 14, 2025
86aca73
fix: use env sync script as step
EresDev Jan 14, 2025
61b7d70
fix: update project name in env sync
EresDev Jan 14, 2025
6a028e9
fix: use correct env type
EresDev Jan 14, 2025
3ad01f5
fix: add mandatory senderName to card order
EresDev Jan 14, 2025
43c2ec8
fix: remove overlapping elements with css padding
EresDev Jan 14, 2025
e70bdf8
fix: use env var values correctly
EresDev Jan 14, 2025
3a4d59a
Merge branch 'development' of https://github.com/ubiquity/pay.ubq.fi …
EresDev Jan 16, 2025
e7205e6
docs: improve wording
EresDev Jan 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: make fallback provider usable by cloudflare
will not work on CF worker without skipFetchSetup=true
  • Loading branch information
EresDev committed Jan 1, 2025
commit bafdea0fc87b5838c0f9924ba80968502e0b0346
2 changes: 1 addition & 1 deletion static/scripts/rewards/web3/use-rpc-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ export async function useRpcHandler(networkId: number) {
return provider;
} catch (e) {
console.log(`RpcHandler is having issues. Error: ${e} \nUsing backup rpc.`);
return new JsonRpcProvider(networkRpcs[networkId]);
return new JsonRpcProvider({ url: networkRpcs[networkId], skipFetchSetup: true });
}
}