PrimeDAO / prime-launch-dapp

https://launch.prime.xyz
6 stars 13 forks source link

Error: Processing Response error #708

Open BartuCulha opened 2 years ago

BartuCulha commented 2 years ago

I'm getting these two errors when I navigate to: https://arbitrum.launch.prime.xyz/

I might be wrong but I believe we are not able to fetch existing seeds and lbps, this also makes the spiner go on forever.

Home-Prime-Launch

index.js:185 Uncaught (in promise) Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"id\":51,\"error\":{\"code\":-32005,\"message\":\"eth_getLogs block range too large, range: 108441, max: 100000\"}}", error={"code":-32005}, requestBody="{\"method\":\"eth_getLogs\",\"params\":[{\"fromBlock\":\"0x4b0e32\",\"toBlock\":\"latest\",\"address\":\"0xb448335ff3105145dc6cf805e544f1e4a41b35ca\",\"topics\":[\"0x8b8a9c158a44eff86c91705dbc9c0479504c8de441156f3c2c21a6ed00e1627a\"]}],\"id\":51,\"jsonrpc\":\"2.0\"}", requestMethod="POST", url="https://arbitrum-mainnet.infura.io/v3/53b5accaa3634e829d2876df209e093e", code=SERVER_ERROR, version=web/5.5.0) at f.makeError (index.js:185:23) at f.throwError (index.js:194:20) at index.js:213:32 at Generator.next () at o (index.js:5:58) makeError @ index.js:185 throwError @ index.js:194 (anonymous) @ index.js:213 o @ index.js:5 Promise.then (async) (anonymous) @ app~3e511cab.2f2483c6adda91b31126.chunk.js:1601 getLbps @ app~3e511cab.2f2483c6adda91b31126.chunk.js:1594 initialize @ app~3e511cab.2f2483c6adda91b31126.chunk.js:1582 await in initialize (async) (anonymous) @ main.ts:96 Promise.then (async) M @ main.ts:51 (anonymous) @ aurelia-bootstrapper.js:128 Promise.then (async) h @ aurelia-bootstrapper.js:123 (anonymous) @ aurelia-bootstrapper.js:159 Promise.then (async) p @ aurelia-bootstrapper.js:158 (anonymous) @ aurelia-bootstrapper.js:145 Promise.then (async) (anonymous) @ aurelia-bootstrapper.js:140 b9nV @ vendors~4b868729.f6ca866e6815014bb8ea.chunk.js:1 a @ bootstrap:84 0 @ app~f075b844.2e5dd5d9783abd1fda36.chunk.js:1 a @ bootstrap:84 t @ bootstrap:45 r @ bootstrap:32

(anonymous) @ app~c1a91697.5ca9746e5c03373eec88.chunk.js:1 index.js:185 Uncaught (in promise) Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"id\":50,\"error\":{\"code\":-32005,\"message\":\"eth_getLogs block range too large, range: 108441, max: 100000\"}}", error={"code":-32005}, requestBody="{\"method\":\"eth_getLogs\",\"params\":[{\"fromBlock\":\"0x4b0e32\",\"toBlock\":\"latest\",\"address\":\"0xe2314dd8d79db953490385f48afb96e70e15f4ac\",\"topics\":[\"0x23fea745ec0ebbc17cc138cc8d1baca7bde3ce83b1fd6d5e1de5839615863639\"]}],\"id\":50,\"jsonrpc\":\"2.0\"}", requestMethod="POST", url="https://arbitrum-mainnet.infura.io/v3/53b5accaa3634e829d2876df209e093e", code=SERVER_ERROR, version=web/5.5.0) at f.makeError (index.js:185:23) at f.throwError (index.js:194:20) at index.js:213:32 at Generator.next () at o (index.js:5:58)

dkent600 commented 2 years ago

Yeah, I discovered that today too, but haven't have time to work it

dkent600 commented 2 years ago

This was due to the cap Infura imposes on the number of blocks one can query at a time (100,000). Fixed by switching from Infura to https://arb1.arbitrum.io/rpc