Skip to content

Commit

Permalink
🐛 Allow chainId on pimlico
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Dec 18, 2024
1 parent c4685e0 commit a398a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/erpc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export default initErpcConfig({
networks: [networks.arbitrum, networks.arbitrumSepolia],
upstreams: [
upstreams.alchemy,
upstreams.pimlico,
upstreams.drpc,
upstreams.llamaFree,
upstreams.pimlico,
],
auth: {
strategies: [
Expand Down
2 changes: 1 addition & 1 deletion packages/erpc/src/upstreams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const pimlicoUpstream = {
rateLimitBudget: "pimlico",
// Only allow the 4337 methods
ignoreMethods: ["*"],
allowMethods: erc4337Methods,
allowMethods: ["eth_chainId", ...erc4337Methods],
} as const satisfies UpstreamConfig;

export const drpcUpstream = {
Expand Down

0 comments on commit a398a29

Please sign in to comment.