ipld-eth-state-snapshot/pkg/snapshot
prathamesh0 b241bf05eb
Add command to take an in-place snapshot (#42)
* Add command to take an in-place snapshot

* Add test data for in place snapshot unit test

* Implement unit test for inplace snapshot

* Add check for storage IPLD

* Run unit tests sequentially

* Add github workflow for unit test

* Add missing checks for state and storage cid fields

* Add more storage nodes to test

* Update ipld-eth-db version for tests

* Add comments for inplace snapshot test data

* Add in-place snapshot cmd in readme

* Implement defer pattern for db transaction

* Log transaction commit or rollback error

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2022-06-15 12:51:26 +05:30
..
file Add command to take an in-place snapshot (#42) 2022-06-15 12:51:26 +05:30
mock fix minor bug 2022-03-30 14:09:32 -05:00
pg Add command to take an in-place snapshot (#42) 2022-06-15 12:51:26 +05:30
config.go Add command to take an in-place snapshot (#42) 2022-06-15 12:51:26 +05:30
env.go Add command to take an in-place snapshot (#42) 2022-06-15 12:51:26 +05:30
in_place_snapshot_test.go Add command to take an in-place snapshot (#42) 2022-06-15 12:51:26 +05:30
in_place_snapshot.go Add command to take an in-place snapshot (#42) 2022-06-15 12:51:26 +05:30
service_test.go Merge changes to fix iterator and update 2022-06-10 14:12:34 +05:30
service.go Add command to take an in-place snapshot (#42) 2022-06-15 12:51:26 +05:30
tracker.go clean up logging 2022-06-08 20:12:22 +08:00
util.go decrement path from restored iterator 2022-06-08 20:12:22 +08:00