Taka Goto
4d99e8a324
migration for vat flux
2018-10-17 10:53:36 -05:00
Rob Mulholand
d0226dbce5
Convert Bite event field types to numeric
...
- Enables arithmetic operations when constructing views
- Also removes application-level references to DB ID
2018-10-16 15:27:13 -05:00
Rob Mulholand
d3df685c46
Add timestamp to block header
...
- Enables quickly deriving timestamp from header for log events
2018-10-12 12:00:02 -05:00
Rob Mulholand
5f67161f41
Convert raw header to JSON
...
- Enables parsing values off of header via Postgres migration
2018-10-12 12:00:02 -05:00
Edvard Hübinette
be58dd4ac8
Add vat_move
transformer ( #47 )
...
* Add vat_move transformer base
* Add vat_move migrations
* Add test data for vat_move
* Add vat_move transformer to initialisers
* Add numeric cast to psql insert of Rad
* Add new db schema
* Dependency update
* Expand abbreviation in repository
* Add test suite for vat_move
* Add header checking to transformer and mock repository
* Remove trailing zero in test data
* Fix minor mishaps
* Go fmt nitpicking
* Refactoring in tests
* Add tests covering checked headers stuff (and fix revealed bugs)
* go fmt fixes
* Implement batching behaviour of transformer
* Small fixes after review
* Go fmt
2018-10-12 16:13:13 +02:00
Konstantin Zolotarev
0b281eab47
Added default addresses to config & rename fallback var
2018-10-12 11:11:31 +03:00
Elizabeth
8fe92edd26
Remove premature urn view migrations ( #59 )
2018-10-11 14:44:29 -05:00
Konstantin Zolotarev
245732b7f4
Added configuration for contract addresses
2018-10-11 19:10:53 +03:00
Elizabeth
6c77f369d9
Vat heal ( #56 )
...
* VatHeal Converter
* Add VatHeal repository
* Add VatHeal transformer
* Add VatHeal to continuousLogSync command
* Mark vat_init_checked as true when creating vat init records
* Update urn and v converting
* Return error if Repository.MarkCheckedHeader fails
* Add deleting vat heal from test cleanup method
2018-10-10 11:56:06 -05:00
Elizabeth
ba05b04862
Add missing transformer reccords to CleanTestDB method ( #55 )
2018-10-10 11:35:37 -05:00
David Terry
76bba4f07e
Merge pull request #54 from 8thlight/VDB-101-vat-fold-transformer
...
(VDB-101) Add Vat.fold transformer
2018-10-10 19:27:41 +03:00
David Terry
0bb3737027
vat.fold: pull common test setup into BeforeEach blocks
2018-10-10 18:13:10 +03:00
David Terry
b1745a6403
Merge branch 'staging' into VDB-101-vat-fold-transformer
...
Conflicts:
cmd/continuousLogSync.go
db/schema.sql
pkg/transformers/shared/constants.go
pkg/transformers/transformers.go
test_config/test_config.go
2018-10-10 14:09:14 +03:00
David Terry
89ec0a1cab
documentation: document config file for transformers
2018-10-10 14:06:00 +03:00
David Terry
95f1c94bf5
vat.fold: check for errors in insert before updating checked_headers
2018-10-10 14:03:37 +03:00
David Terry
1273acb733
vat.fold: add repository tests for MarkHeaderChecked
2018-10-10 13:51:44 +03:00
David Terry
3778d7ac06
vat.fold: add transformer tests for MarkHeaderChecked
2018-10-10 13:40:25 +03:00
David Terry
7e7ad13de6
vat.fold: handle errors
2018-10-10 13:39:33 +03:00
David Terry
2e89df081c
test_config: clean checked_headers table
2018-10-10 13:39:20 +03:00
David Terry
dde57178f1
vat.fold: break out of loop in transformer if no logs found
2018-10-10 13:38:57 +03:00
David Terry
724839ce4a
documentation: document vat event types
2018-10-10 13:37:59 +03:00
David Terry
f05f2e3ae9
vat.fold: correct table name in down migration
2018-10-10 13:37:31 +03:00
Rob Mulholand
e935f2f553
Add Vat grab transformer
2018-10-09 16:48:19 -05:00
Rob Mulholand
dcdf5dc292
Add missing transformers to transformer initializer map
2018-10-09 14:37:26 -05:00
Rob Mulholand
61dca314c4
Add Vat tune transformer
2018-10-09 14:37:26 -05:00
Elizabeth
ed1ed979b3
Remove bid_id unique constraint for Tend and Dent ( #48 )
2018-10-09 14:32:23 -05:00
Rob Mulholand
8ee106e14d
Add Vat toll transformer
2018-10-09 11:40:35 -05:00
David Terry
ecef1cbcdb
transformers: add step by step docs
2018-10-09 14:25:27 +03:00
David Terry
09770b2e50
Merge branch 'staging' into VDB-101-vat-fold-transformer
2018-10-09 14:15:07 +03:00
David Terry
81dec589fc
vat.fold: rollback broken test refactoring
2018-10-09 14:11:02 +03:00
David Terry
e040383fa5
vat.fold: add test for signature generation
2018-10-09 14:10:42 +03:00
David Terry
5cc4748f10
vat.fold: clean up table in test db
2018-10-09 13:34:55 +03:00
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