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

Multiple RPC endpoint support #2394

Merged
merged 33 commits into from
Oct 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4654b18
Switch out JSON provider for default provider to auto switch to a bet…
sophialittlejohn Aug 19, 2024
d9f728a
Remove references to goerli
sophialittlejohn Aug 19, 2024
af8ff3c
Clean up
sophialittlejohn Aug 20, 2024
891e249
Use JsonRpcProvider as fallback if defaultprovider doesn't support ne…
sophialittlejohn Aug 20, 2024
eab7786
Fix console warnings
sophialittlejohn Aug 20, 2024
1493e33
Fix start script in main package
sophialittlejohn Aug 20, 2024
6b9dc81
Clean up
sophialittlejohn Aug 20, 2024
dd9ae1f
Upgrade ethersjs
sophialittlejohn Aug 26, 2024
ae84511
Do manual health check on rpcs instead of relying on getDefaultBrowse…
sophialittlejohn Aug 27, 2024
a214de9
Fix ts error
sophialittlejohn Aug 27, 2024
091a710
Fix more type errros from upgrade
sophialittlejohn Aug 28, 2024
a7ef87a
Add connection checks to centrifuge base before connecting to parachain
sophialittlejohn Aug 29, 2024
1551fc6
Merge branch 'main' of github.com:centrifuge/apps into default-provider
sophialittlejohn Aug 30, 2024
f973f50
Clean up substrate network detection
sophialittlejohn Sep 4, 2024
470a409
Fix event parsing
sophialittlejohn Sep 5, 2024
6ff7e7c
Add tenderly node rpc key
sophialittlejohn Sep 5, 2024
bb8c0cf
Enable getDefaultProvider for evm instead of manual implementation
sophialittlejohn Sep 5, 2024
2566ad7
Merge branch 'main' of github.com:centrifuge/apps into default-provider
sophialittlejohn Sep 5, 2024
6cf73e0
Merge branch 'main' of github.com:centrifuge/apps into default-provider
sophialittlejohn Sep 9, 2024
c3cf7c8
Replace BigInt with bigint
sophialittlejohn Sep 11, 2024
a5a0c56
Update imports
sophialittlejohn Sep 11, 2024
b050d4f
Clean up for centrifuge base
sophialittlejohn Sep 11, 2024
e8a6074
Clean up
sophialittlejohn Sep 12, 2024
e8a66c1
Merge branch 'main' of github.com:centrifuge/apps into default-provider
sophialittlejohn Sep 16, 2024
42ebed4
Remove outdated eth-permit in favor of custom code
sophialittlejohn Sep 16, 2024
3126dc5
Fix typescript errors in tinlake
sophialittlejohn Sep 16, 2024
be6b4cf
Merge branch 'main' of github.com:centrifuge/apps into default-provider
sophialittlejohn Sep 16, 2024
5ca0a25
Use set for parachain url cache
sophialittlejohn Sep 16, 2024
ea806c3
Merge branch 'main' of github.com:centrifuge/apps into default-provider
sophialittlejohn Oct 7, 2024
713e77c
Match with rpc endpoints
sophialittlejohn Oct 7, 2024
85efdea
Fix typo
sophialittlejohn Oct 7, 2024
7226612
Merge branch 'main' of github.com:centrifuge/apps into default-provider
sophialittlejohn Oct 16, 2024
b24b6b3
Fix import from ethers
sophialittlejohn Oct 16, 2024
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 console warnings
  • Loading branch information
sophialittlejohn committed Aug 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit eab77863cc889f224444438d963fdbe227658286
8 changes: 7 additions & 1 deletion centrifuge-app/src/components/PoolOverview/KeyMetrics.tsx
Original file line number Diff line number Diff line change
@@ -151,7 +151,12 @@ const AvailableNetworks = ({ poolId }: { poolId: string }) => {
<Text variant="heading4">Centrifuge</Text>
{pool.tranches.length > 1 ? (
pool.tranches.map((tranche) => (
<a target="_blank" rel="noopener noreferrer" href={`${import.meta.env.REACT_APP_SUBSCAN_URL}`}>
<a
key={tranche.id}
target="_blank"
rel="noopener noreferrer"
href={`${import.meta.env.REACT_APP_SUBSCAN_URL}`}
>
<Shelf gap={1} alignItems="center">
<Text variant="body2" color="black">
View {tranche.currency.name.split(' ').at(-1)}
@@ -184,6 +189,7 @@ const AvailableNetworks = ({ poolId }: { poolId: string }) => {
const chain = (evmChains as any)[domain.chainId]
return (
<Tooltip
key={domain.chainId}
delay={300}
bodyWidth="maxContent"
bodyPadding={0}