43ddbc7eea
Update unit tests
2022-04-19 14:01:24 +05:30
8df8b50cb1
Update to use new schema
2022-04-19 14:01:24 +05:30
072ba1edcc
Use sqlx for db connection
2022-04-19 14:01:24 +05:30
i-norden
e6869f4236
explicity set whether to forward to proxy on errors, so that we can turn it off and test the direct forwarding
2021-12-30 01:45:53 -06:00
i-norden
907c7132f4
needed type assertion
2021-12-29 14:57:21 -06:00
i-norden
1b513a3c02
bump version
2021-12-27 15:08:04 -06:00
i-norden
140989cbf7
option to immediately forward eth_calls to proxy node
2021-12-27 12:25:54 -06:00
Arijit Das
fcd2b963b0
Get DB config from env.
2021-10-12 12:33:48 +05:30
Arijit Das
20c04a98bc
Update DB name.
2021-10-12 12:33:48 +05:30
Arijit Das
25b49f784b
Use ipld-eth-db docker image.
2021-10-12 12:33:48 +05:30
Arijit Das
1973e8032d
Bump up daptools image tag and geth version.
2021-10-07 15:07:23 +05:30
Arijit Das
9fef3687a0
Address comments.
2021-09-30 19:13:50 +05:30
Arijit Das
88ced60707
Address comments.
2021-09-30 16:40:07 +05:30
Arijit Das
cc6822f7a6
Update eth_call code.
2021-09-29 10:57:11 +05:30
Arijit Das
500bba43b4
Fix SQL query to check for empty storage value.
2021-09-24 15:37:04 +05:30
Arijit Das
f09f665b11
Fix empty value when contract is deleted.
2021-09-23 16:06:09 +05:30
Arijit Das
54db8f23e0
Refactor the code
2021-09-22 16:18:15 +05:30
n0cte
3a216b2ca3
add data length check
2021-09-22 16:02:05 +05:30
n0cte
bca33381dd
fix value checking for function GetStorageAt
2021-09-22 16:00:59 +05:30
n0cte
70c539c8d7
fix encoding when storage is empty
2021-09-22 16:00:57 +05:30
Arijit Das
77d28264f7
Address comments.
2021-09-21 17:54:54 +05:30
Arijit Das
5acecec955
Fix failing test.
2021-09-21 17:54:51 +05:30
Arijit Das
5772d52eb1
Change receipt CID and MHKey to point trie leaf cid and mkhey.
2021-09-21 17:51:38 +05:30
Ashwin Phatak
2de9c5bd48
Use groupcache pool for state db access ( #91 )
...
* Use groupcache pool for state db access
* Group cache config and logging stats on timer
* Integrate state validator into server
* Use tagged ipfs-ethdb
* groupcache config for tests
* Work around duplicate registration of groupcache error in tests
* Use tagged version of eth-ipfs-state-validator
* State validation command.
* Validator for static replicas to keep cache warm
* Update docker go-version and go.mod.
* Address comments and self review.
* Fix ipfs-ethdb version.
Co-authored-by: Arijit Das <arijitad.in@gmail.com>
2021-09-21 17:40:55 +05:30
Arijit Das
838ed033f8
Merge pull request #98 from vulcanize/fix-state-remove
...
Fix state leaf key removed query
2021-09-17 17:32:34 +05:30
Arijit Das
32b4f56557
Update state_cids and storgae_cids query to use node_type.
2021-09-15 17:19:08 +05:30
Arijit Das
ed4171a1ab
Revert "Add status field for pre-byzantium blocks."
...
This reverts commit 04a0f9a751
.
2021-09-15 17:14:25 +05:30
Arijit Das
04a0f9a751
Add status field for pre-byzantium blocks.
2021-09-14 17:25:48 +05:30
Arijit Das
458aae1c1e
Address comments.
2021-09-08 12:25:50 +05:30
Arijit Das
4d9edd2008
Minor change.
2021-09-02 19:17:04 +05:30
Arijit Das
121c75cc1d
Change getLogs GQL API to take nil contract address.
2021-09-02 19:12:33 +05:30
Arijit Das
967c148eff
Add test for graphql.
2021-09-01 18:25:22 +05:30
Arijit Das
71837c4b24
Self review.
2021-08-31 18:10:41 +05:30
Arijit Das
d0c3241730
Add reciept status in log for graphql.
2021-08-31 12:01:06 +05:30
Arijit Das
a28892f1d3
Fix get log API to use log_cids table.
2021-08-30 21:25:39 +05:30
Arijit Das
c0a4600ce7
Refactoring.
2021-08-15 18:23:05 +05:30
Arijit Das
b3e4fbfa39
Fix get logs API.
2021-08-14 19:20:22 +05:30
Arijit Das
d8a5358a70
Remove ipld-eth-indexer dependency.
2021-08-12 11:56:29 +05:30
Arijit Das
e00e602098
Merge pull request #83 from vulcanize/marshall-binary
...
Update RPC api and backend to support the EIP-2930 and EIP-1559.
2021-08-05 11:04:57 +05:30
Arijit Das
924d0be0b9
Update RPC api and backend to support the EIP-2930 and EIP-1559.
2021-07-27 17:37:50 +05:30
Ashwin Phatak
70f7face75
getLogs API changes to return txHash, make contract arg optional. ( #81 )
...
* getLogs API changes to return txHash, make contract arg optional.
* Populate log index.
* Add test for txn hash in GetLogs request.
* Convert tx string to common.Hash after fetching.
Co-authored-by: Arijit Das <arijitad.in@gmail.com>
2021-07-26 15:43:38 +05:30
Arijit Das
f1a61d0991
Add graphql tests.
2021-07-02 14:35:01 +05:30
Arijit Das
9a5581b543
Fix failing unit tests.
2021-06-29 12:59:37 +05:30
Ashwin Phatak
0a14bd9f0f
Update method used to get storage slot.
2021-06-29 12:23:10 +05:30
Ashwin Phatak
a3ca08b653
Return empty result instead of error if slot not found in storage table.
2021-06-28 12:51:38 +05:30
Ashwin Phatak
b2828a814f
Compute leaf key from slot.
2021-06-28 12:51:38 +05:30
Ashwin Phatak
a284a566d5
Get storage API, with storage leaf CID and raw IPLD block.
2021-06-28 12:51:35 +05:30
Ashwin Phatak
b90fcb53e6
Get logs API, with receipt CID and raw IPLD block.
2021-06-28 12:04:46 +05:30
Ashwin Phatak
18266c4f9d
Get receipt CID and block data for logs.
2021-06-28 12:04:46 +05:30
Arijit Das
969da82f6e
Merge remote-tracking branch 'origin/master' into endpoints
2021-06-18 16:11:11 +05:30