diff --git a/bin/check-config.ts b/bin/check-config.ts index e4a2869..d61787a 100644 --- a/bin/check-config.ts +++ b/bin/check-config.ts @@ -530,7 +530,7 @@ async function main() { } const gql = `{ - tokens(where: {balances_: {amount_lt: 0}}) { + tokens(where: {balances_: {rawAmount_lt: 0}}) { id } }` @@ -544,7 +544,7 @@ async function main() { }) if (!result.ok) { - console.error(`Failed to fetch data from subgraph: ${result.statusText}`) + console.error(`Failed to fetch data from subgraph ${chain}: ${result.statusText}`) console.error(await result.text()) continue } diff --git a/config/arbitrum.json b/config/arbitrum.json index 5b8a54d..1d45181 100644 --- a/config/arbitrum.json +++ b/config/arbitrum.json @@ -3,7 +3,7 @@ "indexerHintPrune": 20000000, "shareTokenMintAddress": "0x0000000000000000000000000000000000000000", "burnAddress": "0x000000000000000000000000000000000000dead", - "firstBlock": 100410105, + "firstBlock": 1365253, "clmManagerFactoryAddress": "0xD41Ce2c0a0596635FC09BDe2C35946a984b8cB7A", "clmManagerFactoryStartBlock": 219696027, diff --git a/data/arbitrum_data.json b/data/arbitrum_data.json index 04030fb..2b00cc5 100644 --- a/data/arbitrum_data.json +++ b/data/arbitrum_data.json @@ -26,7 +26,6 @@ "0x9b40e357937bce323b1eb3832173b3d028520708", "0x9dbbbaecacedf53d5caa295b8293c1def2055adc", "0x9e75f8298e458b76382870982788988a0799195b", - "0xaf570c4bcc42fe7f62e969bb147a639d74d2dad4", "0xb1bfc21bee2b2dda4728481dbf52edc3b9f5fb79", "0xb8ff233d024277b0e188a478c18e9263330a1b51", "0xba5041b1c06e8c9cfb5ddb4b82bdc52e41ea5fc5",