Elizabeth
f6ab9382b2
Address repo updates ( #134 )
...
* Factor out get or create address into one sql string
* Factor out getChecksumAddress method in address repo
* Update address repo methods to not need a receiver
* Move address repository to libraries/shared
2019-10-03 11:17:08 -05:00
Elizabeth
b4e16c4af5
Merge pull request #116 from vulcanize/storage-diffs-over-rpc
...
Storage diffs over rpc
2019-10-02 09:56:29 -05:00
Elizabeth Engelman
f0d2741dea
Allow storageDiff source to be set through an env variable
2019-10-01 10:24:53 -05:00
Elizabeth Engelman
267de00f99
Update dependencies
...
specifically golang.org/x/crypto/sha3
2019-09-26 10:41:12 -05:00
Elizabeth Engelman
5c0e5592ab
Updates after rebasing
2019-09-25 16:52:42 -05:00
Elizabeth Engelman
9c6182c356
Rename StorageDiff field from KeccakOfContractAddress to HashedAddress
2019-09-25 16:36:44 -05:00
Elizabeth Engelman
6672ecf547
Add trace debugging after parsing statediff
2019-09-25 16:36:44 -05:00
Elizabeth Engelman
f315988507
Factor out a bad storage diff for testing
2019-09-25 16:36:44 -05:00
Elizabeth Engelman
6869330bd3
Decode storage value RLP after fetching from statediffs
2019-09-25 16:36:44 -05:00
Elizabeth Engelman
2931edc317
Pin urfave/cli version to 1.20
2019-09-25 16:36:44 -05:00
Elizabeth Engelman
4166fb24dd
Replace any geth version with the vdb statediff patch
2019-09-25 16:36:08 -05:00
Elizabeth Engelman
e1de3afdfc
Small changes to helper method names/arg names
2019-09-25 16:36:08 -05:00
Elizabeth Engelman
3fb8e13979
Update Mappings interface to take a diff as an argument to Lookup
2019-09-25 16:34:31 -05:00
Elizabeth Engelman
deb0315a49
Remove Gopkg files
2019-09-25 16:34:31 -05:00
Elizabeth Engelman
66d695d93b
Update keccak of address to be a common.Hash instead of a common.Address
2019-09-25 16:34:31 -05:00
Elizabeth Engelman
a8a8fe4ac2
Remove vendor dir
2019-09-25 16:34:31 -05:00
Elizabeth Engelman
9831badc2a
Use geth patch in go mod
2019-09-25 16:33:58 -05:00
Elizabeth Engelman
8e166f2a56
Update after rebasing with staging
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
639c561fdf
Remove unncessary pointer receiver from NewGethRpcStorageFetcher.FetchStorageDiffs
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
9226e53e0b
Panic if connecting to geth subscription fails
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
0cc90a1f80
Factor out an IStorageWatcher interface
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
18f47b7b6a
Memoizing keccak hhash of address => transformer
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
045d78be25
Rename StorageDiffRow -> StorageDiff
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
87252f42b9
Add additional logging
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
e637024cce
Update vendor dir
2019-09-25 16:32:31 -05:00
Elizabeth Engelman
7cd66b8775
Use a for loop for getting diffs off the payload channel
2019-09-25 16:32:30 -05:00
Elizabeth Engelman
7cbad1d89f
Override protobuf to version 3
2019-09-25 16:32:30 -05:00
Elizabeth Engelman
963479fdc0
Remove ipfs and eth-block-extractor as dependencies
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
b09b8a8735
Use geth state diff source in execute command
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
70fcc22a00
Apply go formatting
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
a577811e0a
Use geth state diff source in composeAndExecute
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
8c4a4d6587
Handle different contract address format for geth vs csv
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
ee244ac6f5
Apply go fmt
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
dc06991605
Wire up the streamer with a fetcher
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
1b4a901892
Rename storage_fetcher -> csv_tail_storage_fetcher
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
9de631f3a7
Add a statediff streamer
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
34f8e16c11
Add a Subscribe method to rpc client interface
2019-09-25 16:32:27 -05:00
Elizabeth Engelman
36533f7c3f
Update vendor directory and make necessary code changes
...
Fixes for new geth version
2019-09-25 16:32:27 -05:00
Elizabeth
b6a2a278ce
Merge pull request #126 from vulcanize/vdb-585-create-address-table
...
Vdb-585 create address table
2019-08-26 15:13:07 -05:00
Elizabeth Engelman
edc0bdf668
Address more PR feedback
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
1b3786338f
Address PR feedback
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
58c23c6632
Update Copyrights
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
38f6847ff2
Create a HeaderSyncReceiptRepository
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
7e38764618
Rename ReceiptRepository -> FullSyncReceiptRepository
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
4e40e892d2
Updating header_sync_receipts to have FK reference to addresses
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
bcd6d14fcd
Updating full_sync_receipts to have FK reference to addresses
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
258035833b
Add GetAddressById
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
4b61c87b55
Get or create address record in a transaction
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
1373fe83a1
Pass a db into GetOrCreateAddress
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
b13eefbce7
Add AddressRepository
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
3005a1ad50
Move add address migration table up in the migration order
2019-08-23 10:11:37 -05:00
Elizabeth Engelman
750754caa7
Add an addresses table
2019-08-23 10:11:37 -05:00
Elizabeth
85aba29cf2
Merge pull request #121 from vulcanize/allow-for-packed-storage-slots
...
VDB-318 Allow for packed storage slots
2019-07-23 13:48:36 -05:00
Elizabeth Engelman
2c66afbcd7
Address PR feedback
...
- factor out bitsPerByte constant
- panic if the necessary args aren't passed to GetStorageValueMetadataForPackedSlot
- only have one decode integer method in the deocoder file
2019-07-23 13:36:58 -05:00
Elizabeth Engelman
69ad521482
Apply go fmt changes and cleanup
2019-07-19 10:44:36 -05:00
Elizabeth Engelman
d30b4ea4f2
Update GetStorageValueMetadata
2019-07-19 10:13:30 -05:00
Elizabeth Engelman
51915f7506
Pass storage values to repo.create as a map
2019-07-18 18:40:38 -05:00
Elizabeth Engelman
ebfb4965c7
Add tests for decoding packed storage
2019-07-18 16:21:57 -05:00
Elizabeth Engelman
b0fff9a1dd
First pass at decoded packed storage slots
2019-07-18 13:30:04 -05:00
Elizabeth
3d57f6030d
Merge pull request #106 from vulcanize/update-docs
...
Remove repository-maintenance.md as this info now lives in contributi…
2019-06-26 13:45:54 -05:00
Elizabeth Engelman
b124bea974
Remove repository-maintenance.md as this info now lives in contributing.md
2019-06-18 14:42:20 -05:00
Elizabeth
d761f88b30
Merge pull request #101 from vulcanize/update-transformer-execute
...
VDB-696 Update transformer execute
2019-06-17 15:19:51 -05:00
Elizabeth Engelman
948246cf83
Address PR comments
2019-06-17 14:49:25 -05:00
Elizabeth Engelman
fd126c7bea
Remove unused RecheckHeaders method and update Repo tests
2019-06-13 15:19:23 -05:00
Elizabeth Engelman
f292888195
Refactor checked column specific SQL
2019-06-13 12:36:29 -05:00
Elizabeth Engelman
adf91df23a
Remove unused RecheckHeaders method from the events Repository interface
2019-06-13 10:33:53 -05:00
Elizabeth Engelman
ede6ad1c8f
Remove unused MissingHeaders method from the events Repository interface
2019-06-13 10:33:48 -05:00
Elizabeth Engelman
ee13d5c1df
Remove unused recheckHeaders bool argument from Transformer.Execute
2019-06-13 10:33:16 -05:00
Elizabeth
eb2b3a0263
Merge pull request #98 from vulcanize/additional-doc-updates
...
Move changelog and diagram information to contributing.md
2019-06-03 14:24:43 -05:00
Elizabeth Engelman
5088574437
Address PR comment
2019-06-03 13:36:56 -05:00
Elizabeth Engelman
d61f4f3cb4
Move changelog and diagram information to contributing.md
2019-06-03 13:31:50 -05:00
Elizabeth
1a455741ce
Merge pull request #97 from vulcanize/quick-link-fix
...
Fixes broken link in docs
2019-06-03 13:30:51 -05:00
Elizabeth
79765c7998
Merge pull request #94 from vulcanize/documentation-updates
...
Documentation updates
2019-05-15 13:22:15 -05:00
Elizabeth Engelman
622ea44a6f
Mention reorgs in data-sync documentation
2019-05-13 16:34:00 -05:00
Elizabeth Engelman
d947c8f30a
Rename sync command to fullSync
2019-05-13 16:14:56 -05:00
Elizabeth Engelman
481988cb08
Update date-syncing doc
2019-05-13 16:14:56 -05:00
Elizabeth Engelman
4580f0fc2e
Updates to custom-transformers doc
2019-05-13 16:14:56 -05:00
Elizabeth Engelman
eba52442ec
Restructure README to conform with standard readme spec
2019-05-13 16:14:56 -05:00
Elizabeth Engelman
7ddf728db2
Descript different custom sync transformer types
2019-05-13 13:40:46 -05:00
Elizabeth Engelman
829a581727
Rename sync documentation file
2019-05-13 13:31:23 -05:00
Elizabeth Engelman
fa03716cb2
Address small PR comments
2019-05-10 11:54:15 -05:00
Elizabeth Engelman
bd3e841e21
Update links in README to be relative to current branch
2019-05-10 11:01:17 -05:00
Elizabeth Engelman
8dc9ddf65e
Add Code of Conduct
2019-05-10 10:07:25 -05:00
Elizabeth Engelman
7d1b334bda
Update postgraphile documentation to mention no-ignore-rbac flag
2019-05-10 09:50:28 -05:00
Elizabeth Engelman
ade1429ce3
Update transformer documentation
...
broken into generic and custom
2019-05-08 17:29:24 -05:00
Elizabeth Engelman
5d1ba5903c
Update contributing guidelines
2019-05-08 13:42:43 -05:00
Elizabeth Engelman
a49f5d7582
Add repository maintenance documentation
2019-05-08 13:42:43 -05:00
Elizabeth Engelman
436d9b9cb1
Add VDB overview diagram to README
2019-05-08 13:42:43 -05:00
Elizabeth Engelman
f7d520c933
Update header sync transformer alias in ContractWatcher
2019-05-08 13:42:43 -05:00
Elizabeth Engelman
e1a0d894a2
Update blockchain method GetHeaderByNumbers -> GetHeadersByNumbers
2019-05-08 13:42:43 -05:00
Elizabeth Engelman
ba81766f6c
Small spelling fix
2019-05-08 13:42:43 -05:00
Elizabeth Engelman
b96f6c4d31
Various README updates
2019-05-08 13:42:43 -05:00
Elizabeth
77b7ee9e4c
Merge pull request #91 from vulcanize/vdb-558-remove-log-note-transformer
...
Remove LogNote Transformer and Converter
2019-05-02 11:26:10 -05:00
Elizabeth Engelman
eb1a9cb381
Remove LogNote Transformer and Converter
2019-04-30 12:25:51 -05:00
Elizabeth
3bf6e84862
Merge pull request #49 from vulcanize/vdb-435-update-indexes
...
Update storage mapping indexes to hex values
2019-03-27 13:20:45 -05:00
Elizabeth Engelman
a7022563ab
Update storage mapping indexes to hex values
2019-03-25 14:28:49 -05:00
Elizabeth
8ce901d1af
Convert drip_file_ilk tax field to ray ( #117 )
2018-11-29 14:10:12 -06:00
Elizabeth
590e8a40ce
Update readme badge to handle private repo ( #124 )
2018-11-21 15:48:51 -06:00
Elizabeth
128d20c9bf
Vdb 269- fetch logs by hash ( #122 )
...
* Upgrade geth from 1.8.15 to 1.8.18
* Update vat_tune to use shared repository methods
* Query blockchain by block hash instead of block number range
* Remove hash validation from repositories
* Fix vow flog integration test
* Update README Travis build sticker
* Update constants formatting per go fmt
* Update EthPublicKeyParser.ParsePublicKey to use discv5.PubkeyID method
* Address PR comments
2018-11-21 09:30:00 -06:00
Elizabeth
b19e77e419
Add integration test for Vow.flog ( #114 )
2018-11-15 16:44:49 -06:00