Commit Graph

1763 Commits

Author SHA1 Message Date
7a04ee73ff Remove unnecessary TODO 2022-12-19 11:48:57 +05:30
d40bbc46eb Bugfix - Continue processing other trie nodes on encountering a leaf 2022-12-16 19:50:01 +05:30
b5bb47e77d Use state trie to get stem nodes directly using paths 2022-12-16 19:29:46 +05:30
865b965669 Fix meta data updates 2022-12-15 22:23:52 -06:00
d5d03a0633 Update storage slice tests 2022-12-15 22:23:52 -06:00
8e4d67fcd1 Skip undesired nodes from stem and head iterators 2022-12-15 22:23:52 -06:00
2a194a9488 Use iterator based approach for getSlice 2022-12-15 22:23:52 -06:00
a338bd1a59 Avoid EOAs in additional data in response 2022-12-15 22:23:52 -06:00
2b8de130dc Update tests 2022-12-14 14:14:34 +05:30
4ea8620bc8 Populate extra contract leaves field in the response 2022-12-14 13:46:58 +05:30
16fc1d4957 Remove logs 2022-12-14 10:35:54 +05:30
33f762bea9 Add tests to get storage slice 2022-12-14 10:31:45 +05:30
a549bd408f Avoid filtering out removed nodes 2022-12-14 10:00:34 +05:30
13c75f50e2 Add a todo for using an iterator 2022-12-13 20:24:11 +05:30
24a68fd7ba Add tests to get state slice 2022-12-13 20:13:29 +05:30
8e061504a2 Add checks in queries to get canonical data 2022-12-13 20:13:29 +05:30
9cdef929f8 Add a test to get state slice for root path 2022-12-13 20:13:21 +05:30
fc8f19d791 Fix query to get state leaf key for given storage root 2022-12-13 17:33:06 +05:30
bc408ec680 Fix the helper function to create a slice of required paths 2022-12-13 15:02:36 +05:30
7cf38e742a Implement getSlice API for storage nodes 2022-12-13 11:41:15 +05:30
a2a391c459 Implement getSlice API for state nodes 2022-12-13 10:15:41 +05:30
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
Michael
5a7281009d
dependency updates for geth 1.10.26 (#204) 2022-11-08 15:38:40 -05: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
Michael
e17c228b22
dependency updates for geth 1.10.25 (#194) 2022-09-23 16:39:27 -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
prathamesh0
4d99ecdee3
Increase EVM timeout for eth-calls (#191)
* Increase EVM timeout for eth-calls

* Remove goose prerequisite from test targets in Makefile
2022-09-21 16:28:19 +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
Michael
3201ed60f0
Merge pull request #189 from vulcanize/rebase-1.10.23-wip
first pass updating for statediffing geth 1.10.23... filters changed
2022-09-02 11:46:00 -04:00
Michael Shaw
d24be29ef0 use mgirated test helper func GenesisBlockForTesting 2022-09-02 11:05:54 -04:00
Michael Shaw
0e91e42128 first pass updating for statediffing geth 1.10.23... filters changed 2022-09-01 18:37:51 -04:00
prathamesh0
4e9f4bbad6
Re-order uncles if calculated uncle hash doesn't match (#188)
* Re-order uncles if calculated uncle hash doesn't match

* Add a spec to test out of order uncles
2022-08-25 15:54:32 +05:30
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
Ian Norden
ddc7485c08
Merge pull request #185 from vulcanize/ian_v4
ChainID adjustment
2022-08-08 14:38:02 -05:00
i-norden
cc35b06ddf use go 1.18 2022-08-08 14:20:12 -05:00
i-norden
1a24075da7 ChainID adjustment 2022-08-08 13:57:36 -05:00
Michael
c9e6055cfd
Merge pull request #182 from vulcanize/geth1.10.21-update-wip
geth 1.10.21 update with changes for API update in issue 177
2022-08-03 09:21:30 -04:00
Michael Shaw
9eb7b22f47 changes in ethapi for ChainId always return something now 2022-08-02 16:18:36 -04: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
0d1da46d6d ipfs related dependency updates 2022-08-02 10:39:42 -04:00
Michael Shaw
45502e7117 go blockservice version update 2022-08-01 17:37:47 -04:00
Michael Shaw
74a7748483 on pr yaml dependency ref updates 2022-08-01 14:49:59 -04:00
Michael Shaw
415e426946 geth 1.10.21 update with changes for API update in issue 177 2022-08-01 13:27:29 -04:00
prathamesh0
ba01123f54
Use geth's eth API on missing blocks for getHeaderByHash (#181) 2022-07-20 09:34:44 +05:30