Ian Norden
86f3f44cac
consolidate migrations
2021-03-12 09:50:48 -06:00
Ian Norden
f6780ddd95
update go.mod and cmds
2021-03-10 10:46:21 -06:00
Ian Norden
8d10dc98ee
proxy command for graphQL endpoints directly ontop of Postgres indexes
2021-03-10 10:26:40 -06:00
Ramil Amerzyanov
d3f30b621b
support custom chain config ( #36 )
...
* support custom chain config
* move loading config logic to a separate helper function
2021-03-10 19:18:32 +03:00
Ramil Amerzyanov
33bb152c04
[WIP] don't write to public.node from ipld-eth-server ( #37 )
...
* don't write to public.node from ipld-eth-server
* update ipld-eth-indexer to version v0.7.0-alpha
2021-03-10 13:13:43 +03:00
Ian Norden
bc4d277012
Merge pull request #33 from vulcanize/fill_gaps
...
use v1.9.25-statediff-0.0.15
2021-02-27 10:35:38 -06:00
Ian Norden
69438761c3
use v1.9.25-statediff-0.0.15
2021-02-27 10:35:14 -06:00
Ian Norden
30658799dd
Merge pull request #32 from vulcanize/fill_gaps
...
extend Context deadline
2021-02-27 10:31:59 -06:00
Ian Norden
86e9edd3d1
extend deadline
2021-02-27 10:31:40 -06:00
Ian Norden
a181a5c25b
Merge pull request #30 from vulcanize/fill_gaps
...
Fill gaps in the Postgres IPLD database when we hit a cache miss
2021-02-24 16:27:59 -06:00
Ian Norden
9f81ffa8e0
minor clenaup/adjustments
2021-02-24 16:20:06 -06:00
Ian Norden
36fe35123f
fix Makefile; update schema.sql; bump patch version
2021-02-24 16:02:29 -06:00
Ian Norden
211ec12009
cache misses trigger call out to statediffing geth to fill in the gap in Postgres
2021-02-24 10:50:26 -06:00
ramil
7df5bbc99a
bump version
2021-02-19 23:27:22 +03:00
Ramil Amerzyanov
e92d35b084
update geth statediff to version v1.9.25-statediff-0.0.14 ( #27 )
...
* update geth statediff to version v1.9.25-statediff-0.0.14
run integration tests in github actions
* fix goose install issue
* fix unit test bug.
Added sorting by tx index for transactions and receipts queries
2021-02-19 23:23:45 +03:00
Ian Norden
013946fd73
Merge pull request #26 from vulcanize/canonical_hash_finder
...
update canonical header finder functions
2020-11-13 07:41:46 -06:00
Ian Norden
b11fb949f5
final touches, test canonicty functions and get tests passing again
2020-11-13 07:40:33 -06:00
Ian Norden
c0a91b9d9f
updated canonical header finder functions
2020-11-09 10:29:04 -06:00
Ian Norden
ca07107cec
Merge pull request #22 from vulcanize/eth_json_rpc
...
[WIP] eth JSON-RPC
2020-11-01 09:15:21 -06:00
Ian Norden
b128f894c4
postgres functions to check if node was removed (e.g. a la EIP158) in a range; update backend to use these to retrieve state and storage leafs in single (albeit complex) SELECT query
2020-10-31 15:00:03 -05:00
Ian Norden
7c06d4b3a1
additional unit tests
2020-10-30 18:21:44 -05:00
Ian Norden
b208281ad6
optimize GetStorageAt; GetStorageAt unit tests
2020-10-30 12:06:41 -05:00
Ian Norden
b664aee621
unit tests for GetTransactionCount, GetTransactionReceipt, GetBalance, and GetCode
2020-10-30 00:44:41 -05:00
Ian Norden
cffceb53db
optimize GetTransactionCount, GetBalance, and GetCode to use secondary indexes instead of operating through ethdb where we have to iterate down trie from root to leaf (multiple db lookups) to access account info
2020-10-29 22:07:39 -05:00
Ian Norden
dc25ea7f87
new transaction endpoint unit tests (except for GetTransactionCount which is still TODO because testing its current implementation requires complete state (e.g. like eth_call test) so- ideally- will first refactor it to use state diff 2ndary indexes rather than proceeding through regular ethdb interface)
2020-10-29 15:20:58 -05:00
Ian Norden
e1026d5261
remaining block endpoint unit test; uncle endpoints unit tests
2020-10-29 14:59:09 -05:00
Ian Norden
a480c28a67
update readme
2020-10-28 09:02:27 -05:00
Ian Norden
1d4abcb69b
finish cache miss forwarding for new endpoints
2020-10-28 08:54:06 -05:00
Ian Norden
b5d57b6afc
the remaining, currently supportable, eth_* endpoints
2020-10-28 08:54:06 -05:00
Ian Norden
3af06ada1d
Merge pull request #20 from vulcanize/graphql
...
Graphql
2020-10-28 08:50:23 -05:00
Ian Norden
7a2ccaa8a7
fixes for test; update readme and gomodules
2020-10-28 08:40:00 -05:00
Ian Norden
16aa9652a5
integrate into serve command
2020-10-28 08:23:17 -05:00
Ian Norden
a8dd77294a
graphql service on top of rpc endpoints
2020-10-28 08:23:17 -05:00
Ian Norden
4f4ab1dd4f
update eth backend
2020-10-28 08:23:17 -05:00
Ian Norden
ef2d8f789d
Merge pull request #21 from vulcanize/prom
...
minor cleanup to prom files
2020-10-28 08:22:11 -05:00
Ian Norden
e561fd3178
minor cleanup to prom files
2020-10-27 14:18:59 -05:00
Ian Norden
128e30b3a8
Merge pull request #19 from vulcanize/forward_misses
...
forward cache misses (err and/or empty results) to remote node
2020-10-27 13:00:18 -05:00
Ian Norden
2d0367fe6c
update env
2020-10-27 12:57:26 -05:00
Ian Norden
e1cab4fadc
forward cache misses (err and/or empty results) to remote node
2020-10-27 12:29:28 -05:00
Ian Norden
0a8b54d366
Merge pull request #18 from vulcanize/readme
...
minor updates to readme
2020-10-23 11:04:40 -05:00
Ian Norden
beea9d503d
minor updates to readme
2020-10-23 10:15:35 -05:00
Ramil Amerzyanov
df1a233028
Merge pull request #15 from n0cte/metrics
...
Metrics and http server
2020-10-21 19:42:04 +03:00
ramil
909c85b547
monitoring documentation, prometheus config, grafana dashboard
2020-10-21 15:38:48 +03:00
ramil
d9b05233b0
fix null pointer exception
2020-10-21 14:22:43 +03:00
ramil
c5eae5fb75
Merge remote-tracking branch 'remotes/vulc/master' into metrics
...
# Conflicts:
# go.sum
# pkg/serve/config.go
2020-10-21 13:53:38 +03:00
Ian Norden
ce706d0b07
Merge pull request #11 from vulcanize/do_call
...
Do call
2020-10-20 21:21:32 -05:00
Ian Norden
5cad354eac
update migrations; update go modules
2020-10-20 21:12:59 -05:00
Ian Norden
60bfc1c045
'bump' version (alight with next tagged release)
2020-10-20 16:03:00 -05:00
Ian Norden
20af343efb
fixes after dirty rebase; canonical hash/header finder function is in this commit now
2020-10-20 15:36:51 -05:00
Ian Norden
6369835757
update migrations
2020-10-20 15:29:01 -05:00