Skip to content

Commit

Permalink
Update RPC endpoints for Goerli and Sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
livid committed Apr 26, 2024
1 parent 5006e93 commit 8809677
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Planet/Labs/Wallet/WalletAccountView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ struct WalletAccountView: View {
case .mainnet:
web3 = Web3(rpcURL: "https://cloudflare-eth.com")
case .goerli:
web3 = Web3(rpcURL: "https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161")
web3 = Web3(rpcURL: "https://eth-goerli.public.blastapi.io")
case .sepolia:
web3 = Web3(rpcURL: "https://sepolia.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161")
web3 = Web3(rpcURL: "https://eth-sepolia.public.blastapi.io")
}
web3.eth.blockNumber() { response in
if response.status.isSuccess, let blockNumber = response.result {
Expand Down
4 changes: 2 additions & 2 deletions Planet/Views/Sidebar/AccountBadgeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ struct AccountBadgeView: View {
case .mainnet:
web3 = Web3(rpcURL: "https://cloudflare-eth.com")
case .goerli:
web3 = Web3(rpcURL: "https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161")
web3 = Web3(rpcURL: "https://eth-goerli.public.blastapi.io")
case .sepolia:
web3 = Web3(rpcURL: "https://sepolia.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161")
web3 = Web3(rpcURL: "https://eth-sepolia.public.blastapi.io")
}
web3.eth.blockNumber { response in
if response.status.isSuccess, let blockNumber = response.result {
Expand Down
2 changes: 1 addition & 1 deletion Planet/versioning.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 1984
CURRENT_PROJECT_VERSION = 1987

0 comments on commit 8809677

Please sign in to comment.