Commit Graph

14 Commits

Author SHA1 Message Date
i-norden
784860a7f0 create database abstraction to make it easier to use different drivers; add sqlx driver support to make integrating into ipld-eth-server database metrics easier 2023-03-13 14:07:01 -05:00
i-norden
04a4cc7014 add SetStorage methods to StateDB and StateObject 2023-03-13 10:41:45 -05:00
355d58ee3d fixes 2023-03-05 16:31:01 +08: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
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
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
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
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
fbc22540f7 note 2023-02-22 19:02:28 -06:00
i-norden
a65746510c boilerplate 2023-02-22 19:00:57 -06:00