Ashwin Phatak
|
74f82a641d
|
Fix dependency
|
2022-06-08 20:05:38 +08:00 |
|
|
3e24972a89
|
try to fix hanging iterator
|
2022-06-08 20:05:38 +08:00 |
|
Ashwin Phatak
|
7129044eae
|
Log progress info
|
2022-06-08 18:32:10 +08:00 |
|
Abdul Rabbani
|
d213644ff4
|
Merge pull request #39 from vulcanize/feature/update-go-geth
Updating Go and Geth Version
|
2022-06-01 09:10:35 -04:00 |
|
Abdul Rabbani
|
a04777cb78
|
Updating Go and Geth Version
Ran Tests:
```
09:07:50:~/GitHub/cerc/ipld-eth-state-snapshot go test ./... -v
# github.com/vulcanize/ipld-eth-state-snapshot/cmd
cmd/stateSnapshot.go:47:3: (*github.com/sirupsen/logrus.Entry).Fatal call has possible formatting directive %v
? github.com/vulcanize/ipld-eth-state-snapshot [no test files]
=== RUN TestCreateSnapshot
=== RUN TestCreateSnapshot/case
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
=== RUN TestCreateSnapshot/case#01
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
=== RUN TestCreateSnapshot/case#02
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
=== RUN TestCreateSnapshot/case#03
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
--- PASS: TestCreateSnapshot (0.20s)
--- PASS: TestCreateSnapshot/case (0.15s)
--- PASS: TestCreateSnapshot/case#01 (0.01s)
--- PASS: TestCreateSnapshot/case#02 (0.02s)
--- PASS: TestCreateSnapshot/case#03 (0.03s)
=== RUN TestRecovery
=== RUN TestRecovery/case
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
time="2022-06-01T09:08:03-04:00" level=info msg="Dumping recovery state to: /var/folders/xf/cg688d9j7f39ktmd_4ttwxqh0000gn/T/TestRecoverycase3574218035/001/recover.csv"
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
=== RUN TestRecovery/case#01
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
time="2022-06-01T09:08:03-04:00" level=info msg="Dumping recovery state to: /var/folders/xf/cg688d9j7f39ktmd_4ttwxqh0000gn/T/TestRecoverycase#011814952517/001/recover.csv"
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
=== RUN TestRecovery/case#02
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
time="2022-06-01T09:08:03-04:00" level=info msg="Dumping recovery state to: /var/folders/xf/cg688d9j7f39ktmd_4ttwxqh0000gn/T/TestRecoverycase#021650290358/001/recover.csv"
time="2022-06-01T09:08:03-04:00" level=info msg="Creating snapshot at height 1"
time="2022-06-01T09:08:03-04:00" level=info msg="head hash: 0xa7684ac44d48494670b2e0d9085b7750e7341620f0a271db146ed5e70c1db854 head height: 1"
--- PASS: TestRecovery (0.40s)
--- PASS: TestRecovery/case (0.12s)
--- PASS: TestRecovery/case#01 (0.19s)
--- PASS: TestRecovery/case#02 (0.09s)
PASS
ok github.com/vulcanize/ipld-eth-state-snapshot/pkg/snapshot 1.109s
=== RUN TestWriting
--- PASS: TestWriting (0.00s)
=== RUN TestPgCopy
publisher_test.go:84: set TEST_WITH_DB to enable test
--- SKIP: TestPgCopy (0.00s)
PASS
ok github.com/vulcanize/ipld-eth-state-snapshot/pkg/snapshot/file 0.279s
=== RUN TestBasic
publisher_test.go:47: set TEST_WITH_DB to enable test
--- SKIP: TestBasic (0.00s)
PASS
ok github.com/vulcanize/ipld-eth-state-snapshot/pkg/snapshot/pg 0.647s
```
|
2022-06-01 09:09:19 -04:00 |
|
Ashwin Phatak
|
c785c12274
|
Merge pull request #35 from vulcanize/ng-file-ethereum-nodeId
Add ethereum config to fix db import in file mode
|
2022-05-25 18:38:09 +05:30 |
|
|
23c4d22885
|
Add ethereum config to fix db import in file mode
|
2022-05-25 18:15:08 +05:30 |
|
prathamesh0
|
cce45bda57
|
Add prometheus metrics collection (#33)
* Upgrade geth
* Add prometheus metrics collection
* Update README
|
2022-05-23 16:56:48 +05:30 |
|
Ian Norden
|
751e064f8f
|
Merge pull request #28 from vulcanize/release-v3.0.2
add env bindings
|
2022-05-17 22:36:08 -05:00 |
|
i-norden
|
004f3e6665
|
constants for CLI binding strings
|
2022-05-17 22:33:20 -05:00 |
|
i-norden
|
31105a009c
|
add env bindings
|
2022-04-04 14:35:18 -05:00 |
|
Ian Norden
|
560199f930
|
Merge pull request #25 from vulcanize/release-v3.0.1
fix minor bug
|
2022-03-31 10:34:36 -05:00 |
|
i-norden
|
060eb5cf67
|
add some logs and guards, update module name, update readme
|
2022-03-30 18:57:30 -05:00 |
|
i-norden
|
de39842049
|
fix minor bug
|
2022-03-30 14:09:32 -05:00 |
|
Ian Norden
|
9e768dc2ba
|
Merge pull request #22 from vulcanize/recovery
Service state recovery
|
2022-03-17 07:09:25 -05:00 |
|
|
8d1e79d22e
|
handle sigterm
|
2022-03-16 18:48:51 +08:00 |
|
|
b732ffc5f2
|
fix race condition
|
2022-03-14 23:34:26 +08:00 |
|
|
2481d0a28d
|
recovery - handle signals
|
2022-03-14 23:34:26 +08:00 |
|
|
02488e2b79
|
logging tweaks
|
2022-03-14 23:32:00 +08:00 |
|
|
7a2ef4f542
|
fix fixtures
|
2022-03-14 23:32:00 +08:00 |
|
|
56acb77829
|
update iterator mod
|
2022-03-14 23:31:48 +08:00 |
|
|
7a31f6f007
|
add chaindata/.gitignore
|
2022-03-03 17:12:29 +08:00 |
|
|
b5d0010581
|
implement job recovery; fix traversal & iterator
|
2022-03-03 17:12:29 +08:00 |
|
Ian Norden
|
a99d0a5ad6
|
Merge pull request #21 from vulcanize/file-output
Create CSV file publisher with updated schema
|
2022-03-01 06:35:10 -06:00 |
|
|
e0df3399e1
|
clanup
|
2022-02-17 14:35:20 +08:00 |
|
|
1a65d9e022
|
string, not ptr, as map index
|
2022-02-17 14:34:54 +08:00 |
|
|
ef4ae3a0d4
|
revisions
|
2022-02-16 19:27:02 +08:00 |
|
|
3fda647ee9
|
clean up
|
2022-02-16 11:13:51 +08:00 |
|
|
73cc0f191b
|
clean up - can rm type here
|
2022-02-15 18:41:31 +08:00 |
|
|
c4b4f232e9
|
create csv file publisher; update geth and schema
|
2022-02-14 07:22:31 +08:00 |
|
|
d109173e5d
|
Merge pull request #20 from vulcanize/fix-config
Fix config initialization
|
2022-02-03 12:41:59 +08:00 |
|
|
b91c5d2d69
|
Fix config initialization
|
2022-01-27 12:40:14 +08:00 |
|
Ian Norden
|
5269b7989c
|
Merge pull request #7 from vulcanize/async-traversal
Concurrent traversal
|
2022-01-26 12:09:21 -06:00 |
|
i-norden
|
1919738fec
|
update go mod
|
2022-01-26 12:07:52 -06:00 |
|
|
4f53299e9a
|
clean up [need storage node]
|
2022-01-16 17:55:35 -06:00 |
|
|
2640b5aeb2
|
clean up
|
2022-01-16 16:09:24 -06:00 |
|
|
159f93902e
|
tests - mock publisher with fixtures
* go structs for header, etc.
* refactor: pkg/types
* add fixture chaindata
|
2022-01-14 21:43:00 -06:00 |
|
|
2bb06e0a8d
|
split ethdb out of service
|
2022-01-10 23:37:27 -06:00 |
|
|
1fab8ac1c8
|
rf config, mock publisher
|
2022-01-10 19:08:45 -06:00 |
|
|
802a5908df
|
set up test
|
2022-01-10 18:59:15 -06:00 |
|
|
1f21a65478
|
fixes
|
2022-01-10 18:06:29 -06:00 |
|
|
317b277939
|
Merge branch 'master' into async-traversal
|
2022-01-10 17:47:27 -06:00 |
|
|
f7b44173f8
|
get it to compile
|
2022-01-07 21:32:45 -06:00 |
|
Ian Norden
|
34afc39cd3
|
Merge pull request #15 from vulcanize/improve-logging
Improve logging.
|
2021-12-28 23:48:50 -06:00 |
|
i-norden
|
e50bd160fe
|
log final counts when process completes
|
2021-12-28 23:47:33 -06:00 |
|
i-norden
|
b5d31748e0
|
bump geth version
|
2021-12-28 23:30:17 -06:00 |
|
i-norden
|
9d9fe231f7
|
storageNodeCounter; log the total runtime
|
2021-12-28 23:27:49 -06:00 |
|
Arijit Das
|
c5dfa98ffe
|
Refactor.
|
2021-12-23 20:04:34 +05:30 |
|
Arijit Das
|
50edaff3ce
|
Improve logging.
|
2021-12-23 19:56:24 +05:30 |
|
Arijit Das
|
48636d2f1b
|
Merge pull request #11 from vulcanize/update-geth-impl-tx-batching
Update geth and implement transaction batching.
|
2021-12-20 19:24:09 +05:30 |
|