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
377c57ce1b
transformers: format documentation
2018-10-03 12:44:05 +02:00
David Terry
cf437e4007
VDB-101: Add signature for vat.fold
2018-09-28 16:31:29 +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
Elizabeth
31516ea87e
Flop kick ( #28 )
...
* FlopKick transformer
2018-09-26 09:42:52 -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
Elizabeth
cee824f7ad
Add transformer documentation ( #32 )
2018-09-24 15:39:00 -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
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
Elizabeth
cfc8773c5d
Continuous sync ( #23 )
2018-09-19 10:14:49 -05:00
Elizabeth
60901d9095
Update tend, flipkick and dent tables for consistency ( #24 )
2018-09-18 09:27:14 -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
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
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
Rob Mulholand
ceeaa0f8d3
Update licenses and imports
...
- Verify license added to each file
- Order imports by group and separate with line breaks
2018-09-11 16:30:29 -05:00
Rob Mulholand
ff110592bd
Add Vat init transformer
2018-09-11 16:30:29 -05:00
Elizabeth
9abe3ffa68
Dent ( #10 )
...
Convert and persist LogNote events as dent records
2018-09-11 14:01:45 -05:00
Rob Mulholand
d48cf38070
Add Pit file debt ceiling event
2018-09-05 13:51:18 -05:00
Rob Mulholand
e1f609528d
Add Pit file stability fee event
...
- file event on the pit contract is overloaded and each implementation
logs a note
- existing Pit file transformer now specified as dealing with ilks
2018-09-05 11:36:13 -05:00
Rob Mulholand
a30e5036fd
generate log event signatures from functions
2018-09-04 16:19:03 -05:00
Rob Mulholand
8f5bc0a956
Add raw log to Frob record in DB
...
- Enables parsing additional values off the log if necessary
- Also update Frob to reflect DSS changes (lad => urn)
- Move Frob constants to shared directory
2018-09-04 16:11:54 -05:00
Rob Mulholand
db4b891398
Backfill Pit.file log events
2018-09-04 16:07:35 -05:00
Elizabeth
53635ec362
Update flip kick and tend transformers due to contract changes
...
* Update FlipperAddress to new local ganache address
* Update flip_kick table
* Update flipkick transformer to handle new signature and abi
* Update tend table
* Update tend converter
2018-09-04 15:50:29 -05:00
Takayuki Goto
807b7accd6
Merge pull request #12 from 8thlight/bite-event
...
bite event transformer
2018-09-04 09:58:51 -05:00