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
885d934c90
Minor changes.
2021-09-21 17:54:54 +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
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
f9abcfd33c
Remove was_state_removed and was_storage_removed functions from DB migration.
2021-09-15 17:29:45 +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
7f0c8fb2a1
Add index and fix go.mod.
2021-09-14 17:44:50 +05:30
Arijit Das
04a0f9a751
Add status field for pre-byzantium blocks.
2021-09-14 17:25:48 +05:30
Arijit Das
1467ea3924
Fix state leaf key removed query.
2021-09-09 17:42:26 +05:30
Arijit Das
a28892f1d3
Fix get log API to use log_cids table.
2021-08-30 21:25:39 +05:30
Arijit Das
3d1b308326
Update go mod.
2021-08-17 10:59:20 +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
148addb24d
Update comment for query change
2021-08-05 08:25:47 +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
Ian Norden
86f3f44cac
consolidate migrations
2021-03-12 09:50:48 -06:00
Ian Norden
36fe35123f
fix Makefile; update schema.sql; bump patch version
2021-02-24 16:02:29 -06: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
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
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
5cad354eac
update migrations; update go modules
2020-10-20 21:12:59 -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
ramil
98f5a16771
use separate mig for new chainID field so we can apply to current db
2020-10-20 20:50:20 +03:00
ramil
6e127acbf3
upgrade ipld-eth-indexer from v0.2.0-alpha to v0.5.0-alpha and test fixes
2020-10-20 17:42:09 +03:00
Ian Norden
9758770579
update migrations and schema
2020-09-02 10:12:47 -05:00
Ian Norden
558599dd32
remove btc stuff
2020-08-31 10:42:01 -05:00
Ian Norden
611fc2c11e
eth json rpc optimizations; begin ipfs-ethdb integration
2020-08-14 13:14:19 -05:00
Ian Norden
39354b2114
write code to pg-ipfs table, for codehash lookups
2020-08-12 09:26:18 -05:00
Ian Norden
74752d15aa
remove diff unique connstraint, overwrite as diff
2020-08-07 23:17:11 -05:00
Ian Norden
77490e8b4b
add diff field to db constraint
2020-08-04 22:35:02 -05:00
Ian Norden
18299c76e2
refactor migrations for new db instance, add mh_key rows
2020-07-13 10:39:51 -05:00
Ian Norden
0ab55ef9d8
distinguish between differential state/storage nodes and eventual ones
2020-07-01 13:44:04 -05:00
Ian Norden
fe083c12f9
trimming down to ipfs watchers
2020-05-29 22:02:47 -05:00
Ian Norden
fb6fdfcc13
separate db conneciton pools for each process
2020-05-06 16:16:56 -05:00
Ian Norden
f2e853e9c9
add back raw contract address
2020-04-04 15:45:55 -05:00
Ian Norden
8960cde4f7
backfill based on validation level
2020-04-04 15:45:54 -05:00
Ian Norden
649fd54a9f
store receipt contract hash instead of contract
2020-04-04 15:45:54 -05:00
Ian Norden
060e3430c1
times_validated field in header
2020-04-04 15:45:54 -05:00
Ian Norden
aa9f78a028
new fields in eth.receipt_cids to index contract addresses seen in
...
logs; handle null dst/contract addrs in trxs/rcts
2020-04-04 15:45:54 -05:00
Ian Norden
834e2bcff4
additional logging to resync service; rename state/storage key to leaf key and allow insert of null values for intermediate nodes
2020-03-25 19:16:26 -05:00
Ian Norden
ba5d6f9b9f
state account support and add roots and additional metadata to header
...
index
2020-03-21 20:57:02 -05:00
Ian Norden
6ded3a6c85
migration fixes
2020-03-18 12:20:12 -05:00
Ian Norden
e5c5422edc
adhjustments to work with statediffing geth v1.10-alpha.2
2020-03-11 13:41:59 -05:00
Ian Norden
be875c0100
db comments to resolve postgraphile type conflicts
2020-03-10 09:38:07 -05:00
Ian Norden
25aa4634e9
work on wasm watchers
2020-02-24 12:54:10 -06:00
Ian Norden
e3e8700d34
api test; return full ipld models to subscribers
2020-02-23 17:15:26 -06:00