Commit Graph

51 Commits

Author SHA1 Message Date
483bc3f997 ref. integrity tests - set up once and rollback tx for each case
runs faster with equivalent degree of isolation - tests were hitting default 10m timeout
2023-09-09 17:12:15 +08:00
Ian Norden
911f6f7ef8
Merge pull request #35 from cerc-io/update-schema
Update go-ethereum and ipld-eth-db
2023-08-22 23:43:38 -05:00
9ab1589d2d improve test util 2023-08-11 15:58:17 +08:00
ed8c39dd41 update ipld-eth-server 2023-08-11 14:31:49 +08:00
a512d3f67b add full chain ref integ. test 2023-08-11 00:27:16 +08:00
b4c9f1e864 Update go-ethereum and ipld-eth-db schema
- index non-canonical data first in tests
2023-08-11 00:22:53 +08:00
bc3a7934cf
Upgrade to v5 schema (#32)
* refactor vulcanize => cerc
* update geth and cerc dependencies
* update packages, ginkgo
* refactor chain generation
* update integration tests, contract, makefile
* go embed contract code
* rm old readme
* move unit tests into package
* rm ginkgo where not needed
* use tx in ref integrity functions
2023-06-22 07:25:27 +08:00
Ian Norden
a7f4e4d704
Merge pull request #30 from cerc-io/ian/v4_dev
[v4] update deps, refs, and go version + fixes
2023-04-01 14:29:44 -05:00
i-norden
c58a4f2533 fixes after rebase 2023-04-01 14:17:32 -05:00
i-norden
71ce820b5c update deps, refs, and go version 2023-04-01 14:01:38 -05:00
Michael
517bd1823e
updates for geth 1.10.26 and cerc repo migration (#24)
* updates for geth 1.10.26 and cerc repo migration

* pull from git.vdb.to

* docker login not valid here as workflow action
2022-11-09 11:46:03 -05:00
Michael
e51b124130
geth 1.10.25 dependency updates and cerc-io refactoring (#22) 2022-09-27 09:24:03 -04:00
Michael
52979bf36b
updated dependencies for statediffing geth 1.10.23 (#21)
* updated dependencies for statediffing geth 1.10.23

* another ref to GenesisBlockForTesting
2022-09-02 14:44:47 -04:00
prathamesh0
acf8e6f96a
Make writeStateDiffAt call on missing block and add metrics (#20)
* Add chainID flag and make chainConfig optional

* Add prometheus metrics to monitor validation progress

* Make writeStateDiffAt calls on missing blocks

* Update docs and config improvements

* Use standard logger

* Add copyright to files

* Upgrade dependencies
2022-08-23 13:05:50 +05:30
Michael
716978e23c
Merge pull request #19 from vulcanize/geth_1_10_21_wip
geth 1.10.21 update
2022-08-03 14:51:29 -04:00
Michael Shaw
e1a92a978e go-quic not 1.19 ready for both checks 2022-08-03 14:42:06 -04:00
Michael Shaw
8e3bc49407 go-quic not 1.19 ready 2022-08-03 14:36:47 -04:00
Michael Shaw
3804f52aaf ipld-eth-server missed version update 2022-08-03 11:37:55 -04:00
Michael Shaw
47ef12426d geth 1.10.21 update 2022-08-03 11:11:22 -04:00
Michael
5c7b15f304
Merge pull request #18 from vulcanize/release-v4.1.1-alpha
update for go-ethereum 1.10.20
2022-07-20 17:18:07 -04:00
Michael Shaw
55248fdd0d update for go-ethereum 1.10.20 2022-07-19 14:57:44 -04:00
prathamesh0
5fb86ba963
Upgrade dependencies and update referential integrity checks (#17)
* Upgrade dependencies and update referential integrity queries

* Update GitHub workflow to run tests
2022-07-13 13:12:59 +05:30
Abdul Rabbani
7ae4886b9a
update geth and CICD refs (#15)
* update geth and CICD refs

* Update stack-orch

* Download bin instead of building it

* Fix integration Tests

* Update DB Ref
2022-06-20 09:37:15 -04:00
b11ace0711
Revert changes to perform referential integrity tests (#16) 2022-06-20 14:20:14 +05:30
Abdul Rabbani
d111dd85db
Feature/update go geth sharding (#13)
* Upgrade Geth, Go and add CICD

* update ipld-eth-server version

* Track validation progress on a channel

* Add integration tests

* Setup validator config and update instructions to run tests locally

* Update readme and tests

* Update test to use v4 Infrastructure

* Inlcude the env file

* Fix config file write

* Update DB configuration

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
Co-authored-by: Ashwin Phatak <ashwinpphatak@gmail.com>
2022-06-03 09:28:02 -04:00
prathamesh0
cc935dc97b
Add checks to validate referential integrity in the data (#7)
* Add checks to validate referential integrity

* Add unit tests for referential integrity validation

* Use EXISTS in referential integrity validation queries
2022-06-01 11:29:53 +05:30
Ashwin Phatak
effbdc3f58
Merge pull request #9 from deep-stack/pm-merge-perpetual
Merge changes to make validation process perpetual
2022-05-31 13:44:36 +05:30
31cc17b70f Merge changes to make validation process perpetual 2022-05-31 13:09:45 +05:30
prathamesh0
6eeaa2c8bd
Make validation process perpetual (#8)
* Make validation process perpetual

* Get sleep interval from config

* Add license

* Gracefully shutdown validator on interrupt

* Change default trail and sleep values
2022-05-31 11:59:49 +05:30
Ashwin Phatak
e89d64aa72
Merge pull request #5 from deep-stack/pm-v4-changes
Upgrade dependencies to v4
2022-05-23 20:01:52 +05:30
a56da1782a Update instructions to run tests 2022-05-23 19:43:21 +05:30
e102a2b5ac Upgrade dependencies to v4 2022-05-23 19:08:17 +05:30
Ashwin Phatak
bf85e6f299
Merge pull request #4 from deep-stack/pm-v3-changes
Upgrade dependencies and use sqlx
2022-05-20 17:13:02 +05:30
5a038317bc Add instructions to run integration tests 2022-05-20 16:47:48 +05:30
9181d24514 Prefix hex contract byte code in test data with 0x 2022-05-20 11:12:03 +05:30
356599aa6f Upgrade geth version to 1.10.17 2022-05-18 17:35:30 +05:30
f4c1ca4ebe Use LoadConfig from ipld-eth-server 2022-05-17 18:36:08 +05:30
c468b494dc Load chain config from a file 2022-05-17 10:00:31 +05:30
e55b2b8ab3 Clean up validator tests 2022-05-17 08:52:19 +05:30
ba1ef473f8 Updates to use v3 ipld-eth-server 2022-05-06 16:51:11 +05:30
Abdul Rabbani
d60e4f6557
Merge pull request #1 from vulcanize/state-validator
Implement ethereum state validator.
2022-03-04 10:08:50 -05:00
Abdul Rabbani
09e91b0826 Update documentation, MakeFile, and Integration Test Used 2022-03-03 16:26:41 -05:00
Abdul Rabbani
eafca5d771 Update README 2022-03-02 18:18:39 -05:00
Abdul Rabbani
9f3899779a Update the readme and cleanup the make file 2022-03-02 18:09:01 -05:00
Arijit Das
80bcb2580f Add integration test and dynamic txn unit test. 2022-01-20 18:52:01 +05:30
Arijit Das
93e3dba443 Code cleanup. 2022-01-18 23:08:11 +05:30
Arijit Das
5a6c4da727 Update go.mod. 2022-01-18 22:48:59 +05:30
Arijit Das
530aa2b62f Add unit test. 2022-01-18 22:44:38 +05:30
Arijit Das
7afb77c18d Add missing files. 2022-01-18 11:53:01 +05:30
Arijit Das
527bbecc25 Implement ethereum state validator. 2022-01-17 19:10:13 +05:30