Skip to content

Commit

Permalink
chore: fix column names and FROM without alias (#334)
Browse files Browse the repository at this point in the history
* chore: fix column names and FROM without alias

* fix: remove wrong files from commit
  • Loading branch information
renancloudwalk authored Mar 11, 2024
1 parent 8dccd94 commit 4540dd7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 34 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

4 changes: 2 additions & 2 deletions src/eth/storage/postgres/queries/insert_entire_block.sql
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,6 @@ historical_slots_insert AS (
)

SELECT modified_accounts, modified_slots FROM
(SELECT count(*) AS modified_accounts FROM account_insert)
(SELECT count(*) AS modified_accounts FROM account_insert) as account_results
CROSS JOIN
(SELECT count(*) AS modified_slots FROM slot_insert);
(SELECT count(*) AS modified_slots FROM slot_insert) as slot_results;
1 change: 0 additions & 1 deletion src/infra/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ impl Postgres {
let mut sload_cache = HashMap::new();

raw_sload.into_iter().for_each(|s| {
dbg!(s.address.clone());
sload_cache.insert((s.address, s.index), (s.value, s.block));
});

Expand Down

0 comments on commit 4540dd7

Please sign in to comment.