diff --git a/core/bin/data_restore/src/data_restore_driver.rs b/core/bin/data_restore/src/data_restore_driver.rs index 8b5c5397ea..dc549d11d1 100644 --- a/core/bin/data_restore/src/data_restore_driver.rs +++ b/core/bin/data_restore/src/data_restore_driver.rs @@ -511,7 +511,7 @@ impl DataRestoreDriver { } } - let block = RollupOpsBlock::get_rollup_ops_blocks(&self.web3, &event) + let block = RollupOpsBlock::get_rollup_ops_blocks(&self.web3, event) .await .expect("Cant get new operation blocks from events"); blocks.extend(block); diff --git a/core/lib/storage/sqlx-data.json b/core/lib/storage/sqlx-data.json index 00587c63ac..6ad380d4fd 100644 --- a/core/lib/storage/sqlx-data.json +++ b/core/lib/storage/sqlx-data.json @@ -2196,6 +2196,26 @@ ] } }, + "4868140cb6b644efc751687b9a8dcd04324072bffbcc69ec29306b8a9793645e": { + "query": "\n SELECT SUM(usd_amount_scale6) as total FROM subsidies\n WHERE subsidy_type = $1\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "total", + "type_info": "Numeric" + } + ], + "parameters": { + "Left": [ + "Text" + ] + }, + "nullable": [ + null + ] + } + }, "4a0bc713a57201aa894b96acdb462c03d3ad63cf4fbc8a14b9ac5e2e02121207": { "query": "\n SELECT * FROM ticker_market_volume\n WHERE token_id = $1\n LIMIT 1\n ", "describe": { @@ -2726,26 +2746,6 @@ "nullable": [] } }, - "5c7fddda5592e9d84648e4e52e8e6cbb8c98d390e00ca7298a4cd6e5ef9367f2": { - "query": "\n SELECT SUM(usd_amount_scale6) as total FROM subsidies \n WHERE subsidy_type = $1\n ", - "describe": { - "columns": [ - { - "ordinal": 0, - "name": "total", - "type_info": "Numeric" - } - ], - "parameters": { - "Left": [ - "Text" - ] - }, - "nullable": [ - null - ] - } - }, "5d114595ec0f4fb9c49b846b4f245e454b02a47e88fa3b800d90c50564db74f0": { "query": "UPDATE eth_parameters SET last_committed_block = $1 WHERE id = true", "describe": { @@ -4695,6 +4695,24 @@ "nullable": [] } }, + "a665923ec57382f357f6bb65f6e35876fbfedbf1661b3ce34f2458b63eebc68e": { + "query": "\n INSERT INTO subsidies ( tx_hash, usd_amount_scale6, full_cost_usd_scale6, token_id, token_amount, full_cost_token, subsidy_type )\n VALUES ( $1, $2, $3, $4, $5, $6, $7 )\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Bytea", + "Int8", + "Int8", + "Int4", + "Numeric", + "Numeric", + "Varchar" + ] + }, + "nullable": [] + } + }, "a77668a3dce7f7cd1f45816f932eea685d429c3d75b40ea8e1a1bb9fc29f11c6": { "query": "UPDATE prover_job_queue SET (job_status, updated_at, updated_by) = ($1, now(), 'server_clean_idle')\n WHERE job_status = $2 and (now() - updated_at) >= interval '120 seconds'", "describe": {