Commit Graph

76 Commits

Author SHA1 Message Date
i-norden
3a5606673a removeu unused method hash arg 2023-03-06 11:46:07 -06:00
Ian Norden
d68c12706f
Merge pull request #5 from cerc-io/roy/unit-tests
Add unit tests and fixes
2023-03-06 11:38:26 -06:00
1483fa3c67 add unit tests 2023-03-05 16:45:18 +08:00
355d58ee3d fixes 2023-03-05 16:31:01 +08:00
i-norden
5ac92c5594 update readme 2023-03-01 22:36:17 -06:00
i-norden
5df06198ac fix pgx dep; go.mod 2023-03-01 14:06:40 -06:00
i-norden
9c0283dae9 remove unused fields 2023-02-28 12:19:09 -06:00
i-norden
6b25cde9dd fix: need to pass block_hash to StateObject and Database 2023-02-28 12:08:06 -06:00
i-norden
ede0af3c26 implement database.StorageSlot() 2023-02-28 12:08:06 -06:00
i-norden
8754278d18 implement database.StateAccount() 2023-02-28 12:08:06 -06:00
i-norden
16b0b5b0f2 postgres sql statements for database queries 2023-02-28 12:08:06 -06:00
i-norden
82555a5319 update internal database interface 2023-02-28 12:08:06 -06:00
i-norden
1741e5f790 remove remaining trie access, ForEachStorage is the only method which requires this access pattern and afaict it is only ever used in tests so we can leave it unimplemented 2023-02-28 12:08:06 -06:00
i-norden
a99694749f removed unused state_object public method 2023-02-28 12:08:06 -06:00
i-norden
6361f744ac remove prefetcher (remmoving trie access) 2023-02-28 12:08:06 -06:00
i-norden
23baf50803 add back caches for code and code length; implement code and codelength methods 2023-02-28 12:08:06 -06:00
i-norden
99b6f60eb7 begin sql statements 2023-02-28 12:08:06 -06:00
i-norden
ae70c88e19 remove snapshot usage and unused internal methods; note this is different than the journaling used to simulate state transitions 2023-02-28 12:08:06 -06:00
Ian Norden
b7b1896699
Merge pull request #1 from cerc-io/ian/v5
[WIP] ipld-eth-statedb
2023-02-27 08:15:53 -06:00
i-norden
60735d53fd replace geth state.Database with internal, minized, Database interface (reduce set of operations we need to replicate or replace ontop of postgres) 2023-02-24 10:32:44 -06:00
i-norden
dbb687e91e pgx config 2023-02-23 16:27:59 -06:00
i-norden
59f69ea369 adapted statedb implementation, trimmed down to fit only vm.StateDB interface. still need to replace ethdb usage 2023-02-23 16:12:20 -06:00
i-norden
fe188030df port over required internal geth packages 2023-02-23 16:10:34 -06:00
i-norden
fbc22540f7 note 2023-02-22 19:02:28 -06:00
i-norden
a65746510c boilerplate 2023-02-22 19:00:57 -06:00
i-norden
cbc597f784 init commit 2023-02-22 18:57:42 -06:00