Commit Graph

1834 Commits

Author SHA1 Message Date
Rob Mulholand
f5b32a11b0 Improve transaction syncing test coverage 2019-03-28 14:31:17 -05:00
Rob Mulholand
81dfd12665 Address PR comments 2019-03-28 14:31:17 -05:00
Rob Mulholand
54d46638a8 updates for light sync transactions 2019-03-28 14:31:17 -05:00
Rob Mulholand
79e011aad2 Add light sync transactions table
- Foreign key to header instead of block
- Can use same Transaction struct for both
2019-03-28 14:31:17 -05:00
Rob Mulholand
d93006321b Rename transactions to full_sync_transactions
- Table has foreign key to blocks
- Add transaction RLP and transaction index to table
- Enables other tables with standalone transactions or transactions
  associated with other data structures (e.g. headers)
2019-03-28 14:31:17 -05:00
Rob Mulholand
48f6114791 Merge pull request #48 from vulcanize/consolidate-migrations
Consolidate migrations
2019-03-28 14:26:51 -05:00
Ian Norden
ce70b141e5 Merge pull request #50 from vulcanize/env
new travis env variable for tests
2019-03-28 09:07:23 -05:00
Ian Norden
1f46995dbd new travis env variable for tests 2019-03-27 20:10:52 -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
Rob Mulholand
d9e2bece27 Consolidate migrations
- Facilitate modifying migrations without cascading consequences for
  later migrations updating the same tables
2019-03-23 10:57:39 -05:00
Ian Norden
2e8f3109aa Merge pull request #39 from vulcanize/omni_update
Refactoring omni pkg code + PR72 from public branch
2019-03-22 14:42:47 -05:00
Ian Norden
1aa849bcb4 PR fixes; remove all infura token references and setup travis to use encrypted env
variable; rest of the ethjson_rpc dependent tests extracted to integration_test
2019-03-21 18:36:51 -05:00
Ian Norden
d3e172d9ab remove references to infura token except for in infura.toml so that tests will continue to pass on CI 2019-03-21 18:36:49 -05:00
Ian Norden
37fc038605 fixes for review comments 2019-03-21 18:36:49 -05:00
Ian Norden
37e581c7ec PR#72 from public repo- https://github.com/vulcanize/vulcanizedb/pull/72- also needed to finish pluggin in ENS record transformer 2019-03-21 18:33:56 -05:00
Ian Norden
24879a85aa mv pkg/omni pkg/contract_watcher 2019-03-21 18:33:56 -05:00
Ian Norden
073378de6d update © to 2019 2019-03-21 18:33:56 -05:00
Ian Norden
e4e092f542 changes to plugin and commands to accomodate changes 2019-03-21 18:33:56 -05:00
Ian Norden
05c3b9bb48 update readme; example toml 2019-03-21 18:30:48 -05:00
Ian Norden
5101ed4369 generic transformer and watcher interfaces for plugging in transformers built from omni pkging 2019-03-21 18:30:48 -05:00
Ian Norden
8174ce4aee refactor omni code; rename omniWatcher => contractWatcher; use config instead of excessive number of CLI flags 2019-03-21 18:30:48 -05:00
Ian Norden
84b65caedd Merge pull request #43 from vulcanize/rename
rename TransformerInitializer => EventTransformerInitializer; reorganize factories
2019-03-21 15:02:54 -05:00
Ian Norden
ff55e3ba7a TransformerInitializer => EventTransformerInitializer reorganization 2019-03-14 11:59:39 -05:00
Ian Norden
a9513c1af6 Merge pull request #32 from vulcanize/plugin_migrations
Set order to run plugin transformer db migrations in config
2019-03-13 17:40:54 -05:00
Ian Norden
9f8c50e3ab tests for migration path ordering and errors 2019-03-13 11:42:30 -05:00
Ian Norden
05cb06c2d3 config example fixes 2019-03-13 11:42:29 -05:00
Ian Norden
f37c458992 the part that actually runs the migrations in order 2019-03-13 11:42:29 -05:00
Ian Norden
b3ce1ecd78 update readme and cmd usage comments 2019-03-13 11:42:29 -05:00
Ian Norden
84aa0a7eba plugin migration order specified in config 2019-03-13 11:42:29 -05:00
Ian Norden
2ac682afa8 Merge pull request #38 from vulcanize/unpack_update
update parseTopicsIntoMap to handle indexed strings
2019-03-13 08:40:37 -05:00
Ian Norden
5dad19b71b Merge branch 'staging' into unpack_update 2019-03-13 08:16:49 -05:00
Ian Norden
64b7825c71 Merge pull request #31 from vulcanize/event_docs
event transformers readme and remove last links to mcd_transformers in main README
2019-03-13 08:15:43 -05:00
Ian Norden
ac93139863 update parseTopicsIntoMap to handle strings 2019-03-12 13:36:23 -05:00
Ian Norden
35c5808a07 readme fixes 2019-03-12 12:54:36 -05:00
Ian Norden
1d6219cc83 event transformers readme and update main readme to remove last links to
mcd_transformers
2019-03-12 12:45:29 -05:00
Rob Mulholand
87b080d6a5 Merge pull request #36 from vulcanize/remove-irrelevant-stuff
Assorted cleanups
2019-03-11 12:06:06 -05:00
Rob Mulholand
708aa638b4 Merge pull request #35 from vulcanize/add-uint48
Add unit48 to storage decoder
2019-03-11 10:02:58 -05:00
Rob Mulholand
5eff2618ed Assorted cleanups
- Remove DataDog
- Remove token_supply table
- Drop from more tables when cleaning DB for tests
2019-03-08 11:35:10 -06:00
Rob Mulholand
89d152e987 Add unit48 to storage decoder 2019-03-08 11:12:02 -06:00
Rob Mulholand
cdcb90c170 Merge pull request #34 from vulcanize/redsquirrel-patch-3
Fixing some typos
2019-03-08 10:56:38 -06:00
Rob Mulholand
c5862299e6 Merge pull request #33 from vulcanize/redsquirrel-patch-2
Minor Solidity suggestion
2019-03-08 10:56:20 -06:00
Rob Mulholand
b1c881a0d5 Merge pull request #30 from vulcanize/redsquirrel-patch-1
Fixing README
2019-03-08 10:56:07 -06:00
Rob Mulholand
288c5ca69f Merge pull request #26 from vulcanize/vdb-398-extract-slow-tests
Vdb 398 extract slow tests
2019-03-08 10:51:51 -06:00
Rob Mulholand
354e490894 Remove unused files 2019-03-07 16:29:01 -06:00
Dave Hoover
f03329247d Fixing some typos 2019-03-07 15:33:18 -06:00
Dave Hoover
789477bfbf Minor Solidity suggestion
Just reading through this and figured I'd suggest a more concise snippet.
2019-03-07 15:18:27 -06:00
Dave Hoover
a9a95123e7 Fixing README
We had an incorrect instruction in the documentation.
2019-03-06 13:40:10 -06:00
Rob Mulholand
5d0467f4b8 Add variables to clarify example contracts 2019-03-06 12:43:39 -06:00
Rob Mulholand
1414779d52 Use *sqlx.Tx instead of *sql.Tx
- requires using db.Beginx() instead of db.Begin()
- enables calling tx.Get()
2019-03-06 12:43:39 -06:00