Commit Graph

92 Commits

Author SHA1 Message Date
i-norden
402a6e183b update SO version
Some checks failed
Test the stack. / Run unit tests (pull_request) Successful in 5m4s
Test the stack. / Run integration tests (pull_request) Failing after 5m37s
2024-01-29 09:30:21 -05:00
4bd5a774f1 Make CI publish workflow manual only 2023-09-21 15:59:42 +08:00
d2252193ec Refactor to use plugeth-statediff (#1)
Reviewed-on: #1
2023-09-21 06:55:26 +00:00
35fc6a7490
Fix typo in CI workflow (#254) 2023-09-01 01:10:40 +08:00
51c36adbea
Update dependencies for ipld-eth-db 5.0.5 and geth v1.11.6-statediff-5.0.8 (#252)
In addition to the module updates, because the new indexer code will automatically flag pre-existing blocks as non-canonical when new block is added at the same height, I had to re-order the test setup to insert non-canonical blocks first.
2023-07-31 12:43:15 -05:00
40d65598e3 update stack-orchestrator 2023-05-28 17:25:59 +08:00
1fe599dd71 cleanup 2023-05-28 15:49:25 +08:00
c6040dd514 move package test/ => integration/ 2023-05-28 15:49:25 +08:00
6eded51cf1 un-dev 2023-05-28 15:49:19 +08:00
6d7487152c Upgrade to v5 schema
Now uses:
* ipld direct_by_leaf StateDB for basic queries
* trie_by_cid StateDB for trie slice and proof queries

Also:
* vulcanize => cerc refactor
* Backend method to close dbs
* state tests are in multiple packages, to allow separate ginkgo suites
* removes gap-filler module
* integration tests and github workflows
* run stack-orchestrator for testnet
* fix various issues with tests, hardhat server, dockerfile
* fix cmd flags / env vars
* fix flaky tests and clean up code
* remove unused code, scripts
* remove outdated docs
* update version
2023-05-25 21:39:48 +08:00
i-norden
db4bd5183e use 6c00c38cc4e1db6f7c4cecbb62fdfd540fba50d6 ver of ipld-eth-db (has new get_storage_at_by_hash func) 2023-04-14 17:33:27 +08:00
i-norden
d06bce2f1b use e62830c982d4dfc5f3c1c2b12c1754a7e9b538f1 ver of stack-orch 2023-04-14 17:33:27 +08:00
i-norden
97a4cbddc8 remove outdated custom runner; simplify unit tests action 2023-04-14 14:49:39 +08:00
i-norden
f689e60292 use go1.19 explicitly in all workflows 2023-04-14 14:49:39 +08:00
i-norden
20fa187092 bump to go 1.19 and update workflow refs 2023-04-14 14:49:39 +08:00
4714610b72
Use get_storage_at DB functions. (#205)
* Use new get_storage_at DB functions.

* Use latest ipld-eth-db for tests.
2022-11-16 14:13:10 -06:00
prathamesh0
cc17368c0d
Optimize GQL and getBlock APIs (#201)
* Add optional block number filter to getLogs API

* Use block number while fetching block with transactions

* Fix for failing tests

* Use block number when fetching block objects

* Use block number when fetching a tx by hash

* Add back methods to get block objects by block hash

* Update run_unit_test.sh

Removing echo command, as it seems to be only change in CICD.

* Increase wait time for db setup in unit test job

Co-authored-by: Michael <michael@abastionofsanity.com>
2022-11-04 10:02:09 +05:30
prathamesh0
33602aa0e0
Optimize getLogs GQL API (#198)
* Avoid joins with header and transaction tables while getting logs

* Update getLogs GQL API to accept multiple addresses

* Update version

* Update unit tests
2022-10-05 15:14:17 +05:30
Michael Shaw
b29b5269ee incomplete docker tag 2022-09-23 18:03:25 -04:00
Michael
dbeb1633f1
Geth 1.10.25 wip (#196)
* dependency updates for geth 1.10.25

* pr publish cleanup/refactor

* git.vdb.to fully qualified docker tag
2022-09-23 17:55:52 -04:00
Michael
d343ee0cc1
Geth 1.10.25 wip (#195)
* dependency updates for geth 1.10.25

* pr publish cleanup/refactor
2022-09-23 17:25:26 -04:00
prathamesh0
2c03c8cbd0
Support debug_traceCall API (#192)
* Implement debug_traceCall API

* Use API implementation from geth with custom backend

* Update refs in GitHub workflow
2022-09-21 17:15:03 +05:30
Michael
fc0d7a6dd6
Cerc refactor (#193)
* cerc refactor waiting on unpublished dependencies

* cerc refactor updates for dependencies

* Describe imports got removed

* cleaning up more vulcanize refs in ci/cd

* another test lost Describe imports

* another test lost Describe imports... not caught in go build -a???

* more cerc-io migrations to utilize new git.vdb.to gitea instance

* switching back to github for running unit test

* first try at git.vdb.to as conatiner repository

* targeted tag was incomplete
2022-09-20 11:52:06 -04:00
prathamesh0
e40e8a7335
Optimize eth_getBlockByNumber and eth_getBlockByHash implementations (#187)
* Avoid two step queries for creating a block object

* Use a db tx while fetching block objects

* Upgrade ipfs-ethdb
2022-08-23 12:42:19 +05:30
i-norden
cc35b06ddf use go 1.18 2022-08-08 14:20:12 -05:00
Michael Shaw
4cf523b626 PEBKAC 2022-08-02 15:51:18 -04:00
Michael Shaw
451d71a528 trying pre-merge commit to avoid not our ref error in CI 2022-08-02 14:53:59 -04:00
Michael Shaw
ec21e95182 dependency update and on pr yaml update 2022-08-02 11:46:36 -04:00
Michael Shaw
74a7748483 on pr yaml dependency ref updates 2022-08-01 14:49:59 -04:00
prathamesh0
6cb54ca790
Update transactions, receipts and logs queries (#173)
* Update queries to fetch data from cids tables

* Fix eth_getTransactionByHash to return tx from canonical block

* Fetch transaction by hash in a single query

* Update queries to fetch data from IPLD blocks table

* Avoid NULL result from canonical block hash query

* Update GitHub workflow and script to run unit tests

* Avoid usage of LIMIT 1 in queries for GQL API

* Fetch IPLD data separately when retrieving latest account data or storage value

* Upgrade geth dependency

* Update GitHub workflow
2022-07-12 13:40:45 +05:30
923a8c3241 Update refs in GitHub workflows 2022-06-28 17:28:41 +05:30
Abdul Rabbani
a5ac6c19cf Update stack-orch retry 2022-06-17 13:02:00 -04:00
Abdul Rabbani
45c5a25d54 Update write to file 2022-06-17 12:53:22 -04:00
Abdul Rabbani
72e903cf68 clean up before 2022-06-17 12:49:39 -04:00
Abdul Rabbani
b7b4631231 Update unit test to use stack-orchestrator 2022-06-17 12:48:50 -04:00
Abdul Rabbani
f8de0defad RE-test release with correct commit hash 2022-06-17 11:37:50 -04:00
Abdul Rabbani
4121863a4c Update Geth and CICD 2022-06-17 10:45:54 -04:00
Abdul Rabbani
491939b35f
Feature/update cicd tag sharding (#165)
* Update geth version: 1.10.18

* Upgrade to Go18 and fix broken interfaces

* Update Go version in dockerfile

* Update make file to download dependencies

* Update go version for integration tests.

* update file name

* install packages.

* Update gingko version and secret

* Update unit test download package

* Update vulcanize dependencies

* Update commands for calling unit tests

* Use latest version of statediff

* Update github variable to work with tags (#164)

* Update github variable to work with tags

* Update tests.yaml

* Use conditional for reference
2022-06-02 09:18:01 -04:00
Abdul Rabbani
a3d2e71ca6
Feature/update go geth sharding (#162)
* Update geth version: 1.10.18

* Upgrade to Go18 and fix broken interfaces

* Update Go version in dockerfile

* Update make file to download dependencies

* Update go version for integration tests.

* update file name

* install packages.

* Update gingko version and secret

* Update unit test download package

* Update vulcanize dependencies

* Update commands for calling unit tests

* Use latest version of statediff

* Update go, geth, and tests

* Update all the quotes

* Update stack-orchestrator

* Update docker-compose ref

* Add ipld-eth-db locally

* Deploy contracts

* Update tests.yaml

* Update config file properly

* Fix steps for integration test after geth update

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
2022-06-02 07:59:44 -04:00
389ba2e360 Merge changes to remove watched addresses fill service code 2022-05-23 19:12:11 +05:30
c25d220f71 Remove watched addresses fill service code 2022-05-23 10:37:59 +05:30
8b8f644b2a Update instructions to run integration tests locally 2022-05-20 18:50:39 +05:30
8bfcce95ca Merge changes to combine docker build and push steps 2022-05-20 17:51:34 +05:30
0b12c3c329 Update stack-orchestrator commit hash for running tests 2022-05-20 17:51:07 +05:30
04096fab0c Update stack-orchestrator versions for CI 2022-05-19 11:21:15 +05:30
dc14656bbc Update scripts to run unit tests using TimescaleDB 2022-05-19 10:13:33 +05:30
Abdul Rabbani
025b1c7c9e Combine the build and push steps. 2022-05-18 14:45:55 -04:00
76986d9497 Update stack-orchestrator commit hash in CI 2022-05-05 09:52:42 +05:30
181e3745f1 Run CI tests using stack-orchestrator 2022-05-04 13:05:48 +05:30
77812f2673 Move SetupTestStateDiffIndexer to shared test helpers 2022-04-21 17:06:29 +05:30