-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: read only slot value from database and reuse index from memory (#…
…556)
- Loading branch information
1 parent
142852b
commit 2974441
Showing
8 changed files
with
82 additions
and
84 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
.sqlx/query-4fbeeaff4eb307089f65b1ce032f9f597ecbfe44b2d76ddca04125f64bf65b11.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
.sqlx/query-a5ab4b2493cbf61ac57667946e32272f13c0a3ba35629517c157835e24c27ad7.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
.sqlx/query-e2bbf70bff8147a1955a2b65838419cab2f276ed2817e2278f8166bd8c2bdc41.json
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
.sqlx/query-f21480f34d6d71a9a5c02ebad283b26cbeee229572ee97d0930ddb95253115f2.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
SELECT | ||
idx as "index: _", | ||
value as "value: _" | ||
SELECT value | ||
FROM account_slots | ||
WHERE account_address = $1 | ||
AND idx = $2 |
4 changes: 1 addition & 3 deletions
4
src/eth/storage/postgres_permanent/sql/select_slot_at_block.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters