Commit Graph

910 Commits

Author SHA1 Message Date
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
Rob Mulholand
60d7b34471 address PR comments 2019-03-06 12:43:39 -06:00
Rob Mulholand
7ed4dcd1fa Remove Tic logic 2019-03-06 12:43:39 -06:00
Rob Mulholand
310a52cb0c test mappings helpers against static values 2019-03-06 12:43:39 -06:00
Rob Mulholand
b6bef49318 Add tests for plugin helpers
- Prevents code analysis from showing functions as unused
- Also address other code analysis issues
2019-03-06 12:43:39 -06:00
Rob Mulholand
a806cb2818 Extract slow tests from omni full transformer 2019-03-06 12:43:06 -06:00
Rob Mulholand
34c96654ce Extract slow tests from omni light transformer 2019-03-06 12:43:06 -06:00
Ian Norden
8bd397e2eb Merge pull request #29 from vulcanize/fix
Fix for Travis issue at https://github.com/vulcanize/mcd_transformers/pull/6
2019-03-06 11:27:43 -06:00
Ian Norden
e1a317c3f6 different errors; readme edit 2019-03-06 00:14:37 -06:00
Ian Norden
f53a7b8b5d Merge pull request #28 from vulcanize/geth_update
update geth to 1.8.23 (post can'tstantinople)
2019-03-06 00:01:53 -06:00
Ian Norden
5fd9a59027 fix for issue with Travis building plugin from plugin repo 2019-03-05 08:57:54 -06:00
Edvard Hübinette
55b6ad9381 Optimise missing block numbers query (#23) 2019-03-05 11:52:38 +01:00
Edvard Hübinette
6ff67f26d1 Fix logrus append (#24) 2019-03-05 11:30:22 +01:00
Ian Norden
e2fab256c9 update geth to 1.8.23 (post can'tstantinople) 2019-03-03 03:37:27 -06:00
Ian Norden
06fab13c54 Merge pull request #2 from vulcanize/compose_and_execute
Compose and execute transformers
2019-03-01 06:37:57 -06:00
Ian Norden
83f7daf37d compose and execute as separate commands; update README and add git checkout vendor/github.com/ethereum/go-ethereum/accounts/abi to make build 2019-02-28 18:15:16 -06:00
Ian Norden
2c5ddd03ba core repo migrations in fixed form 2019-02-26 00:52:54 -06:00
Ian Norden
708425c4d6 rebase; extract factories and the mocks they are dependent on to
libraries/shared; adjust omni test_helpers to drop and recreate
checked_headers table to avoid reaching 1600 column limit after repeated
tests (dropping columns doesn't actually remove them from contributing
to that limit)
2019-02-25 01:34:38 -06:00
Ian Norden
17f4d3dfa5 move maker plugin generator test to mcd_transformers 2019-02-24 21:53:04 -06:00
Ian Norden
f2072561a7 removing mcd/maker references; delete test_data; update READMEs; use
logrus
2019-02-24 21:53:04 -06:00
Ian Norden
3d34a9e7c9 remove maker migrations and convert back to timestamps and fix bug in
composeAndExecute command
2019-02-24 21:52:23 -06:00
Ian Norden
b449193b16 addressing review comments; still need to reorg migrations and add helper tests 2019-02-24 21:38:48 -06:00
Ian Norden
2868cf2f73 goose changes; update plugin readme; use rel paths for transformers in config; more commenting in pkg/plugin; fix PluginWriter to work with different transformer types; reopen generator tests 2019-02-24 21:38:48 -06:00
Ian Norden
90e67d6da9 move storage mappings pkg into shared 2019-02-24 21:38:48 -06:00
Ian Norden
03a7379617 work on porting storage watcher; watcher type is defined for
transformers in the config, storage transformers are exported from
plugin like event transformers
2019-02-24 21:38:47 -06:00