You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We keep getting this error on Scroll on realtime sync. We noticed it always happens when historical sync is complete and we're on realtime and there is a block reorg and we perform a multicall.
This shouldn't happen as the same mutlicall is also performed during historical syncs. Also it is not specific to this one multicall, we noticed that sometimes it's this function call and other times it is a different mutlicall in the app too.
12:28:21 AM INFO realtime Synced block 9412704 from 'scroll'
12:28:24 AM INFO realtime Synced block 9412705 from 'scroll'
12:28:26 AM INFO realtime Synced block 9412706 from 'scroll'
12:28:30 AM INFO realtime Synced block 9412707 from 'scroll'
12:28:34 AM INFO realtime Synced block 9412708 from 'scroll'
12:28:36 AM INFO realtime Synced block 9412709 from 'scroll'
12:28:40 AM INFO realtime Synced block 9412710 from 'scroll'
12:28:42 AM INFO realtime Synced block 9412711 from 'scroll'
12:28:45 AM INFO realtime Synced block 9412712 from 'scroll'
12:28:48 AM INFO realtime Synced block 9412713 from 'scroll'
12:28:50 AM INFO realtime Synced block 9412714 from 'scroll'
12:28:54 AM INFO realtime Synced block 9412715 from 'scroll'
12:28:56 AM INFO realtime Synced block 9412716 from 'scroll'
12:29:01 AM INFO realtime Synced block 9412717 from 'scroll'
12:29:04 AM INFO realtime Synced block 9412718 from 'scroll'
12:29:07 AM INFO realtime Synced block 9412719 from 'scroll'
12:29:09 AM INFO realtime Synced block 9412720 from 'scroll'
12:29:13 AM INFO realtime Synced block 9412721 from 'scroll'
12:29:14 AM INFO realtime Synced block 9412722 from 'scroll'
12:29:15 AM WARN realtime Detected forked 'scroll' block at height 9412721
12:29:15 AM WARN realtime Reconciled 1-block reorg on 'scroll' with common ancestor block 9412720
12:29:17 AM INFO realtime Synced block 9412721 from 'scroll'
12:29:17 AM INFO realtime Synced block 9412722 from 'scroll'
12:29:18 AM INFO realtime Synced block 9412723 from 'scroll'
Getting 16 tokens from DefiLlama on scroll
Defillama missing tokens: 5
Getting 5 tokens from Coingecko on scroll
12:29:19 AM WARN realtime Detected forked 'scroll' block at height 9412721
12:29:19 AM WARN realtime Reconciled 1-block reorg on 'scroll' with common ancestor block 9412720
Coingecko missing tokens: 0
12:29:20 AM WARN sync Failed 'eth_call' RPC request
12:29:20 AM ERROR indexing Error while processing TokenPricesUpdate:block event at chainId=534352, block=9412723
ContractFunctionExecutionError: Missing or invalid parameters.
Double check you have provided the correct parameters.
URL: https://scroll-mainnet.g.alchemy.com/v2/XNnyyvMxcIwO6m1g3cXY-UB4SdHj3d1b
Request body: {"method":"eth_call","params":[{"data":"0x82ad56cb00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001afbc62f221be90d82e0f4cfeef011451942d6e100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000418160ddd000000000000000000000000000000000000000000000000000000000000000000000000000000001afbc62f221be90d82e0f4cfeef011451942d6e10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000040902f1ac00000000000000000000000000000000000000000000000
000000000","to":"0xca11bde05977b3631167028862be2a173976ca11"},"0x8fa073"]}
Raw Call Arguments:
to: 0xca11bde05977b3631167028862be2a173976ca11
data: 0x82ad56cb00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001afbc62f221be90d82e0f4cfeef011451942d6e100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000418160ddd000000000000000000000000000000000000000000000000000000000000000000000000000000001afbc62f221be90d82e0f4cfeef011451942d6e10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000040902f1ac00000000000000000000000000000000000000000000000000000000
Contract Call:
address: 0xca11bde05977b3631167028862be2a173976ca11
function: aggregate3((address target, bool allowFailure, bytes callData)[])
args: ([{"allowFailure":true,"callData":"0x18160ddd","target":"0x1afbc62f221be90d82e0f4cfeef011451942d6e1"},{"allowFailure":true,"callData":"0x0902f1ac","target":"0x1afbc62f221be90d82e0f4cfeef011451942d6e1"}])
Docs: https://viem.sh/docs/contract/readContract.html
Details: header not found
Version: [email protected]
at updatePairPrice (/impremax/scroll/impermax-v2-backend-test-wrench/src/bundle.ts:251:35)
at /impremax/scroll/impermax-v2-backend-test-wrench/src/bundle.ts:82:3
249 |
250 | // Supply and reserves of the stakedLP's uniswapv2 pair
> 251 | const [totalSupply, reserves] = await client.multicall({
| ^
252 | contracts: [
253 | { ...contract, functionName: "totalSupply" },
254 | { ...contract, functionName: "getReserves" },
caused by: CallExecutionError: Missing or invalid parameters.
Double check you have provided the correct parameters.
The text was updated successfully, but these errors were encountered:
swan-of-bodom
changed the title
header not found error in Scroll network upon block reorgsheader not found error in Scroll network upon block reorgs and multicall
Sep 19, 2024
We keep getting this error on Scroll on realtime sync. We noticed it always happens when historical sync is complete and we're on realtime and there is a block reorg and we perform a multicall.
This shouldn't happen as the same mutlicall is also performed during historical syncs. Also it is not specific to this one multicall, we noticed that sometimes it's this function call and other times it is a different mutlicall in the app too.
The text was updated successfully, but these errors were encountered: