Commit Graph

411 Commits

Author SHA1 Message Date
David Terry
3e9901864b vat.fold: switch to batched interface 2018-10-09 13:34:22 +03:00
Takayuki Goto
300da63724 Merge pull request #51 from 8thlight/update-bytea-columns
Update bytea columns
2018-10-08 19:49:17 -05:00
Taka Goto
347a339687 update frob and bite converters and repository 2018-10-07 22:02:14 -05:00
Taka Goto
7e6302c662 update bite to take in string for urn and ilk 2018-10-04 16:35:51 -05:00
Taka Goto
7080c0a74f migration to update columns 2018-10-04 13:56:44 -05:00
David Terry
b3e2218eb5 Merge branch 'staging' into VDB-101-vat-fold-transformer 2018-10-04 18:49:38 +03:00
David Terry
f79a017b48 Vat.fold: store ilk and urn as text instead of bytea 2018-10-04 18:48:06 +03:00
David Terry
8fb573351e Vat.fold: add to continuousLogSync 2018-10-04 17:47:13 +03:00
David Terry
53a74c39f7 Vat.fold: correct typo 2018-10-04 17:47:03 +03:00
David Terry
dde57ea70b Vat.fold: run transformer 2018-10-04 16:04:53 +03:00
David Terry
c8cb079da5 Vat.fold: add transformer & mocks 2018-10-04 14:34:30 +03:00
David Terry
46bba30938 Vat.fold: refactor repository tests 2018-10-03 19:38:47 +02:00
David Terry
ef0e3f9e11 Vat.fold: add repository & tests 2018-10-03 18:22:05 +02:00
David Terry
0c58e0ac5b Vat.fold: verify that the event signature is correct 2018-10-03 18:21:27 +02:00
David Terry
96f8279421 Vat.fold: update test data so it matches a real deployed kovan event 2018-10-03 16:03:30 +02:00
David Terry
b3295e3a86 Vat.fold: add converter & tests 2018-10-03 14:08:01 +02:00
David Terry
ce4d928fb8 transformers: tweak docs 2018-10-03 14:07:32 +02:00
David Terry
22fb019d3f docs: add links 2018-10-03 12:50:28 +02:00
David Terry
2feb7ea546 Vat.fold: add migrations 2018-10-03 12:48:11 +02:00
David Terry
377c57ce1b transformers: format documentation 2018-10-03 12:44:05 +02:00
Edvard Hübinette
d598c34e03 Add convenience db_reset script (#45) 2018-10-03 10:37:34 +02:00
Rob Mulholand
bf44ec614a Log checked headers for MCD events (#43)
* Log checked headers for Bite events

* Log checked headers for Drip drip events

* Log checked headers for Drip file events

- mark headers checked for 3 implementations of file on the Drip contract

* Log checked headers for Frob frob events

* Log checked headers for Pit file events

- mark headers checked for 3 implementations of file on the Pit contract

* Log checked headers for Vat init events
2018-10-02 17:25:38 -05:00
Takayuki Goto
5a2d05b8d0 Merge pull request #46 from 8thlight/update-migration-script
Update migration script
2018-10-02 15:09:01 -05:00
Taka Goto
23b4537f35 update travis ci to run postgraphile tests 2018-10-01 10:20:58 -05:00
Taka Goto
a850e369ff use GOPATH for migration script; update postgraphile to watch db schema 2018-10-01 09:57:25 -05:00
David Terry
cf437e4007 VDB-101: Add signature for vat.fold 2018-09-28 16:31:29 +02:00
David Terry
4120a18b7b Merge pull request #44 from 8thlight/increase_timeout_on_integration_tests
increase timeout on price feeds integration tests
2018-09-28 16:25:55 +02:00
David Terry
f56c882b9d increase timeout on price feeds integration tests 2018-09-28 14:19:40 +02:00
Rob Mulholand
02853014b2 Fix Pit file converters
- Use topics 2 & 3 instead of topic 1 (call data instead of msg.sender)
- Prefer extracting fields from topics rather than data
2018-09-27 10:32:08 -05:00
Rob Mulholand
c17ad1f826 Add missing Describe statements 2018-09-27 10:32:08 -05:00
Rob Mulholand
58f17a24ae Add transformers for Cat file events
- transform logs from 3 implementations of file on the Cat contract
2018-09-27 10:32:08 -05:00
Elizabeth
b0cd852aa3 Flop deal (#39)
*Refactor deal transformer to take in several contract addresses
* Add flop address to deal transformer
2018-09-27 10:12:29 -05:00
Taka Goto
369939ad84 update schema for new price feed subscription migration 2018-09-26 11:45:57 -05:00
Takayuki Goto
9b39843b03 Merge pull request #42 from 8thlight/fix-price-feeds-trigger
update price feed trigger to return new price feed
2018-09-26 11:39:44 -05:00
Taka Goto
aaec3adf9a update price feed trigger to return new price feed 2018-09-26 11:32:24 -05:00
Elizabeth
31516ea87e Flop kick (#28)
* FlopKick transformer
2018-09-26 09:42:52 -05:00
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