Skip to content

Commit

Permalink
Drop Arbirum Sepolia Alchemy support (#3726)
Browse files Browse the repository at this point in the history
Due to eth_getLogs usage from Subscape XP drop monitoring, the Alchemy
endpoint for Taho had to be blocked completely. After a release that
removed the log monitoring, we were still seeing very high usage of
eth_getLogs, indicating small numbers of older installs were still
causing issues.

Here, we drop built-in Alchemy support for Taho. Instead, we use
existing public RPCs to handle all requests. Because Alchemy was blanket
blocking all RPC requests from Taho (due to the aforementioned
eth_getLogs issue), transaction submission was completely blocked
(because the serial fallback provider prefers Alchemy providers to all
others when available). This new setup should allow for public RPCs to
handle transaction submission (since there will no longer be an Alchemy
provider) and thus unblock any trailing XP claims.

Latest build:
[extension-builds-3726](https://github.com/tahowallet/extension/suites/19848797684/artifacts/1173937441)
(as of Wed, 17 Jan 2024 01:24:05 GMT).
  • Loading branch information
Shadowfiend authored Jan 19, 2024
2 parents aa5c3b6 + 871ed34 commit 16caa7f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions background/services/chain/taho-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ export default class TahoAlchemyProvider extends AlchemyProvider {
case 11155111: // Ethereum Sepolia
host = "eth-sepolia.g.alchemy.com/v2/"
break
case 421614: // Arbitrum Sepolia
host = "arb-sepolia.g.alchemy.com/v2/"
break
default:
return AlchemyProvider.getUrl(network, apiKey)
}
Expand Down

0 comments on commit 16caa7f

Please sign in to comment.