Skip to content

Commit

Permalink
Fix post-merge lints
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Dec 9, 2021
1 parent 30a7efb commit 0686582
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 21 deletions.
2 changes: 1 addition & 1 deletion core/bin/data_restore/src/data_restore_driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ impl<T: Transport> DataRestoreDriver<T> {
}
}

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);
Expand Down
58 changes: 38 additions & 20 deletions core/lib/storage/sqlx-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit 0686582

Please sign in to comment.