centrifuge / pools-subql

Subquery for Pools on Centrifuge
MIT License
1 stars 4 forks source link

ETH indexer fails to attach LP DynamicSource #153

Closed filo87 closed 1 month ago

filo87 commented 1 month ago

Summary

centrifuge-subql/src/mappings/handlers/evmHandlers.ts method handleEvmDeployTranche fails to deploy LP dynamic source.

Steps to reproduce

Run multichain indexer on mainnet with the following starting blocks:

[...]
dataSources:
  - kind: ethereum/Runtime
    startBlock: 18721030
    options:
      address: '0x78E9e622A57f70F1E0Ec652A4931E4e278e58142'
      abi: poolManager
[...]
  - kind: ethereum/Runtime
    startBlock: 11063000
    options:
      abi: navFeed

Current behavior

ETHERS throws a call exception for the escrow method whenever starting blocks are as listed above. By changing BOTH starting block to the most recent value of 18721030, then the escrow() call is successful, and the dynamic source works correctly.

ETHERS throws similar errors in multiple occasions. Not only when attaching the DynamicSource.

Expected behavior

The dynamic source is attached correctly and parses the corresponding ERC20 tokens independently of the chosen starting block.

Relevant logs and/or screenshots

Error when attaching the dynamic source:

subql-node-eth-1  | 2024-05-11T08:01:54.407Z <sandbox> INFO Snapshotting Pool: 0xfc2950dd337ca8496c18dfc0256fb905a7e7e5c6 
subql-node-eth-1  | 2024-05-11T08:01:55.280Z <sandbox> INFO Adding DynamicSource for tranche 4139607887-0x97aa65f23e7be09fcd62d0554d2e9273 token: 0x30baA3BA9D7089fD8D020a994Db75D14CF7eC83b block: 18721033 
subql-node-eth-1  | 2024-05-11T08:01:55.286Z <sandbox> INFO Initialising new currency 1-0x30baA3BA9D7089fD8D020a994Db75D14CF7eC83b with 18 decimals 
subql-node-eth-1  | 2024-05-11T08:01:55.558Z <sandbox> ERROR undefined Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="escrow()", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)
subql-node-eth-1  | 2024-05-11T08:01:55.578Z <sandbox> INFO It's a new period on EVM block 18723600: 2023-12-06T00:04:35.000Z 

Other ethers errors:

05/14/2024 02:30:39 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:30:51 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:30:59 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:31:13 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:31:24 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:31:39 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:31:51 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:32:03 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:32:11 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:32:25 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:32:35 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:32:46 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/14/2024 02:33:06 PM
error
sandbox
Error fetching chunk 0: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xeefBa1e63905eF1D7ACbA5a8513c70307C1cE441","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005c0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000000000000000000000000000000007c0000000000000000000000000000000000000000000000000000000000000084000000000000000000000000000000000000000000000000000000000000008c0000000000000000000000000000000000000000000000000000000000000094000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000ac00000000000000000000000000000000000000000000000000000000000000b400000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000dc00000000000000000000000000000000000000000000000000000000000000e40000000000000000000000000...
05/15/2024 05:48:07 AM
error
sandbox
Failed shelfcontract.token call. Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0x7d057A056939bb96D682336683C10EC89b78D7CE","data":"0x044215c6000000000000000000000000000000000000000000000000000000000000019f","accessList":null}, error={"reason":"bad response","code":"SERVER_ERROR","status":504,"headers":{"server":"openresty","date":"Wed, 15 May 2024 05:48:07 GMT","content-type":"application/json; charset=utf-8","connection":"keep-alive","x-ratelimit-remaining-minute":"49940","x-ratelimit-limit-minute":"50000","ratelimit-remaining":"49940","ratelimit-limit":"50000","ratelimit-reset":"53","content-length":"51","x-continent":"AS","x-cluster":"hk","x-kong-upstream-latency":"60004","x-kong-proxy-latency":"10","via":"kong/2.3.3"},"body":"{\n \"message\":\"The upstream server is timing out\"\n}","requestBody":"{\"method\":\"eth_call\",\"params\":[{\"to\":\"0x7d057a056939bb96d682336683c10ec89b78d7ce\",\"data\":\"0x044215c6000000000000000000000000000000000000000000000000000000000000019f\"},\"0x12f37d4\"],\"id\":2655,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://eth.api.onfinality.io/ws"}, code=CALL_EXCEPTION, version=providers/5.7.2)
05/15/2024 06:53:56 AM
error
sandbox
Failed shelfcontract.token call. Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0xCFad06aDAcf221f8119995c8bCa25184A6b5A268","data":"0x044215c6000000000000000000000000000000000000000000000000000000000000004f","accessList":null}, error={"reason":"bad response","code":"SERVER_ERROR","status":502,"headers":{"server":"openresty","date":"Wed, 15 May 2024 06:53:56 GMT","content-type":"application/json; charset=utf-8","connection":"keep-alive","x-ratelimit-remaining-minute":"49413","x-ratelimit-limit-minute":"50000","ratelimit-remaining":"49413","ratelimit-limit":"50000","ratelimit-reset":"6","content-length":"75","x-continent":"AS","x-cluster":"hk","x-kong-upstream-latency":"2247","x-kong-proxy-latency":"3","via":"kong/2.3.3"},"body":"{\n \"message\":\"An invalid response was received from the upstream server\"\n}","requestBody":"{\"method\":\"eth_call\",\"params\":[{\"to\":\"0xcfad06adacf221f8119995c8bca25184a6b5a268\",\"data\":\"0x044215c6000000000000000000000000000000000000000000000000000000000000004f\"},\"0x12f37d4\"],\"id\":279,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://eth.api.onfinality.io/ws"}, code=CALL_EXCEPTION, version=providers/5.7.2)
05/15/2024 07:05:27 AM
error
sandbox
Failed shelfcontract.token call. Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"to":"0x7d057A056939bb96D682336683C10EC89b78D7CE","data":"0x044215c60000000000000000000000000000000000000000000000000000000000000122","accessList":null}, error={"reason":"bad response","code":"SERVER_ERROR","status":504,"headers":{"content-type":"text/plain; charset=utf-8","content-length":"163","connection":"keep-alive","x-ratelimit-remaining-minute":"49729","x-ratelimit-limit-minute":"50000","ratelimit-remaining":"49729","ratelimit-limit":"50000","ratelimit-reset":"34","date":"Wed, 15 May 2024 07:05:27 GMT","x-continent":"AS","x-cluster":"hk","x-kong-upstream-latency":"360","x-kong-proxy-latency":"2","via":"kong/2.3.3"},"body":"read tcp 192.168.125.185:58980->104.22.53.246:443: read: connection reset by peer. The gateway cannot get a response, please try again or contact the administrator","requestBody":"{\"method\":\"eth_call\",\"params\":[{\"to\":\"0x7d057a056939bb96d682336683c10ec89b78d7ce\",\"data\":\"0x044215c60000000000000000000000000000000000000000000000000000000000000122\"},\"0x12f37d4\"],\"id\":3419,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://eth.api.onfinality.io/ws"}, code=CALL_EXCEPTION, version=providers/5.7.2) 

Possible fixes

TBD

filo87 commented 1 month ago

Temporary fix: use hardcoded adresses for escrow and userEscrow.

Mainnets -> 0xd595E1483c507E74E2E6A3dE8e7D08d8f6F74936 Sepolia -> 0x1AB6cD0c08120215E241a6108ae7458c995E1694