Commit Graph

725 Commits

Author SHA1 Message Date
Rob Mulholand
a0ba6ca6bd Return error if RPC returns empty header
- Enables graceful failure if RPC returns empty data with no error
2018-09-25 14:11:35 -05:00
Rob Mulholand
92525ca575 Make price feed log persistence atomic per block
- Prevents marking header as checked if only one of several price feed
  logs is successfully persisted
2018-09-25 14:11:35 -05:00
Rob Mulholand
ac362650db Log checked headers for tend events 2018-09-25 14:11:35 -05:00
Rob Mulholand
009cbb8aa0 Log checked headers for flip kick events 2018-09-25 14:11:35 -05:00
Rob Mulholand
d8b1a61ff5 Log checked headers for dent events 2018-09-25 14:11:35 -05:00
Rob Mulholand
c3f1fcf796 Log checked headers for deal events
- mark header as checked if no matching logs
- mark header as checked if all matching logs persisted successfully
- batch convert and insert matching logs to enable transactional persist
- enable skipping previously checked block headers when restarting a sync
2018-09-25 14:11:35 -05:00
Takayuki Goto
ddf47249fd add prod config file 2018-09-25 13:13:23 -05:00
Elizabeth
5fc7170c1e Update dependencies (#34) 2018-09-24 15:39:23 -05:00
Elizabeth
cee824f7ad Add transformer documentation (#32) 2018-09-24 15:39:00 -05:00
Takayuki Goto
72a7f52ec1 Merge pull request #35 from 8thlight/production-deploy-setup
update supfile and deploy script for production
2018-09-24 12:47:54 -05:00
Taka Goto
4e490213b8 update supfile and deploy script for production 2018-09-24 10:24:06 -05:00
Rob Mulholand
e138e58120 Set timeout before assertions in integration tests
- Prevent early evaluation from triggering failure
2018-09-21 11:28:17 -05:00
Takayuki Goto
2bfbd85ba5 Merge pull request #31 from 8thlight/update-migrations
Update migration names to use unix timestamp
2018-09-21 09:12:44 -05:00
Elizabeth Engelman
6a112e29c4 Update migration names to use unix timestamp 2018-09-19 13:42:15 -05:00
Taka Goto
e88a200ff4 deploy script for staging 2018-09-19 12:53:15 -05:00
Taka Goto
6ffc2fd727 update Supfile; kicking off staging build 2018-09-19 12:45:57 -05:00
Rob Mulholand
296b7aab72 Update README
- kicking off a staging build
2018-09-19 12:08:22 -05:00
Takayuki Goto
fd38313e59 Merge pull request #29 from 8thlight/update-deploy
update deploy to run two vulcanizedb service in parallel
2018-09-19 12:02:56 -05:00
Taka Goto
10b861b2a1 update deploy to run two vulcanizedb service in parallel 2018-09-19 11:59:24 -05:00
Rob Mulholand
56c45b6841 Add logging for every transformer
- Also add drip file transformer initializer
2018-09-19 11:00:20 -05:00
Rob Mulholand
a735698f77 Update config for Kovan 2018-09-19 11:00:20 -05:00
Rob Mulholand
042f1142c0 Handle headers from POA chain
- Fetching headers from Kovan requires custom type without mixHash/Nonce
2018-09-19 11:00:20 -05:00
Rob Mulholand
778517f33f Add integration tests for price feed transformer
- Verify eth/usd, mkr/usd, and rep/usd price feed logs are successfully
  fetched from Kovan and persisted to Postgres
2018-09-19 11:00:20 -05:00
Takayuki Goto
4b2f5f8524 Merge pull request #26 from 8thlight/travis-deployment-automation
Travis deployment automation
2018-09-19 10:21:01 -05:00
Elizabeth
cfc8773c5d Continuous sync (#23) 2018-09-19 10:14:49 -05:00
Taka Goto
27acf5ee37 apply feedback; update VDB_PATH and travis ci 2018-09-19 09:40:33 -05:00
Elizabeth
60901d9095 Update tend, flipkick and dent tables for consistency (#24) 2018-09-18 09:27:14 -05:00
Taka Goto
138c333768 run deploy only for master branch 2018-09-17 14:36:39 -05:00
Rob Mulholand
06881db350 Sync unchecked headers for price feeds
- Indicate that a header has been checked for logs if no logs returned
- Indicate that a header has been checked for logs when persisting a log
- Fetch headers that need to be checked based on absence of the above
2018-09-17 14:14:52 -05:00
Taka Goto
985b2c7173 use covan for staging 2018-09-17 13:51:25 -05:00
Taka Goto
36ac2d18c8 add staging ip as known host 2018-09-17 13:29:15 -05:00
Taka Goto
df591c6bb3 start ssh agent 2018-09-17 13:25:19 -05:00
Taka Goto
e5fdb5e00e install sup for deployment script 2018-09-17 13:25:19 -05:00
Taka Goto
b42f4561da update travis script to deploy to staging 2018-09-17 13:25:19 -05:00
Taka Goto
acad2cc30d use Sup deployment tool to deploy to staging 2018-09-17 13:25:19 -05:00
Takayuki Goto
a6cf173fe7 Merge pull request #11 from 8thlight/add_postgraphile_subscription
Add Postgraphile subscription exposure for price feed
2018-09-17 11:53:47 -05:00
David Terry
f9c56432ea Merge pull request #25 from 8thlight/update_infura_env
update infura config to match instructions in readme
2018-09-14 18:15:19 +02:00
David Terry
017260f8ac update infura config to match instructions in readme 2018-09-14 15:49:55 +02:00
Rob Mulholand
f5595bee78 Add Drip drip transformer 2018-09-13 16:35:10 -05:00
Rob Mulholand
560305f601 Update dependencies
- uses newer version of go-ethereum required for go1.11
2018-09-13 16:14:35 -05:00
Elizabeth
939ead0c82 Deal transformer (#19) 2018-09-13 09:06:26 -05:00
Rob Mulholand
d69063636e Add raw log to price feeds 2018-09-12 11:35:32 -05:00
Rob Mulholand
b2ba7ee1e3 Add transaction index to flip kick 2018-09-12 11:35:32 -05:00
Rob Mulholand
a843de5eb7 Add drip file transformers
- for all three file functions on the drip contract
2018-09-12 11:35:32 -05:00
Takayuki Goto
c8b002deaa Merge branch 'master' into add_postgraphile_subscription 2018-09-12 09:48:00 -05:00
Taka Goto
13b19c0870 add price feed trigger 2018-09-12 09:43:23 -05:00
Taka Goto
0b987b3261 config parser parses user name and passoword for database 2018-09-12 09:43:18 -05:00
Elizabeth
faefd620b1 Get method/event signature from ABI (#17) 2018-09-12 08:59:43 -05:00
Rob Mulholand
4b6ef1e58b Verify pit file logs
- assure required topics + data available before parsing
2018-09-11 16:30:29 -05:00
Rob Mulholand
dc9bda7d68 Extract addresses to shared constants file 2018-09-11 16:30:29 -05:00