From b37324bf3dda8d66058e52239855fd8e9a391fd5 Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Tue, 7 Aug 2018 15:17:29 -0500 Subject: [PATCH] Refactoring * Move flip kick files pkg/transformers/flip_kick * Consolidate test database setup * Pull ganache ipcPath from config * Update README to include info about using a Ganache chain --- .travis.yml | 4 +- README.md | 3 +- cmd/backfillAuctionLogs.go | 8 ++-- environments/local.toml.example | 2 +- environments/private.toml | 2 +- .../every_block/integration_test.go | 6 ++- .../every_block/repository_test.go | 18 ++++---- .../every_block/every_block_suite_test.go | 19 -------- pkg/datastore/postgres/postgres_test.go | 1 + .../repositories/block_repository_test.go | 3 ++ .../repositories/contract_repository_test.go | 1 + .../repositories/header_repository_test.go | 9 ++++ .../log_filter_repository_test.go | 1 + .../repositories/logs_repository_test.go | 1 + .../repositories/receipts_repository_test.go | 1 + .../watched_events_repository_test.go | 1 + pkg/test_helpers/database.go | 46 ------------------- .../transformers/flip_kick}/config.go | 2 +- .../transformers/flip_kick}/constants.go | 2 +- .../transformers/flip_kick}/converter.go | 14 +++--- .../transformers/flip_kick}/converter_test.go | 31 +++++++------ .../transformers/flip_kick}/entity.go | 5 +- .../flip_kick/every_block_suite_test.go | 33 +++++++++++++ .../transformers/flip_kick}/fetcher.go | 2 +- .../transformers/flip_kick}/fetcher_test.go | 8 ++-- .../flip_kick}/integration_test.go | 19 ++++---- .../transformers/flip_kick}/model.go | 2 +- .../transformers/flip_kick}/repository.go | 2 +- .../flip_kick}/repository_test.go | 21 +++++---- .../transformers/flip_kick}/transformer.go | 10 ++-- .../flip_kick}/transformer_test.go | 22 ++++----- .../transformers}/start_test_chain.sh | 2 +- .../transformers}/stop_test_chain.sh | 0 .../transformers}/test_data/flip_kick.go | 10 ++-- .../transformers}/test_data/mocks.go | 12 ++--- ...6d3f90e3a04f72eb3b06952a1b0d8916bff0103406 | 0 ...0bc79ef5c00a9254054fa4afbcb1a619a6af48aa44 | 0 ...891796b93ec0452791bf24426836837fc420bec9b7 | 0 ...3a78e06849c015249fd1884bd5a93e83d5be9c05dd | 0 ...caf3ed15ad5303b23393957f075901dab7cdefdef8 | 0 ...71d81629f57e66648907f6c97ba7712d15a553087a | 0 ...962dabd34e0f3e1b8c76bf14459f8a1c9bdb1a9789 | 0 ...ef4ce61671ef7b2df3cbd1b5fb0b5b4735803484d2 | 0 ...13e93f29caf30a8c68552f95830a934b886560762a | 0 ...09537542c5db00c2f03f1863646bc2633f80b1a549 | 0 ...ca2e91556f1d9c5f6c6e9c4ee5ea9877426b6fc893 | 0 .../test_data/test_chain/!blockLogs!0 | 0 .../test_data/test_chain/!blockLogs!1 | 0 .../test_data/test_chain/!blockLogs!10 | 0 .../test_data/test_chain/!blockLogs!2 | 0 .../test_data/test_chain/!blockLogs!3 | 0 .../test_data/test_chain/!blockLogs!4 | 0 .../test_data/test_chain/!blockLogs!5 | 0 .../test_data/test_chain/!blockLogs!6 | 0 .../test_data/test_chain/!blockLogs!7 | 0 .../test_data/test_chain/!blockLogs!8 | 0 .../test_data/test_chain/!blockLogs!9 | 0 .../test_data/test_chain/!blockLogs!length | 0 .../test_data/test_chain/!blocks!0 | 0 .../test_data/test_chain/!blocks!1 | 0 .../test_data/test_chain/!blocks!10 | 0 .../test_data/test_chain/!blocks!2 | 0 .../test_data/test_chain/!blocks!3 | 0 .../test_data/test_chain/!blocks!4 | 0 .../test_data/test_chain/!blocks!5 | 0 .../test_data/test_chain/!blocks!6 | 0 .../test_data/test_chain/!blocks!7 | 0 .../test_data/test_chain/!blocks!8 | 0 .../test_data/test_chain/!blocks!9 | 0 .../test_data/test_chain/!blocks!length | 0 ...3568ef138653aed0beaf8791ca1644b0d2e62b4b62 | 0 ...8f5a2b6aa2d53e5a083e156ab4115940687baf2d48 | 0 ...fd3f9f426bf60842dbf244788d0a84b894b3e6bd49 | 0 ...c312f1cd52e315c575d505c9fa90a748b7dab11eb9 | 0 ...ebf7abfd8691ca01ee588817a920f19d5b27f65191 | 0 ...c61b3c2848ebed77919cf0c158292cf32fafc55172 | 0 ...5eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 | 0 ...65d953677c4818c6655d26631bd7b840e9cfb2d668 | 0 ...e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 | 0 ...10ae6936700f2da07ddc3cb7191b06a5e20b10fb61 | 0 ...3568ef138653aed0beaf8791ca1644b0d2e62b4b62 | 0 ...8f5a2b6aa2d53e5a083e156ab4115940687baf2d48 | 0 ...fd3f9f426bf60842dbf244788d0a84b894b3e6bd49 | 0 ...c312f1cd52e315c575d505c9fa90a748b7dab11eb9 | 0 ...ebf7abfd8691ca01ee588817a920f19d5b27f65191 | 0 ...c61b3c2848ebed77919cf0c158292cf32fafc55172 | 0 ...5eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 | 0 ...65d953677c4818c6655d26631bd7b840e9cfb2d668 | 0 ...e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 | 0 ...10ae6936700f2da07ddc3cb7191b06a5e20b10fb61 | 0 ...144cfa40059711516c16ac27e18c85f8ba8d41b37a | 0 ...4d6eb1a04a3080df15d235779a7318839acd4ec0bb | 0 ...233b1addc44ec3a672d7f0fac74c99bfeb7c1e4650 | 0 ...f0ab1f18cb8bd59db49e62cdebf6705b13116e15ca | 0 ...c542488786e9042bb4e8f6521d6f29c455c388f159 | 0 ...130916e6486ec73cd6c0e3d9c3354f22544dfc0a90 | 0 ...eed7b513046674ea00905aa34a6e9f7d0d97e86eb1 | 0 ...d7934993c4b23d133a8f96001f6a03a9664c02f758 | 0 ...73663c023089180aa738afe551ae06a21d98132b77 | 0 ...bec2e32e7809151518a104fbff813500b0c235ab7c | 0 ...a14ec305c50928dbc5612ff1f0b1a58484a9e5e1e2 | 0 ...3cd28c6c3570cef82bd0ce193d6d78a420d076988f | 0 ...657d165248c788005cbee34e61ff0a5459edae1722 | 0 ...2bf0a2352c41b0012d157942fcabc59e64f08ec8a2 | 0 ...dc24cbc7831547495eda32e440e6708345d85e5bc0 | 0 ...610b0dbb907e6bdf72dcf5ad63422ba2e21f59f3ff | 0 ...5d14bd933683c230379908b9899391e70c1bdfbe14 | 0 ...7f46ba314f34ed23ca34f9fa01dab86cf82353983d | 0 ...492316cd71fe8ee35d224575d33e29280c409c3c8d | 0 ...c4ccf639034227a206e8d39e76dadd463b61e5508b | 0 ...67b8fb9e17ab479f98d5f927e218df7171ae2fa22e | 0 ...adbf6eddd953d4050a6bcb736a9bae44ccb639bfa0 | 0 ...c8ac580adba1ce1051d8cb8bcb1cd238f4187e577b | 0 ...44d205ff5f10f34d7eada2b8170e32dbe7ce649b54 | 0 ...663f33b11b4260c4b8e4b9acea7464641ee98c176c | 0 ...778e11e00302f5dc9d735569c1b5a4a0cf48b848e2 | 0 ...3a69cc607e6b2a4f04adbe1abb9167b8b5d454056e | 0 ...e266f32e70895c4474d6e5319d70b5e3ed8c24722c | 0 ...987c10f24fa0ecf777dbe99525c0321a58f237aa23 | 0 ...b2479b0b0ed256aaf4266920068c34aafec49bb2b1 | 0 ...6c09d66f6d4ff253d260d052e8d5ffe022965d6ffc | 0 ...ef1158597c3c964404792d86cbd9b4027f828a022f | 0 ...fa7481601253172b63d77e80278ab3d4895b20001b | 0 ...9253866e50977eb123efb7ecb3ae0508b5d72afef2 | 0 ...bae75783d4c8373f2b79041c5deec61cc33bc0ac32 | 0 ...dbe543253cd6da427a07bf45dc8909180bbe48183e | 0 ...8e4339ee689f634fb929d7ac5d9ceec36c15b2779e | 0 ...85640ba5dac102913e3782cbe2af8310a1247c5aa3 | 0 ...9d8893b7329aaa0c7fd79852e6879c17327e31659b | 0 ...6f496055d9c66346b4810abcf8ecc2f1ab13483e89 | 0 ...a496f6945898622e7b8e875feb74d0578b18f6730c | 0 ...4ad4a24c5f98f82ec5b90976e8467e3d3e6445947e | 0 ...9f947723566e0e73bd4730e6482500142bcff67d1f | 0 ...81dfb4e3f2d563beb99ee972cf1fa30b944e6b85f5 | 0 ...25e9bf6276dcd03776ad56573f386b24c7bd65a10b | 0 ...3f41f0d9cb6707fa8659ba6f0e93ff298b0f94cb49 | 0 ...01bf7044483059864224a8e2c0b3abfb4d56f17264 | 0 ...b1c31aff4d5324e2208a73ca65e3a28b93adc85a8f | 0 ...933a4d84948ada50b8ec963de13493518a0411bf5e | 0 ...264d49e8811a5e316cc7eb8a0eb12cc91159e9bc89 | 0 ...ac126a6d98f36699888043bee37beaa2efd72f32d8 | 0 ...a829299243d2c45d31ba72e5da22cb6fb5ded89eda | 0 ...0cd9711ccec2dae78beadfdcf290c11b5ad5f0702a | 0 ...a6b70fab3c29d545df173e5798da1a3bef0efeb5d9 | 0 ...ad2c42ef1471f7597831c1b4cda4508d211e1e5fe7 | 0 ...35caf68673a43b7a13bb1fa82f2643bad3e4d1c253 | 0 ...a101dfbf8cdf97373f7698dc90befabe95a62c18d0 | 0 ...dac955e22e29b2c6a89be444e7b996602c26dfc4c6 | 0 ...fcf02a48f3c350619ac1beba18d698453faad284b0 | 0 ...bc4986df7bb808426470a9871d1f6d3324b780c194 | 0 ...9d83e93dd46d770db9ada1151883868cf1192b59f5 | 0 ...533f96e09dba2150247a9c4a4e71fdf0b0dd0c8c2b | 0 ...68b20e31952619100e01a31e619f91393e34d80ab5 | 0 ...d8ad1e2a94b7af053151a44e0484166c0cd1581be9 | 0 ...11106487c3920b195e7fc316d9e489de5bd09c77b2 | 0 ...97c2d34d5d10e136757bf4cfff5fa41bfca219554a | 0 ...c5f0ab999758a19b72cbf7c4eff6d930525a8b0455 | 0 ...5e448f532364805c5bf22aac6b84662e0883539de2 | 0 ...0e3117b6b32f756742a4026aec069402d2dfe9cc25 | 0 ...092e2b6133f6826e045c391501e80374760de69320 | 0 ...ae2074181fda1f14f9abb6363e4d9a152fd9f07c90 | 0 ...7fcdcfd5b561442347326a3ffca40ae225d0029d4c | 0 ...76b3b5915232be4e619fc829f4a1882a54200f8f94 | 0 ...92da83ae3bec40470b66f31d047ef4911d0106dde2 | 0 ...b121df2d074c649a16b50ca7a2839abc5eb3894a9a | 0 ...7c88c00e44733094250664cbfc9d9bbf9eda3ca745 | 0 ...9885bf0e9127fa6eda02f7692fcbc6987adb041151 | 0 ...81d9f8b4def74d71d0cbf3ec3c5039ce6d0d2c35ae | 0 ...f86d37934e0d826eb7411a2420ea362466d8d60e03 | 0 ...25bde0a01f3705f6c9b1756f6c93fdc09248227c94 | 0 ...a99e4532ee4f35f55fe2c150517568b9040d83eb7f | 0 ...fa9a02f85475aaa5b109d41dc35f1893dc5bb3cf72 | 0 ...fdcb1da8149ab4fe2240dfa1ce57ec821d5b18c981 | 0 ...d79ca9cdf554979bddd265f772a5540fddbab91ef9 | 0 ...6102bce3649bc358aa26ea150ada9053e81bf7f579 | 0 ...e1b7f6bf62c1a5eca81c5d618a9512114809b884cb | 0 ...3fb1891a4f45c21d7b16f3f99f4e558a33436f1f76 | 0 ...7453743bcd033f304dd1b8877087453f36a598018e | 0 ...3f413de9449aa4066e6d54c701ac5bd5a05db08bf9 | 0 ...7dd91c9eaf8eb1506c93c66179b72255e15104f292 | 0 ...0976490ab2c71a0643e9f16e16807811b7112ed032 | 0 ...a9b6e1e3504ae122fcb443c2a174a3c443be9e9288 | 0 ...2ad5b75f139955ef1aa3d618d17cef880433e70dc6 | 0 ...5ac468fc88ab99335759bb47d22b0947229f0b170a | 0 ...87c21bae16a9e5809241b5bd5a36845a5f5d357a6e | 0 ...32895e2d402fe71d272af2994483bb9b56e2f1b6ca | 0 ...aa4aff24663004533b92d8ef1947a6fd621b5c028f | 0 ...32c2fbbb1590d1835ede9c484a98c742db028aa1c9 | 0 ...69955e86ec99632f505cabf3b3f3db6c1a72a4c7f4 | 0 ...3aa2a077f3019a7e851ec9faf4b21ad72aea963675 | 0 ...2c71aceef69fd13c10e815107467ebf53c1644bbc0 | 0 ...4695f06db28c3c19f59f40e67ad6e7558c31669a10 | 0 ...0018ded196413ef989c0062341ff886889f39ab41b | 0 ...7d4ba14066c71072010c352566ceb6af2105001fa3 | 0 ...b9b6a68e54880eacdec18ffa1656ad572976b752cc | 0 ...3c2b1f69222ac351f6f051bc010b3ae77a7a82cd8e | 0 ...9f84d03cadbba602e3e04546e2c18064dcb0517963 | 0 ...c9fcf5f0ae0f9bcf0bc40aba289d2876006140eada | 0 ...d3f57fad2d56471e0605fe795a4c1779c7f90b8650 | 0 ...939937886bcd21eb6f358949eeb9aa781747cd12f0 | 0 ...6ba04465953bbe7a9d5c1e321f1f022d21d86bc138 | 0 ...8fe119c9f9366e0fb63b6e79c6840068695a6d3b47 | 0 ...89d3598e99571cd4f0fec9f550a211febe9215be1d | 0 ...97fbec7c814822c7113ba4fb6a3eff197356c7b0d0 | 0 ...56459c2add5676ba26e637d77963fd933a2108b7aa | 0 ...fda7cf465726738ab7ebb44fe0879a9029b4aa582f | 0 ...8e2fbf065aaa4165652efa1d89d174d440c96e25cf | 0 ...bf799d38f88c2f251a7504b87039b2a4f682cbf323 | 0 ...0db0ad6af18367210d9660609b5ecf4a6acb1e0ab3 | 0 ...a68d3db7dc0fa8ad95b1f8fe5e4f66df8b0a369b14 | 0 ...faad355d13a20bec9382d722959b2dd34cc06f7956 | 0 ...256dcb98b86808a19ab61c59994ab8b8bdf9acfa4d | 0 ...9ab19fc5c4e750959d0d6135c010c23f3bbc37bfd8 | 0 ...8c8090467201e6cb399f8506276bb47064462610c9 | 0 ...9dda4d67a6f2e7a5ec13ec49680683cdc24a3df770 | 0 ...09205f8a64815b241b68749290e126968a01a55296 | 0 ...62ada45402840f239a67bc577357a9dafce809946a | 0 ...3d27d5da39a39474894d83029f1397c838c9ac428b | 0 ...23c7ac8c5061abc0d5a8c87532b0588f57df6e26db | 0 ...583893f9973c43ce27b29cb8269642240cc817b42a | 0 ...79ac50511dad8558456cbd1f0f99342215d69d141c | 0 ...ac3ef0e19e46c28ce0f78640f445e41e4e9b02d5ca | 0 ...7be47b47625f3ca8023e92cc10bf73329a699933ad | 0 ...8ea285ba22df97bb1283f3b5a8326d7ee1b2ba2ed2 | 0 ...815394207384070546c321e43b2c8fe77c7d2f909d | 0 ...706b7aef962fe14083d38e0f45b7cf3a7d3d24b032 | 0 ...126fd0b2eb33764bdb3ec5763b93968f205314944c | 0 ...78e5ee3769d04d971e0cae935a09538cacde59d972 | 0 ...2ea6ffcd436f6c6d4fe14a771042f7d4cea5cfa92f | 0 ...9e45ba3d6a775b7c067a2f1fb1966bce0da728835a | 0 ...13b78ddc858ba8a78466e187b640d05ee1b307c52e | 0 ...de81828c957ccf8622569c2cb25a546bd325a84a25 | 0 ...3d74e9c54a7fb03d16ed52c503bf8dbd2ea0332a47 | 0 ...c91308534ad0c1c0b77bb37c4abab7043a4f758ef2 | 0 ...a7801c782bb905b339c40e2f4d7fa9bbb6e60f2919 | 0 ...bc3a21093b529abc9cca3c368066d44aa31c9f0a57 | 0 ...7faf2541a5432ef2b567e0f6faccb7e193d64d48cf | 0 ...4e84a9702e33d52ab2b78dbc8a4110bc4ab9805926 | 0 ...ca431b54af9320eca119ece050d55e1b05a94bad24 | 0 ...656e88a16b2303744aa3fc59034662092c8e688569 | 0 ...eadfc3d2affdb420d73dc4ecf07c5a21b22a221a98 | 0 ...3eb25076b5d12bd24ecfd91f2b19891722703a43e2 | 0 ...afe1dc5b3548bf27bc66900c8e118c9187767cb85d | 0 ...27a5f17bce3863cc3cda8b21f0da41228f0be40e75 | 0 ...b80ed63d86d61ded11b1f08d633a16a808be066864 | 0 ...9cb539b72a387a2e605dba7ad9a4e935486657e80c | 0 ...c82191f7ff73ee8b732b3652ae6864c8bc2e2688e0 | 0 ...f94497ed2082c0874454d5419cbdb0037f105e882a | 0 ...be8c6a89aea88a70d80394f7eda04d8e4b1c17cc4e | 0 ...03d6e2bfc0e77581a8233aac88928620af541b9fbd | 0 ...b6864c077c8b3feafa8d6f93bb5185dcd52a55f4b5 | 0 ...c46231fc72da5d44c6419ee71c47be24fbf1928fcf | 0 ...9eb1d7bf01e04231d016528da0062c123203eb1c79 | 0 ...eeaf38d612251395b4277a958c4a78cea448e07cc1 | 0 ...41752157c205a391ec9a1b730031bccc77a9276b02 | 0 .../transformers}/transformers.go | 7 +-- test_config/test_config.go | 31 +++++++++++-- 257 files changed, 188 insertions(+), 173 deletions(-) delete mode 100644 libraries/maker/every_block/every_block_suite_test.go delete mode 100644 pkg/test_helpers/database.go rename {libraries/maker/every_block => pkg/transformers/flip_kick}/config.go (98%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/constants.go (99%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/converter.go (97%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/converter_test.go (86%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/entity.go (97%) create mode 100644 pkg/transformers/flip_kick/every_block_suite_test.go rename {libraries/maker/every_block => pkg/transformers/flip_kick}/fetcher.go (98%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/fetcher_test.go (90%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/integration_test.go (88%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/model.go (97%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/repository.go (99%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/repository_test.go (91%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/transformer.go (89%) rename {libraries/maker/every_block => pkg/transformers/flip_kick}/transformer_test.go (84%) rename {libraries/maker => pkg/transformers}/start_test_chain.sh (83%) rename {libraries/maker => pkg/transformers}/stop_test_chain.sh (100%) rename {libraries/maker => pkg/transformers}/test_data/flip_kick.go (93%) rename {libraries/maker => pkg/transformers}/test_data/mocks.go (88%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x2c3b96f821a6abe12061036d3f90e3a04f72eb3b06952a1b0d8916bff0103406 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x3a1b9dd73229701cf992f80bc79ef5c00a9254054fa4afbcb1a619a6af48aa44 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x4e22a16f36c4579b10db23891796b93ec0452791bf24426836837fc420bec9b7 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x59d43865d29b1ddf0baff73a78e06849c015249fd1884bd5a93e83d5be9c05dd (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x76443e96ab64087485c83dcaf3ed15ad5303b23393957f075901dab7cdefdef8 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x7e8df460b9fe6f779d308571d81629f57e66648907f6c97ba7712d15a553087a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x82ddc58a8608bdac6cf29a962dabd34e0f3e1b8c76bf14459f8a1c9bdb1a9789 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0x92df7e05e7e8c221851b23ef4ce61671ef7b2df3cbd1b5fb0b5b4735803484d2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0xa991182133d4d762d84b3213e93f29caf30a8c68552f95830a934b886560762a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0xe3f5f15620f4599a82eba709537542c5db00c2f03f1863646bc2633f80b1a549 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockHashes!0xea660033df6296bce69b24ca2e91556f1d9c5f6c6e9c4ee5ea9877426b6fc893 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!1 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!10 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!3 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!4 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!5 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!6 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!7 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!8 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blockLogs!length (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!1 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!10 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!3 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!4 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!5 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!6 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!7 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!8 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!blocks!length (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactionReceipts!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!transactions!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x014d823cc965c37ad6f570144cfa40059711516c16ac27e18c85f8ba8d41b37a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x0580883480974cf8d76b4a4d6eb1a04a3080df15d235779a7318839acd4ec0bb (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x07a4f7534ccd4d1a2893c4233b1addc44ec3a672d7f0fac74c99bfeb7c1e4650 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x0e1adb36bae65d3155a1a7f0ab1f18cb8bd59db49e62cdebf6705b13116e15ca (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x0f6ebbd43b6a851db54d9cc542488786e9042bb4e8f6521d6f29c455c388f159 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x10becc474a25f7d0d67dd3130916e6486ec73cd6c0e3d9c3354f22544dfc0a90 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1302a403c9b0455ea025bbeed7b513046674ea00905aa34a6e9f7d0d97e86eb1 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x14a96b69c2eef02d5e6634d7934993c4b23d133a8f96001f6a03a9664c02f758 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1561a115b24603945911a073663c023089180aa738afe551ae06a21d98132b77 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x157933e4f44b7ff7eb5b84bec2e32e7809151518a104fbff813500b0c235ab7c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x160b20504872ea0c821139a14ec305c50928dbc5612ff1f0b1a58484a9e5e1e2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x193d91e77927d4dd6888eb3cd28c6c3570cef82bd0ce193d6d78a420d076988f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1ae66f56e80b6ce3f6dd2c657d165248c788005cbee34e61ff0a5459edae1722 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1b9a0ca00da4bf0c31264a2bf0a2352c41b0012d157942fcabc59e64f08ec8a2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1b9fc114e1505a2ebf1b4ddc24cbc7831547495eda32e440e6708345d85e5bc0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1c178169738ade34156345610b0dbb907e6bdf72dcf5ad63422ba2e21f59f3ff (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1cf5126fea51794b0db1435d14bd933683c230379908b9899391e70c1bdfbe14 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1dd53620e42fc2cb4123bb7f46ba314f34ed23ca34f9fa01dab86cf82353983d (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x1e566933d70b71a726f5cc492316cd71fe8ee35d224575d33e29280c409c3c8d (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x21844edeb0c63d6c416c3ac4ccf639034227a206e8d39e76dadd463b61e5508b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x2214fc392a3915c339364267b8fb9e17ab479f98d5f927e218df7171ae2fa22e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x22bb72309f6e88672f57b0adbf6eddd953d4050a6bcb736a9bae44ccb639bfa0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x25fc93ab219268b7e46014c8ac580adba1ce1051d8cb8bcb1cd238f4187e577b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x2755f446d0c4053242e02044d205ff5f10f34d7eada2b8170e32dbe7ce649b54 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x27dfbb598caaf84884996f663f33b11b4260c4b8e4b9acea7464641ee98c176c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x294e0688e78b8ebe45c45e778e11e00302f5dc9d735569c1b5a4a0cf48b848e2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x2ac25c8b39e9ba3a99e3983a69cc607e6b2a4f04adbe1abb9167b8b5d454056e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x2b3927b8275f057efa8d7be266f32e70895c4474d6e5319d70b5e3ed8c24722c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x2b90ac735ccaf20d1204ce987c10f24fa0ecf777dbe99525c0321a58f237aa23 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x315b6170f8978b4fce756cb2479b0b0ed256aaf4266920068c34aafec49bb2b1 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x34d4377e4f0dee74f4a49f6c09d66f6d4ff253d260d052e8d5ffe022965d6ffc (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3692ebfcca6c72d823f2edef1158597c3c964404792d86cbd9b4027f828a022f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x372afacecb5d397370430cfa7481601253172b63d77e80278ab3d4895b20001b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3900e16f35744fd8e6732d9253866e50977eb123efb7ecb3ae0508b5d72afef2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x39eb45844be0763684b87dbae75783d4c8373f2b79041c5deec61cc33bc0ac32 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3a1b09fce6390882d7322ddbe543253cd6da427a07bf45dc8909180bbe48183e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3ad54ef88f031c776dcc858e4339ee689f634fb929d7ac5d9ceec36c15b2779e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3aeb3aa806a152ccfd51ab85640ba5dac102913e3782cbe2af8310a1247c5aa3 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3cc1c317257fc0571bcb469d8893b7329aaa0c7fd79852e6879c17327e31659b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3e9dee0a3894a2bd8b3ff56f496055d9c66346b4810abcf8ecc2f1ab13483e89 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3ec08de1b6fc2f56324ce3a496f6945898622e7b8e875feb74d0578b18f6730c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x3f5286f5cae259e122279b4ad4a24c5f98f82ec5b90976e8467e3d3e6445947e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x406d82bbf3ff8b6eb8bce99f947723566e0e73bd4730e6482500142bcff67d1f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x422861bc32af762face51a81dfb4e3f2d563beb99ee972cf1fa30b944e6b85f5 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x4269a0201e3ae680b579c725e9bf6276dcd03776ad56573f386b24c7bd65a10b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x429b0f28e1011b174b50343f41f0d9cb6707fa8659ba6f0e93ff298b0f94cb49 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x44feb02352f8a94bfdbaf401bf7044483059864224a8e2c0b3abfb4d56f17264 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x4584397d16a79dc5e2ad22b1c31aff4d5324e2208a73ca65e3a28b93adc85a8f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x46d92709b24bf67da10cef933a4d84948ada50b8ec963de13493518a0411bf5e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x48bef2949d1b9e743c3372264d49e8811a5e316cc7eb8a0eb12cc91159e9bc89 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x4a620dd91dbe73f56ca2fbac126a6d98f36699888043bee37beaa2efd72f32d8 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x4cbd41e3ae7174e6b1850aa829299243d2c45d31ba72e5da22cb6fb5ded89eda (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x4e8bf0d45a3147eac8fc230cd9711ccec2dae78beadfdcf290c11b5ad5f0702a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x4ef305cd67b97b743669faa6b70fab3c29d545df173e5798da1a3bef0efeb5d9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x4fa6053972ef0f71dfeca3ad2c42ef1471f7597831c1b4cda4508d211e1e5fe7 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x5072a6c1e2e016ff4e5b6b35caf68673a43b7a13bb1fa82f2643bad3e4d1c253 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x50b3886d0b373a1bec1077a101dfbf8cdf97373f7698dc90befabe95a62c18d0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x50c257a83e805b0c15f7dcdac955e22e29b2c6a89be444e7b996602c26dfc4c6 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x5179412bdf3b1fdc681506fcf02a48f3c350619ac1beba18d698453faad284b0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x51e94f71fe2273409ef0acbc4986df7bb808426470a9871d1f6d3324b780c194 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x526dd67231b9088dffafec9d83e93dd46d770db9ada1151883868cf1192b59f5 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x54141933fa63670d278c0d533f96e09dba2150247a9c4a4e71fdf0b0dd0c8c2b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x54350d30b48d6984395cf168b20e31952619100e01a31e619f91393e34d80ab5 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x54b4a1c61e5ad24ffdd1fbd8ad1e2a94b7af053151a44e0484166c0cd1581be9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x54ea506fbfef710a7ac83211106487c3920b195e7fc316d9e489de5bd09c77b2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x5911f24d96912350de50f297c2d34d5d10e136757bf4cfff5fa41bfca219554a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x59199de3c5812d70d26226c5f0ab999758a19b72cbf7c4eff6d930525a8b0455 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x595254cf7b611ccf8a5ec65e448f532364805c5bf22aac6b84662e0883539de2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x5cd303b71add8faa7c8cf60e3117b6b32f756742a4026aec069402d2dfe9cc25 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x5e287c9213b0dcabfdf484092e2b6133f6826e045c391501e80374760de69320 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x60b37e6a056ee52545c169ae2074181fda1f14f9abb6363e4d9a152fd9f07c90 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x62ab8b4e7f7569eb032e637fcdcfd5b561442347326a3ffca40ae225d0029d4c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x62b7219819310966c2f08a76b3b5915232be4e619fc829f4a1882a54200f8f94 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x63a1b8e271db0ec0a1816192da83ae3bec40470b66f31d047ef4911d0106dde2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x66c5d0a6016165e537ac63b121df2d074c649a16b50ca7a2839abc5eb3894a9a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x67bcaf1d60f75a22d49b037c88c00e44733094250664cbfc9d9bbf9eda3ca745 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x6b41508fe01ac4fe9d58179885bf0e9127fa6eda02f7692fcbc6987adb041151 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x6cebfe106ade0f88e6b68581d9f8b4def74d71d0cbf3ec3c5039ce6d0d2c35ae (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x74952353b0991411841541f86d37934e0d826eb7411a2420ea362466d8d60e03 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x7604b45506a0b39430208425bde0a01f3705f6c9b1756f6c93fdc09248227c94 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x7641a0ead83074c914ca25a99e4532ee4f35f55fe2c150517568b9040d83eb7f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x77ecddca419c697a6aae21fa9a02f85475aaa5b109d41dc35f1893dc5bb3cf72 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x7876d09d07838d1e8aa713fdcb1da8149ab4fe2240dfa1ce57ec821d5b18c981 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x78e21e7abc575f28a786c1d79ca9cdf554979bddd265f772a5540fddbab91ef9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x79b9aa7f3bfc53dde3d5f06102bce3649bc358aa26ea150ada9053e81bf7f579 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x7ac0c41c0d80d8e020f83ae1b7f6bf62c1a5eca81c5d618a9512114809b884cb (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x7f58526de3503c41aa43ef3fb1891a4f45c21d7b16f3f99f4e558a33436f1f76 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x7f7b46c4c5746aa251ed9a7453743bcd033f304dd1b8877087453f36a598018e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x80b4053526aa3f9eeead723f413de9449aa4066e6d54c701ac5bd5a05db08bf9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x8202796f16ed68ec4c55687dd91c9eaf8eb1506c93c66179b72255e15104f292 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x83097864ebee0be81925b10976490ab2c71a0643e9f16e16807811b7112ed032 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x87f40f40a31bbcb0abcacfa9b6e1e3504ae122fcb443c2a174a3c443be9e9288 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x87ff3bbe1430ed5cc0f2cc2ad5b75f139955ef1aa3d618d17cef880433e70dc6 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x8a083a05cf77f2f36f6c055ac468fc88ab99335759bb47d22b0947229f0b170a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x8ac88fd296fe71814c119087c21bae16a9e5809241b5bd5a36845a5f5d357a6e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x8b1ba0894221f78d2d10aa32895e2d402fe71d272af2994483bb9b56e2f1b6ca (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x8e7e25bae88ad50ddb83a7aa4aff24663004533b92d8ef1947a6fd621b5c028f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x8ee1bc00a0fdef60abe39832c2fbbb1590d1835ede9c484a98c742db028aa1c9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x8f45dc1a11f3098f0ed77769955e86ec99632f505cabf3b3f3db6c1a72a4c7f4 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x907b9cb17ed4afdf1e49593aa2a077f3019a7e851ec9faf4b21ad72aea963675 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x96378ad746eed1418f76252c71aceef69fd13c10e815107467ebf53c1644bbc0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x977f3e78fd927245d850c04695f06db28c3c19f59f40e67ad6e7558c31669a10 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x98ad39fb8468cbcb93a0990018ded196413ef989c0062341ff886889f39ab41b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0x9d284defeed07bc2b2d65d7d4ba14066c71072010c352566ceb6af2105001fa3 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xa3f2cd2ba5bc1fb673062bb9b6a68e54880eacdec18ffa1656ad572976b752cc (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xa5d0993717b2edefc64e653c2b1f69222ac351f6f051bc010b3ae77a7a82cd8e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xa7e84e568d915220899cd49f84d03cadbba602e3e04546e2c18064dcb0517963 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xa855e7870075f22bca3187c9fcf5f0ae0f9bcf0bc40aba289d2876006140eada (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xa965142b2b0f0b1fb2701ad3f57fad2d56471e0605fe795a4c1779c7f90b8650 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xa9bfb1f25d67b7e48433ab939937886bcd21eb6f358949eeb9aa781747cd12f0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xaa9f11e9216645caffc0b16ba04465953bbe7a9d5c1e321f1f022d21d86bc138 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xab6df9bdf417e2156e3d5b8fe119c9f9366e0fb63b6e79c6840068695a6d3b47 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xababfa40a16a76228f9c9289d3598e99571cd4f0fec9f550a211febe9215be1d (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xaca22053d89ebbf434c56097fbec7c814822c7113ba4fb6a3eff197356c7b0d0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xae1c3ba42b6c8f2a271b7f56459c2add5676ba26e637d77963fd933a2108b7aa (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xaf5f20f6426af3e166955afda7cf465726738ab7ebb44fe0879a9029b4aa582f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xaf884a3280efc05cbccc0c8e2fbf065aaa4165652efa1d89d174d440c96e25cf (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xafc7c6a8161d69dc1b082bbf799d38f88c2f251a7504b87039b2a4f682cbf323 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb07a87e464ce02c066bb930db0ad6af18367210d9660609b5ecf4a6acb1e0ab3 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb093ce9bfa6db5d783bab7a68d3db7dc0fa8ad95b1f8fe5e4f66df8b0a369b14 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb2409e30945c4de021f839faad355d13a20bec9382d722959b2dd34cc06f7956 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb2aea4b00c6faa6890b6e8256dcb98b86808a19ab61c59994ab8b8bdf9acfa4d (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb36069e00f14f31f6af8179ab19fc5c4e750959d0d6135c010c23f3bbc37bfd8 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb53a58d1f1f96b20865f6c8c8090467201e6cb399f8506276bb47064462610c9 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb849d833c3c299ab14d40e9dda4d67a6f2e7a5ec13ec49680683cdc24a3df770 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb8a4ccd79e4c55573c4c1909205f8a64815b241b68749290e126968a01a55296 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xb9b76c57e2bde1c38c34e662ada45402840f239a67bc577357a9dafce809946a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xbd71221ec6a606a213189d3d27d5da39a39474894d83029f1397c838c9ac428b (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xbda48a1d334a501c0161da23c7ac8c5061abc0d5a8c87532b0588f57df6e26db (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xbe5e9c050b511a60562962583893f9973c43ce27b29cb8269642240cc817b42a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xbea5ac5b5b294572a69eeb79ac50511dad8558456cbd1f0f99342215d69d141c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc03c348f717530216ab354ac3ef0e19e46c28ce0f78640f445e41e4e9b02d5ca (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc10146e60c892a940009077be47b47625f3ca8023e92cc10bf73329a699933ad (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc2509c936c6a49946f4d1f8ea285ba22df97bb1283f3b5a8326d7ee1b2ba2ed2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc34b6254fe0b63fd193c05815394207384070546c321e43b2c8fe77c7d2f909d (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc454a94697819d0ce89be4706b7aef962fe14083d38e0f45b7cf3a7d3d24b032 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc4f6a1f0b681632674246c126fd0b2eb33764bdb3ec5763b93968f205314944c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc5efe80126d2f4bb222c3d78e5ee3769d04d971e0cae935a09538cacde59d972 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc74b55ae25b522915216f62ea6ffcd436f6c6d4fe14a771042f7d4cea5cfa92f (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xc81d5533ce94ec680095939e45ba3d6a775b7c067a2f1fb1966bce0da728835a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xcdf03fdc6d63c3530d16f913b78ddc858ba8a78466e187b640d05ee1b307c52e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xcf2759c659bd860d34b51ade81828c957ccf8622569c2cb25a546bd325a84a25 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xcfe663a029b4580a64c6b23d74e9c54a7fb03d16ed52c503bf8dbd2ea0332a47 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xd167b284cd9e648f2508afc91308534ad0c1c0b77bb37c4abab7043a4f758ef2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xd35dc35858f8b26ca6aca1a7801c782bb905b339c40e2f4d7fa9bbb6e60f2919 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xd8592c6f97b855e192b45cbc3a21093b529abc9cca3c368066d44aa31c9f0a57 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xdb0af948d55394775495207faf2541a5432ef2b567e0f6faccb7e193d64d48cf (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xdc29fc9d85a41d5f7586954e84a9702e33d52ab2b78dbc8a4110bc4ab9805926 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xe471b75d1693dfa4458588ca431b54af9320eca119ece050d55e1b05a94bad24 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xe76d776e0fd3e779b1154f656e88a16b2303744aa3fc59034662092c8e688569 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xed57d93087e1a79ee9e3f6eadfc3d2affdb420d73dc4ecf07c5a21b22a221a98 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xed89ce8c7b8d2657d679fd3eb25076b5d12bd24ecfd91f2b19891722703a43e2 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xef07ff19a8b934da7c4809afe1dc5b3548bf27bc66900c8e118c9187767cb85d (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xf16e2c7b466b113f3159a527a5f17bce3863cc3cda8b21f0da41228f0be40e75 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xf2bf1441ea4a8c925cf68ab80ed63d86d61ded11b1f08d633a16a808be066864 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xf39ba3ac12d2744dd608f89cb539b72a387a2e605dba7ad9a4e935486657e80c (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xf5bc46da5777e39236ea19c82191f7ff73ee8b732b3652ae6864c8bc2e2688e0 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xf5ee2d5a1e72de4b5a1e2af94497ed2082c0874454d5419cbdb0037f105e882a (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xf809a0ce500223d176d587be8c6a89aea88a70d80394f7eda04d8e4b1c17cc4e (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xfaa013dc69cc994058701503d6e2bfc0e77581a8233aac88928620af541b9fbd (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xfb53e64824f62daa3a1598b6864c077c8b3feafa8d6f93bb5185dcd52a55f4b5 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xfc06e3f1445bb4688f0502c46231fc72da5d44c6419ee71c47be24fbf1928fcf (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xfdc8e630564f657910187c9eb1d7bf01e04231d016528da0062c123203eb1c79 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xfdcb675a2fb7395ce85312eeaf38d612251395b4277a958c4a78cea448e07cc1 (100%) rename {libraries/maker => pkg/transformers}/test_data/test_chain/!trie_db!0xfe3d828c2803bd586bc34641752157c205a391ec9a1b730031bccc77a9276b02 (100%) rename {libraries/maker/every_block => pkg/transformers}/transformers.go (80%) diff --git a/.travis.yml b/.travis.yml index 0450edb4..937f859e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ before_install: before_script: - sudo -u postgres createdb vulcanize_private - make migrate NAME=vulcanize_private - - bash ./libraries/maker/start_test_chain.sh + - bash ./pkg/transformers/start_test_chain.sh script: - make test @@ -27,4 +27,4 @@ notifications: email: false after_script: - - bash ./libraries/maker/stop_test_chain.sh + - bash ./pkg/transformers/stop_test_chain.sh diff --git a/README.md b/README.md index a27532d1..de00d6d3 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,8 @@ Vulcanize DB is a set of tools that make it easier for developers to write appli - Linux: `$HOME/.ethereum/geth/chaindata` - `levelDbPath` is irrelevant (and `coldImport` is currently unavailable) if only running parity. -- See `environments/infura.toml` to configure commands to run against infura, if a local node is unavailable +- See `environments/infura.toml` to configure commands to run against infura, if a local node is unavailable. +- Copy `environments/local.toml.example` to `environments/local.toml` to configure commands to run against a local node such as [Ganache](https://truffleframework.com/ganache) or [ganache-cli](https://github.com/trufflesuite/ganache-clihttps://github.com/trufflesuite/ganache-cli). ## Start syncing with postgres Syncs VulcanizeDB with the configured Ethereum node, populating blocks, transactions, receipts, and logs. diff --git a/cmd/backfillAuctionLogs.go b/cmd/backfillAuctionLogs.go index edcd96fe..6db5c223 100644 --- a/cmd/backfillAuctionLogs.go +++ b/cmd/backfillAuctionLogs.go @@ -15,17 +15,19 @@ package cmd import ( + "log" + "github.com/ethereum/go-ethereum/ethclient" "github.com/ethereum/go-ethereum/rpc" "github.com/spf13/cobra" - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" + "github.com/vulcanize/vulcanizedb/libraries/shared" "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres" "github.com/vulcanize/vulcanizedb/pkg/geth" "github.com/vulcanize/vulcanizedb/pkg/geth/client" vRpc "github.com/vulcanize/vulcanizedb/pkg/geth/converters/rpc" "github.com/vulcanize/vulcanizedb/pkg/geth/node" - "log" + "github.com/vulcanize/vulcanizedb/pkg/transformers" ) // backfillAuctionLogsCmd represents the backfillAuctionLogs command @@ -67,7 +69,7 @@ func backfillAuctionLogs() { Blockchain: blockChain, } - watcher.AddTransformers(every_block.TransformerInitializers()) + watcher.AddTransformers(transformers.TransformerInitializers()) watcher.Execute() } diff --git a/environments/local.toml.example b/environments/local.toml.example index 10e51b66..cca881aa 100644 --- a/environments/local.toml.example +++ b/environments/local.toml.example @@ -4,4 +4,4 @@ hostname = "localhost" port = 5432 [client] -ipcPath = "http://127.0.0.1:7546" +ipcPath = "http://127.0.0.1:7545" diff --git a/environments/private.toml b/environments/private.toml index d7c71775..30382733 100644 --- a/environments/private.toml +++ b/environments/private.toml @@ -4,4 +4,4 @@ hostname = "localhost" port = 5432 [client] -ipcPath = "test_data_dir/geth.ipc" +ipcPath = "http://127.0.0.1:7545" \ No newline at end of file diff --git a/examples/erc20_watcher/every_block/integration_test.go b/examples/erc20_watcher/every_block/integration_test.go index 53e8154c..aa3140aa 100644 --- a/examples/erc20_watcher/every_block/integration_test.go +++ b/examples/erc20_watcher/every_block/integration_test.go @@ -24,10 +24,10 @@ import ( "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres" "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres/repositories" "github.com/vulcanize/vulcanizedb/pkg/fakes" - "github.com/vulcanize/vulcanizedb/pkg/test_helpers" "github.com/vulcanize/vulcanizedb/examples/erc20_test_helpers" "math/big" "strconv" + "github.com/vulcanize/vulcanizedb/test_config" ) func setLastBlockOnChain(blockChain *fakes.MockBlockChain, blockNumber int64) { @@ -48,7 +48,9 @@ var _ = Describe("Everyblock transformers", func() { blockChain = fakes.NewMockBlockChain() blockNumber = erc20_watcher.DaiConfig.FirstBlock lastBlockNumber := blockNumber + 1 - db = test_helpers.CreateNewDatabase() + node := test_config.NewTestNode() + db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) setLastBlockOnChain(blockChain, lastBlockNumber) blockRepository := repositories.NewBlockRepository(db) diff --git a/examples/erc20_watcher/every_block/repository_test.go b/examples/erc20_watcher/every_block/repository_test.go index da50fc29..ebba3dd7 100644 --- a/examples/erc20_watcher/every_block/repository_test.go +++ b/examples/erc20_watcher/every_block/repository_test.go @@ -24,7 +24,6 @@ import ( "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres/repositories" "github.com/vulcanize/vulcanizedb/test_config" "math/rand" - "github.com/vulcanize/vulcanizedb/pkg/test_helpers" "github.com/vulcanize/vulcanizedb/examples/erc20_test_helpers" ) @@ -37,14 +36,13 @@ var _ = Describe("ERC20 Token Repository", func() { testAddress := "abc" BeforeEach(func() { - db = test_helpers.CreateNewDatabase() + node := test_config.NewTestNode() + db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) repository = every_block.TokenSupplyRepository{DB: db} - _, err := db.Query(`DELETE FROM token_supply`) - Expect(err).NotTo(HaveOccurred()) - blockRepository = *repositories.NewBlockRepository(db) blockNumber = rand.Int63() - blockId = test_helpers.CreateBlock(blockNumber, blockRepository) + blockId = test_config.NewTestBlock(blockNumber, blockRepository) }) Describe("Create", func() { @@ -103,7 +101,7 @@ var _ = Describe("ERC20 Token Repository", func() { //create another block with the same number on node2 node2BlockRepo = repositories.NewBlockRepository(node2DB) - node2BlockId = test_helpers.CreateBlock(blockNumber, *node2BlockRepo) + node2BlockId = test_config.NewTestBlock(blockNumber, *node2BlockRepo) tokenSupply = supplyModel(blockNumber, "abc", "100") node2TokenSupplyRepo = every_block.TokenSupplyRepository{DB: node2DB} @@ -140,7 +138,7 @@ var _ = Describe("ERC20 Token Repository", func() { createTokenSupplyFor(repository, blockNumber) newBlockNumber := blockNumber + 1 - test_helpers.CreateBlock(newBlockNumber, blockRepository) + test_config.NewTestBlock(newBlockNumber, blockRepository) blocks, err := repository.MissingBlocks(blockNumber, newBlockNumber) Expect(blocks).To(ConsistOf(newBlockNumber)) @@ -149,7 +147,7 @@ var _ = Describe("ERC20 Token Repository", func() { It("only returns blocks within the given range", func() { newBlockNumber := blockNumber + 1 - test_helpers.CreateBlock(newBlockNumber, blockRepository) + test_config.NewTestBlock(newBlockNumber, blockRepository) blocks, err := repository.MissingBlocks(blockNumber, blockNumber) Expect(blocks).NotTo(ConsistOf(newBlockNumber)) @@ -204,5 +202,5 @@ func createDbForAnotherNode() *postgres.DB { ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", } - return test_config.NewTestDBWithoutDeletingRecords(anotherNode) + return test_config.NewTestDB(anotherNode) } diff --git a/libraries/maker/every_block/every_block_suite_test.go b/libraries/maker/every_block/every_block_suite_test.go deleted file mode 100644 index 21367c6c..00000000 --- a/libraries/maker/every_block/every_block_suite_test.go +++ /dev/null @@ -1,19 +0,0 @@ -package every_block_test - -import ( - "io/ioutil" - "log" - "testing" - - . "github.com/onsi/ginkgo" - . "github.com/onsi/gomega" -) - -func TestEveryBlock(t *testing.T) { - RegisterFailHandler(Fail) - RunSpecs(t, "EveryBlock Suite") -} - -var _ = BeforeSuite(func() { - log.SetOutput(ioutil.Discard) -}) diff --git a/pkg/datastore/postgres/postgres_test.go b/pkg/datastore/postgres/postgres_test.go index 7c4555a7..9ed26252 100644 --- a/pkg/datastore/postgres/postgres_test.go +++ b/pkg/datastore/postgres/postgres_test.go @@ -76,6 +76,7 @@ var _ = Describe("Postgres DB", func() { } node := core.Node{GenesisBlock: "GENESIS", NetworkID: 1, ID: "x123", ClientName: "geth"} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) blocksRepository := repositories.NewBlockRepository(db) _, err1 := blocksRepository.CreateOrUpdateBlock(badBlock) diff --git a/pkg/datastore/postgres/repositories/block_repository_test.go b/pkg/datastore/postgres/repositories/block_repository_test.go index 93ffe650..4a7bd636 100644 --- a/pkg/datastore/postgres/repositories/block_repository_test.go +++ b/pkg/datastore/postgres/repositories/block_repository_test.go @@ -26,6 +26,7 @@ var _ = Describe("Saving blocks", func() { ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", } db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) blockRepository = repositories.NewBlockRepository(db) }) @@ -42,6 +43,7 @@ var _ = Describe("Saving blocks", func() { ClientName: "Geth", } dbTwo := test_config.NewTestDB(nodeTwo) + test_config.CleanTestDB(dbTwo) repositoryTwo := repositories.NewBlockRepository(dbTwo) _, err := repositoryTwo.GetBlock(123) @@ -168,6 +170,7 @@ var _ = Describe("Saving blocks", func() { NetworkID: 1, } dbTwo := test_config.NewTestDB(nodeTwo) + test_config.CleanTestDB(dbTwo) repositoryTwo := repositories.NewBlockRepository(dbTwo) blockRepository.CreateOrUpdateBlock(blockOne) diff --git a/pkg/datastore/postgres/repositories/contract_repository_test.go b/pkg/datastore/postgres/repositories/contract_repository_test.go index 0ecaf8bf..f08ce105 100644 --- a/pkg/datastore/postgres/repositories/contract_repository_test.go +++ b/pkg/datastore/postgres/repositories/contract_repository_test.go @@ -25,6 +25,7 @@ var _ = Describe("Creating contracts", func() { ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", } db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) contractRepository = repositories.ContractRepository{DB: db} }) diff --git a/pkg/datastore/postgres/repositories/header_repository_test.go b/pkg/datastore/postgres/repositories/header_repository_test.go index 49a74af3..e2bc17ab 100644 --- a/pkg/datastore/postgres/repositories/header_repository_test.go +++ b/pkg/datastore/postgres/repositories/header_repository_test.go @@ -17,6 +17,7 @@ var _ = Describe("Block header repository", func() { It("adds a header", func() { node := core.Node{} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) header := core.Header{ BlockNumber: 100, @@ -38,6 +39,7 @@ var _ = Describe("Block header repository", func() { It("adds node data to header", func() { node := core.Node{ID: "EthNodeFingerprint"} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) header := core.Header{BlockNumber: 100} @@ -57,6 +59,7 @@ var _ = Describe("Block header repository", func() { It("does not duplicate headers", func() { node := core.Node{} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) header := core.Header{ BlockNumber: 100, @@ -79,6 +82,7 @@ var _ = Describe("Block header repository", func() { It("replaces header if hash is different", func() { node := core.Node{} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) header := core.Header{ BlockNumber: 100, @@ -106,6 +110,7 @@ var _ = Describe("Block header repository", func() { It("does not replace header if node fingerprint is different", func() { node := core.Node{ID: "Fingerprint"} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) header := core.Header{ BlockNumber: 100, @@ -176,6 +181,7 @@ var _ = Describe("Block header repository", func() { It("returns header if it exists", func() { node := core.Node{} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) header := core.Header{ BlockNumber: 100, @@ -194,6 +200,7 @@ var _ = Describe("Block header repository", func() { It("does not return header for a different node fingerprint", func() { node := core.Node{} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) header := core.Header{ BlockNumber: 100, @@ -218,6 +225,7 @@ var _ = Describe("Block header repository", func() { It("returns block numbers for headers not in the database", func() { node := core.Node{} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) repo.CreateOrUpdateHeader(core.Header{BlockNumber: 1}) repo.CreateOrUpdateHeader(core.Header{BlockNumber: 3}) @@ -231,6 +239,7 @@ var _ = Describe("Block header repository", func() { It("does not count headers created by a different node fingerprint", func() { node := core.Node{ID: "NodeFingerprint"} db := test_config.NewTestDB(node) + test_config.CleanTestDB(db) repo := repositories.NewHeaderRepository(db) repo.CreateOrUpdateHeader(core.Header{BlockNumber: 1}) repo.CreateOrUpdateHeader(core.Header{BlockNumber: 3}) diff --git a/pkg/datastore/postgres/repositories/log_filter_repository_test.go b/pkg/datastore/postgres/repositories/log_filter_repository_test.go index f7aac44b..d19ffe18 100644 --- a/pkg/datastore/postgres/repositories/log_filter_repository_test.go +++ b/pkg/datastore/postgres/repositories/log_filter_repository_test.go @@ -23,6 +23,7 @@ var _ = Describe("Log Filters Repository", func() { ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", } db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) filterRepository = repositories.FilterRepository{DB: db} }) diff --git a/pkg/datastore/postgres/repositories/logs_repository_test.go b/pkg/datastore/postgres/repositories/logs_repository_test.go index 072f49bc..49621246 100644 --- a/pkg/datastore/postgres/repositories/logs_repository_test.go +++ b/pkg/datastore/postgres/repositories/logs_repository_test.go @@ -28,6 +28,7 @@ var _ = Describe("Logs Repository", func() { ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", } db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) blockRepository = repositories.NewBlockRepository(db) logsRepository = repositories.LogRepository{DB: db} receiptRepository = repositories.ReceiptRepository{DB: db} diff --git a/pkg/datastore/postgres/repositories/receipts_repository_test.go b/pkg/datastore/postgres/repositories/receipts_repository_test.go index 2ba46e05..07917b15 100644 --- a/pkg/datastore/postgres/repositories/receipts_repository_test.go +++ b/pkg/datastore/postgres/repositories/receipts_repository_test.go @@ -24,6 +24,7 @@ var _ = Describe("Receipts Repository", func() { ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", } db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) blockRepository = repositories.NewBlockRepository(db) logRepository = repositories.LogRepository{DB: db} receiptRepository = repositories.ReceiptRepository{DB: db} diff --git a/pkg/datastore/postgres/repositories/watched_events_repository_test.go b/pkg/datastore/postgres/repositories/watched_events_repository_test.go index 0192dc31..0b224bf2 100644 --- a/pkg/datastore/postgres/repositories/watched_events_repository_test.go +++ b/pkg/datastore/postgres/repositories/watched_events_repository_test.go @@ -21,6 +21,7 @@ var _ = Describe("Watched Events Repository", func() { BeforeEach(func() { db = test_config.NewTestDB(core.Node{}) + test_config.CleanTestDB(db) blocksRepository = repositories.NewBlockRepository(db) filterRepository = repositories.FilterRepository{DB: db} logRepository = repositories.LogRepository{DB: db} diff --git a/pkg/test_helpers/database.go b/pkg/test_helpers/database.go deleted file mode 100644 index a3671b92..00000000 --- a/pkg/test_helpers/database.go +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2018 Vulcanize -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package test_helpers - -import ( - . "github.com/onsi/gomega" - "github.com/vulcanize/vulcanizedb/pkg/core" - "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres" - "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres/repositories" - "github.com/vulcanize/vulcanizedb/test_config" -) - -func CreateNewDatabase() *postgres.DB { - var node core.Node - node = core.Node{ - GenesisBlock: "GENESIS", - NetworkID: 1, - ID: "b6f90c0fdd8ec9607aed8ee45c69322e47b7063f0bfb7a29c8ecafab24d0a22d24dd2329b5ee6ed4125a03cb14e57fd584e67f9e53e6c631055cbbd82f080845", - ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", - } - db := test_config.NewTestDB(node) - - _, err := db.Exec(`DELETE FROM logs`) - Expect(err).NotTo(HaveOccurred()) - - return db -} - -func CreateBlock(blockNumber int64, repository repositories.BlockRepository) (blockId int64) { - blockId, err := repository.CreateOrUpdateBlock(core.Block{Number: blockNumber}) - Expect(err).NotTo(HaveOccurred()) - - return blockId -} diff --git a/libraries/maker/every_block/config.go b/pkg/transformers/flip_kick/config.go similarity index 98% rename from libraries/maker/every_block/config.go rename to pkg/transformers/flip_kick/config.go index 93010f08..9dbfbd70 100644 --- a/libraries/maker/every_block/config.go +++ b/pkg/transformers/flip_kick/config.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick type TransformerConfig struct { ContractAddress string diff --git a/libraries/maker/every_block/constants.go b/pkg/transformers/flip_kick/constants.go similarity index 99% rename from libraries/maker/every_block/constants.go rename to pkg/transformers/flip_kick/constants.go index 38d3a962..4946c963 100644 --- a/libraries/maker/every_block/constants.go +++ b/pkg/transformers/flip_kick/constants.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick var FlipperABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"era\",\"outputs\":[{\"name\":\"\",\"type\":\"uint48\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"lad\",\"type\":\"address\"},{\"name\":\"gal\",\"type\":\"address\"},{\"name\":\"tab\",\"type\":\"uint256\"},{\"name\":\"lot\",\"type\":\"uint256\"},{\"name\":\"bid\",\"type\":\"uint256\"}],\"name\":\"kick\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"vat\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"bids\",\"outputs\":[{\"name\":\"bid\",\"type\":\"uint256\"},{\"name\":\"lot\",\"type\":\"uint256\"},{\"name\":\"guy\",\"type\":\"address\"},{\"name\":\"tic\",\"type\":\"uint48\"},{\"name\":\"end\",\"type\":\"uint48\"},{\"name\":\"lad\",\"type\":\"address\"},{\"name\":\"gal\",\"type\":\"address\"},{\"name\":\"tab\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"uint256\"},{\"name\":\"lot\",\"type\":\"uint256\"},{\"name\":\"bid\",\"type\":\"uint256\"}],\"name\":\"tend\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ttl\",\"outputs\":[{\"name\":\"\",\"type\":\"uint48\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"uint256\"},{\"name\":\"lot\",\"type\":\"uint256\"},{\"name\":\"bid\",\"type\":\"uint256\"}],\"name\":\"dent\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"beg\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ilk\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"deal\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"tau\",\"outputs\":[{\"name\":\"\",\"type\":\"uint48\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kicks\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"tick\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"vat_\",\"type\":\"address\"},{\"name\":\"ilk_\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Move\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"src\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"act\",\"type\":\"bytes32\"}],\"name\":\"Push\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"ilk\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"what\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"risk\",\"type\":\"int256\"}],\"name\":\"FileIlk\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"what\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"fuss\",\"type\":\"address\"}],\"name\":\"FileFuss\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"what\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"risk\",\"type\":\"int256\"}],\"name\":\"FileInt\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"what\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"risk\",\"type\":\"uint256\"}],\"name\":\"FileUint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"ilk\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"lad\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"gem\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"ink\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"art\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"}],\"name\":\"Frob\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"ilk\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"lad\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"gem\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"ink\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"art\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"},{\"indexed\":false,\"name\":\"tab\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"flip\",\"type\":\"uint256\"}],\"name\":\"Bite\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"ilk\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"lad\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"wad\",\"type\":\"int256\"},{\"indexed\":false,\"name\":\"gem\",\"type\":\"int256\"}],\"name\":\"Slip\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"mom\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"vat\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"ilk\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"lot\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"bid\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"gal\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"end\",\"type\":\"uint48\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"},{\"indexed\":false,\"name\":\"lad\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tab\",\"type\":\"uint256\"}],\"name\":\"FlipKick\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"mom\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"pie\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"gem\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"lot\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"bid\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"vow\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"end\",\"type\":\"uint48\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"}],\"name\":\"FlopKick\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"mom\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"pie\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"gem\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"lot\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"bid\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"gal\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"end\",\"type\":\"uint48\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"}],\"name\":\"FlapKick\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"lot\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"bid\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tic\",\"type\":\"uint48\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"}],\"name\":\"Tend\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"lot\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"bid\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"tic\",\"type\":\"uint48\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"}],\"name\":\"Dent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"era\",\"type\":\"uint48\"}],\"name\":\"Deal\",\"type\":\"event\"}]" var FlipKickSignature = "0xc2d733c352a325d6ecf23d1cf0a189dbcc236b0636388b8c5e6953c061d7f0b3" diff --git a/libraries/maker/every_block/converter.go b/pkg/transformers/flip_kick/converter.go similarity index 97% rename from libraries/maker/every_block/converter.go rename to pkg/transformers/flip_kick/converter.go index 68e4d5f1..c5ca60dc 100644 --- a/libraries/maker/every_block/converter.go +++ b/pkg/transformers/flip_kick/converter.go @@ -12,17 +12,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick import ( + "errors" + "math/big" + "strings" + "time" + "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" + "github.com/vulcanize/vulcanizedb/pkg/geth" - "strings" - "time" - "math/big" - "errors" ) type Converter interface { @@ -69,7 +71,7 @@ func (FlipKickConverter) ToModel(flipKick FlipKickEntity) (FlipKickModel, error) end := time.Unix(endValue, 0) eraValue := convertNilToZeroTimeValue(flipKick.Era) era := time.Unix(eraValue, 0) - lad := strings.ToLower(flipKick.Lad.String()) + lad := strings.ToLower(flipKick.Lad.String()) tab := convertNilToEmptyString(flipKick.Tab.String()) return FlipKickModel{ diff --git a/libraries/maker/every_block/converter_test.go b/pkg/transformers/flip_kick/converter_test.go similarity index 86% rename from libraries/maker/every_block/converter_test.go rename to pkg/transformers/flip_kick/converter_test.go index 75bcf347..482fbb03 100644 --- a/libraries/maker/every_block/converter_test.go +++ b/pkg/transformers/flip_kick/converter_test.go @@ -12,24 +12,25 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block_test +package flip_kick_test import ( + "math/big" + "time" + + "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core/types" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" - "github.com/vulcanize/vulcanizedb/libraries/maker/test_data" - "time" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/types" - "math/big" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" + "github.com/vulcanize/vulcanizedb/pkg/transformers/test_data" ) var _ = Describe("FlipKickEntity Converter", func() { It("converts an Eth Log to and Entity", func() { - converter := every_block.FlipKickConverter{} - entity, err := converter.ToEntity(test_data.TemporaryFlipAddress, every_block.FlipperABI, test_data.EthFlipKickLog) + converter := flip_kick.FlipKickConverter{} + entity, err := converter.ToEntity(test_data.TemporaryFlipAddress, flip_kick.FlipperABI, test_data.EthFlipKickLog) Expect(err).NotTo(HaveOccurred()) Expect(entity.Id).To(Equal(test_data.FlipKickEntity.Id)) @@ -47,14 +48,14 @@ var _ = Describe("FlipKickEntity Converter", func() { }) It("returns an error if converting log to entity fails", func() { - converter := every_block.FlipKickConverter{} + converter := flip_kick.FlipKickConverter{} _, err := converter.ToEntity(test_data.TemporaryFlipAddress, "error abi", test_data.EthFlipKickLog) Expect(err).To(HaveOccurred()) }) It("converts and Entity to a Model", func() { - converter := every_block.FlipKickConverter{} + converter := flip_kick.FlipKickConverter{} model, err := converter.ToModel(test_data.FlipKickEntity) Expect(err).NotTo(HaveOccurred()) Expect(model).To(Equal(test_data.FlipKickModel)) @@ -65,8 +66,8 @@ var _ = Describe("FlipKickEntity Converter", func() { emptyByteArrayHex := "0x0000000000000000000000000000000000000000000000000000000000000000" emptyString := "" emptyTime := time.Unix(0, 0) - converter := every_block.FlipKickConverter{} - emptyEntity := every_block.FlipKickEntity{ + converter := flip_kick.FlipKickConverter{} + emptyEntity := flip_kick.FlipKickEntity{ Id: big.NewInt(1), Mom: common.Address{}, Vat: common.Address{}, @@ -99,8 +100,8 @@ var _ = Describe("FlipKickEntity Converter", func() { }) It("returns an error of the flip kick event id is nil", func() { - converter := every_block.FlipKickConverter{} - emptyEntity := every_block.FlipKickEntity{} + converter := flip_kick.FlipKickConverter{} + emptyEntity := flip_kick.FlipKickEntity{} _, err := converter.ToModel(emptyEntity) Expect(err).To(HaveOccurred()) diff --git a/libraries/maker/every_block/entity.go b/pkg/transformers/flip_kick/entity.go similarity index 97% rename from libraries/maker/every_block/entity.go rename to pkg/transformers/flip_kick/entity.go index 485073b8..2cf3cf30 100644 --- a/libraries/maker/every_block/entity.go +++ b/pkg/transformers/flip_kick/entity.go @@ -12,12 +12,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick import ( + "math/big" + "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "math/big" ) type FlipKickEntity struct { diff --git a/pkg/transformers/flip_kick/every_block_suite_test.go b/pkg/transformers/flip_kick/every_block_suite_test.go new file mode 100644 index 00000000..fca96ee8 --- /dev/null +++ b/pkg/transformers/flip_kick/every_block_suite_test.go @@ -0,0 +1,33 @@ +// Copyright 2018 Vulcanize +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package flip_kick + +import ( + "io/ioutil" + "log" + "testing" + + . "github.com/onsi/ginkgo" + . "github.com/onsi/gomega" +) + +func TestEveryBlock(t *testing.T) { + RegisterFailHandler(Fail) + RunSpecs(t, "EveryBlock Suite") +} + +var _ = BeforeSuite(func() { + log.SetOutput(ioutil.Discard) +}) diff --git a/libraries/maker/every_block/fetcher.go b/pkg/transformers/flip_kick/fetcher.go similarity index 98% rename from libraries/maker/every_block/fetcher.go rename to pkg/transformers/flip_kick/fetcher.go index 21058557..0768ad4f 100644 --- a/libraries/maker/every_block/fetcher.go +++ b/pkg/transformers/flip_kick/fetcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick import ( "math/big" diff --git a/libraries/maker/every_block/fetcher_test.go b/pkg/transformers/flip_kick/fetcher_test.go similarity index 90% rename from libraries/maker/every_block/fetcher_test.go rename to pkg/transformers/flip_kick/fetcher_test.go index 55f32263..cc409fea 100644 --- a/libraries/maker/every_block/fetcher_test.go +++ b/pkg/transformers/flip_kick/fetcher_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block_test +package flip_kick_test import ( "math/big" @@ -22,18 +22,18 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" "github.com/vulcanize/vulcanizedb/pkg/fakes" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" ) var _ = Describe("Fetcher", func() { Describe("FetchLogs", func() { var blockChain *fakes.MockBlockChain - var fetcher every_block.Fetcher + var fetcher flip_kick.Fetcher BeforeEach(func() { blockChain = fakes.NewMockBlockChain() - fetcher = every_block.Fetcher{Blockchain: blockChain} + fetcher = flip_kick.Fetcher{Blockchain: blockChain} }) It("fetches logs based on the given query", func() { diff --git a/libraries/maker/every_block/integration_test.go b/pkg/transformers/flip_kick/integration_test.go similarity index 88% rename from libraries/maker/every_block/integration_test.go rename to pkg/transformers/flip_kick/integration_test.go index 5ac55921..68d7afb6 100644 --- a/libraries/maker/every_block/integration_test.go +++ b/pkg/transformers/flip_kick/integration_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block_test +package flip_kick_test import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" @@ -21,19 +21,18 @@ import ( "github.com/ethereum/go-ethereum/rpc" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" - "github.com/vulcanize/vulcanizedb/libraries/maker/test_data" "github.com/vulcanize/vulcanizedb/pkg/geth" "github.com/vulcanize/vulcanizedb/pkg/geth/client" rpc2 "github.com/vulcanize/vulcanizedb/pkg/geth/converters/rpc" "github.com/vulcanize/vulcanizedb/pkg/geth/node" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" + "github.com/vulcanize/vulcanizedb/pkg/transformers/test_data" + "github.com/vulcanize/vulcanizedb/test_config" ) var _ = Describe("Integration tests", func() { - It("Fetches FlipKickEntity event logs from a local test chain", func() { - ipcPath := "http://127.0.0.1:7545" + ipcPath := test_config.TestClient.IPCPath rawRpcClient, err := rpc.Dial(ipcPath) Expect(err).NotTo(HaveOccurred()) @@ -44,8 +43,8 @@ var _ = Describe("Integration tests", func() { realNode := node.MakeNode(rpcClient) transactionConverter := rpc2.NewRpcTransactionConverter(ethClient) realBlockChain := geth.NewBlockChain(blockChainClient, realNode, transactionConverter) - realFetcher := every_block.NewFetcher(realBlockChain) - topic0 := common.HexToHash(every_block.FlipKickSignature) + realFetcher := flip_kick.NewFetcher(realBlockChain) + topic0 := common.HexToHash(flip_kick.FlipKickSignature) topics := [][]common.Hash{{topic0}} result, err := realFetcher.FetchLogs(test_data.TemporaryFlipAddress, topics, int64(10)) @@ -62,11 +61,11 @@ var _ = Describe("Integration tests", func() { It("unpacks an event log", func() { address := common.HexToAddress(test_data.TemporaryFlipAddress) - abi, err := geth.ParseAbi(every_block.FlipperABI) + abi, err := geth.ParseAbi(flip_kick.FlipperABI) Expect(err).NotTo(HaveOccurred()) contract := bind.NewBoundContract(address, abi, nil, nil, nil) - entity := &every_block.FlipKickEntity{} + entity := &flip_kick.FlipKickEntity{} var eventLog = test_data.EthFlipKickLog diff --git a/libraries/maker/every_block/model.go b/pkg/transformers/flip_kick/model.go similarity index 97% rename from libraries/maker/every_block/model.go rename to pkg/transformers/flip_kick/model.go index 5cf8bdbd..389e31fe 100644 --- a/libraries/maker/every_block/model.go +++ b/pkg/transformers/flip_kick/model.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick import "time" diff --git a/libraries/maker/every_block/repository.go b/pkg/transformers/flip_kick/repository.go similarity index 99% rename from libraries/maker/every_block/repository.go rename to pkg/transformers/flip_kick/repository.go index e22ef6f5..9fcd6fd6 100644 --- a/libraries/maker/every_block/repository.go +++ b/pkg/transformers/flip_kick/repository.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick import ( "fmt" diff --git a/libraries/maker/every_block/repository_test.go b/pkg/transformers/flip_kick/repository_test.go similarity index 91% rename from libraries/maker/every_block/repository_test.go rename to pkg/transformers/flip_kick/repository_test.go index e7e77118..3a799033 100644 --- a/libraries/maker/every_block/repository_test.go +++ b/pkg/transformers/flip_kick/repository_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block_test +package flip_kick_test import ( "math/rand" @@ -21,25 +21,26 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" - "github.com/vulcanize/vulcanizedb/libraries/maker/test_data" "github.com/vulcanize/vulcanizedb/pkg/core" "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres" "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres/repositories" - "github.com/vulcanize/vulcanizedb/pkg/test_helpers" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" + "github.com/vulcanize/vulcanizedb/pkg/transformers/test_data" "github.com/vulcanize/vulcanizedb/test_config" ) var _ = Describe("FlipKick Repository", func() { var db *postgres.DB - var flipKickRepository every_block.FlipKickRepository + var flipKickRepository flip_kick.FlipKickRepository var headerId int64 var blockNumber int64 var flipKick = test_data.FlipKickModel BeforeEach(func() { - db = test_helpers.CreateNewDatabase() - flipKickRepository = every_block.FlipKickRepository{DB: db} + node := test_config.NewTestNode() + db = test_config.NewTestDB(node) + test_config.CleanTestDB(db) + flipKickRepository = flip_kick.FlipKickRepository{DB: db} blockNumber = rand.Int63() headerId = createHeader(db, blockNumber) @@ -102,7 +103,7 @@ var _ = Describe("FlipKick Repository", func() { Describe("When there are multiple nodes", func() { var db2 *postgres.DB - var flipKickRepository2 every_block.FlipKickRepository + var flipKickRepository2 flip_kick.FlipKickRepository var headerId2 int64 BeforeEach(func() { @@ -113,8 +114,8 @@ var _ = Describe("FlipKick Repository", func() { ID: "node2", ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", } - db2 = test_config.NewTestDBWithoutDeletingRecords(node2) - flipKickRepository2 = every_block.FlipKickRepository{DB: db2} + db2 = test_config.NewTestDB(node2) + flipKickRepository2 = flip_kick.FlipKickRepository{DB: db2} headerId2 = createHeader(db2, blockNumber) _, err := db2.Exec(`DELETE from maker.flip_kick;`) diff --git a/libraries/maker/every_block/transformer.go b/pkg/transformers/flip_kick/transformer.go similarity index 89% rename from libraries/maker/every_block/transformer.go rename to pkg/transformers/flip_kick/transformer.go index e98ce456..fbf4f46e 100644 --- a/libraries/maker/every_block/transformer.go +++ b/pkg/transformers/flip_kick/transformer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package flip_kick import ( "errors" @@ -55,11 +55,11 @@ func (fkt *FlipKickTransformer) SetConfig(config TransformerConfig) { } const ( - FetcherError = "Error fetching FlipKick log events for block number %d: %s" + FetcherError = "Error fetching FlipKick log events for block number %d: %s" LogToEntityError = "Error converting eth log to FlipKick entity for block number %d: %s" - EntityToModelError = "Error converting eth log to FlipKick entity for block number %d: %s" - RepositoryError = "Error creating flip_kick record for block number %d: %s" - TransformerError = "There has been %d error(s) transforming FlipKick event logs, see the logs for more details." + EntityToModelError = "Error converting eth log to FlipKick entity for block number %d: %s" + RepositoryError = "Error creating flip_kick record for block number %d: %s" + TransformerError = "There has been %d error(s) transforming FlipKick event logs, see the logs for more details." ) type transformerError struct { diff --git a/libraries/maker/every_block/transformer_test.go b/pkg/transformers/flip_kick/transformer_test.go similarity index 84% rename from libraries/maker/every_block/transformer_test.go rename to pkg/transformers/flip_kick/transformer_test.go index d7e75360..5d01ebfc 100644 --- a/libraries/maker/every_block/transformer_test.go +++ b/pkg/transformers/flip_kick/transformer_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block_test +package flip_kick_test import ( "math/rand" @@ -22,18 +22,18 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" - "github.com/vulcanize/vulcanizedb/libraries/maker/test_data" "github.com/vulcanize/vulcanizedb/pkg/core" "github.com/vulcanize/vulcanizedb/pkg/fakes" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" + "github.com/vulcanize/vulcanizedb/pkg/transformers/test_data" ) var _ = Describe("FlipKick Transformer", func() { - var transformer every_block.FlipKickTransformer + var transformer flip_kick.FlipKickTransformer var fetcher test_data.MockLogFetcher var converter test_data.MockFlipKickConverter var repository test_data.MockFlipKickRepository - var testConfig every_block.TransformerConfig + var testConfig flip_kick.TransformerConfig var blockNumber int64 var headerId int64 var headers []core.Header @@ -43,17 +43,17 @@ var _ = Describe("FlipKick Transformer", func() { fetcher = test_data.MockLogFetcher{} converter = test_data.MockFlipKickConverter{} repository = test_data.MockFlipKickRepository{} - transformer = every_block.FlipKickTransformer{ + transformer = flip_kick.FlipKickTransformer{ Fetcher: &fetcher, Converter: &converter, Repository: &repository, } startingBlockNumber := rand.Int63() - testConfig = every_block.TransformerConfig{ + testConfig = flip_kick.TransformerConfig{ ContractAddress: "0x12345", ContractAbi: "test abi", - Topics: []string{every_block.FlipKickSignature}, + Topics: []string{flip_kick.FlipKickSignature}, StartingBlockNumber: startingBlockNumber, EndingBlockNumber: startingBlockNumber + 5, } @@ -75,7 +75,7 @@ var _ = Describe("FlipKick Transformer", func() { }) It("fetches logs with the configured contract and topic(s) for each block", func() { - expectedTopics := [][]common.Hash{{common.HexToHash(every_block.FlipKickSignature)}} + expectedTopics := [][]common.Hash{{common.HexToHash(flip_kick.FlipKickSignature)}} err := transformer.Execute() Expect(err).NotTo(HaveOccurred()) @@ -100,7 +100,7 @@ var _ = Describe("FlipKick Transformer", func() { Expect(converter.ConverterContract).To(Equal(testConfig.ContractAddress)) Expect(converter.ConverterAbi).To(Equal(testConfig.ContractAbi)) Expect(converter.LogsToConvert).To(Equal(logs)) - Expect(converter.EntitiesToConvert).To(Equal([]every_block.FlipKickEntity{test_data.FlipKickEntity})) + Expect(converter.EntitiesToConvert).To(Equal([]flip_kick.FlipKickEntity{test_data.FlipKickEntity})) }) It("returns an error if converting the geth log fails", func() { @@ -115,7 +115,7 @@ var _ = Describe("FlipKick Transformer", func() { Expect(err).NotTo(HaveOccurred()) Expect(repository.HeaderIds).To(Equal([]int64{headerId})) - Expect(repository.FlipKicksCreated).To(Equal([]every_block.FlipKickModel{test_data.FlipKickModel})) + Expect(repository.FlipKicksCreated).To(Equal([]flip_kick.FlipKickModel{test_data.FlipKickModel})) }) It("returns an error if persisting a record fails", func() { diff --git a/libraries/maker/start_test_chain.sh b/pkg/transformers/start_test_chain.sh similarity index 83% rename from libraries/maker/start_test_chain.sh rename to pkg/transformers/start_test_chain.sh index c9004043..cd62fab5 100755 --- a/libraries/maker/start_test_chain.sh +++ b/pkg/transformers/start_test_chain.sh @@ -2,7 +2,7 @@ MNEMONIC_PHRASE="whisper ordinary mystery awesome wood fox auction february blind volcano spare soft" PORT=7545 -DATABASE_PATH=libraries/maker/test_data/test_chain/ +DATABASE_PATH=pkg/transformers/test_data/test_chain/ echo Starting ganache chain on port $PORT... ganache-cli --port $PORT \ diff --git a/libraries/maker/stop_test_chain.sh b/pkg/transformers/stop_test_chain.sh similarity index 100% rename from libraries/maker/stop_test_chain.sh rename to pkg/transformers/stop_test_chain.sh diff --git a/libraries/maker/test_data/flip_kick.go b/pkg/transformers/test_data/flip_kick.go similarity index 93% rename from libraries/maker/test_data/flip_kick.go rename to pkg/transformers/test_data/flip_kick.go index 3de463fc..974d0064 100644 --- a/libraries/maker/test_data/flip_kick.go +++ b/pkg/transformers/test_data/flip_kick.go @@ -20,7 +20,7 @@ import ( "github.com/ethereum/go-ethereum/core/types" "math/big" - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" "time" ) @@ -51,7 +51,7 @@ var tab, _ = new(big.Int).SetString(tabString, 10) var EthFlipKickLog = types.Log{ Address: common.HexToAddress(TemporaryFlipAddress), - Topics: []common.Hash{common.HexToHash(every_block.FlipKickSignature)}, + Topics: []common.Hash{common.HexToHash(flip_kick.FlipKickSignature)}, Data: hexutil.MustDecode(TemporaryFlipKickData), BlockNumber: uint64(TempBlockNumber), TxHash: common.HexToHash(TemporaryFlipKickTransaction), @@ -61,7 +61,7 @@ var EthFlipKickLog = types.Log{ Removed: false, } -var FlipKickEntity = every_block.FlipKickEntity{ +var FlipKickEntity = flip_kick.FlipKickEntity{ Id: id, Mom: common.HexToAddress(mom), Vat: common.HexToAddress(vat), @@ -76,7 +76,7 @@ var FlipKickEntity = every_block.FlipKickEntity{ Tab: tab, } -var FlipKickModel = every_block.FlipKickModel{ +var FlipKickModel = flip_kick.FlipKickModel{ Id: idString, Mom: mom, Vat: vat, @@ -94,5 +94,5 @@ var FlipKickModel = every_block.FlipKickModel{ type FlipKickDBRow struct { DbID int64 `db:"db_id"` HeaderId int64 `db:"header_id"` - every_block.FlipKickModel + flip_kick.FlipKickModel } diff --git a/libraries/maker/test_data/mocks.go b/pkg/transformers/test_data/mocks.go similarity index 88% rename from libraries/maker/test_data/mocks.go rename to pkg/transformers/test_data/mocks.go index a18d2e41..3ab2a451 100644 --- a/libraries/maker/test_data/mocks.go +++ b/pkg/transformers/test_data/mocks.go @@ -18,8 +18,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/vulcanize/vulcanizedb/libraries/maker/every_block" "github.com/vulcanize/vulcanizedb/pkg/core" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" ) type MockLogFetcher struct { @@ -50,18 +50,18 @@ type MockFlipKickConverter struct { ConverterContract string ConverterAbi string LogsToConvert []types.Log - EntitiesToConvert []every_block.FlipKickEntity + EntitiesToConvert []flip_kick.FlipKickEntity ConverterError error } -func (mfkc *MockFlipKickConverter) ToEntity(contractAddress string, contractAbi string, ethLog types.Log) (*every_block.FlipKickEntity, error) { +func (mfkc *MockFlipKickConverter) ToEntity(contractAddress string, contractAbi string, ethLog types.Log) (*flip_kick.FlipKickEntity, error) { mfkc.ConverterContract = contractAddress mfkc.ConverterAbi = contractAbi mfkc.LogsToConvert = append(mfkc.LogsToConvert, ethLog) return &FlipKickEntity, mfkc.ConverterError } -func (mfkc *MockFlipKickConverter) ToModel(flipKick every_block.FlipKickEntity) (every_block.FlipKickModel, error) { +func (mfkc *MockFlipKickConverter) ToModel(flipKick flip_kick.FlipKickEntity) (flip_kick.FlipKickModel, error) { mfkc.EntitiesToConvert = append(mfkc.EntitiesToConvert, flipKick) return FlipKickModel, nil } @@ -74,12 +74,12 @@ type MockFlipKickRepository struct { HeadersToReturn []core.Header StartingBlockNumber int64 EndingBlockNumber int64 - FlipKicksCreated []every_block.FlipKickModel + FlipKicksCreated []flip_kick.FlipKickModel CreateRecordError error MissingHeadersError error } -func (mfkr *MockFlipKickRepository) Create(headerId int64, flipKick every_block.FlipKickModel) error { +func (mfkr *MockFlipKickRepository) Create(headerId int64, flipKick flip_kick.FlipKickModel) error { mfkr.HeaderIds = append(mfkr.HeaderIds, headerId) mfkr.FlipKicksCreated = append(mfkr.FlipKicksCreated, flipKick) diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x2c3b96f821a6abe12061036d3f90e3a04f72eb3b06952a1b0d8916bff0103406 b/pkg/transformers/test_data/test_chain/!blockHashes!0x2c3b96f821a6abe12061036d3f90e3a04f72eb3b06952a1b0d8916bff0103406 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x2c3b96f821a6abe12061036d3f90e3a04f72eb3b06952a1b0d8916bff0103406 rename to pkg/transformers/test_data/test_chain/!blockHashes!0x2c3b96f821a6abe12061036d3f90e3a04f72eb3b06952a1b0d8916bff0103406 diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x3a1b9dd73229701cf992f80bc79ef5c00a9254054fa4afbcb1a619a6af48aa44 b/pkg/transformers/test_data/test_chain/!blockHashes!0x3a1b9dd73229701cf992f80bc79ef5c00a9254054fa4afbcb1a619a6af48aa44 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x3a1b9dd73229701cf992f80bc79ef5c00a9254054fa4afbcb1a619a6af48aa44 rename to pkg/transformers/test_data/test_chain/!blockHashes!0x3a1b9dd73229701cf992f80bc79ef5c00a9254054fa4afbcb1a619a6af48aa44 diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x4e22a16f36c4579b10db23891796b93ec0452791bf24426836837fc420bec9b7 b/pkg/transformers/test_data/test_chain/!blockHashes!0x4e22a16f36c4579b10db23891796b93ec0452791bf24426836837fc420bec9b7 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x4e22a16f36c4579b10db23891796b93ec0452791bf24426836837fc420bec9b7 rename to pkg/transformers/test_data/test_chain/!blockHashes!0x4e22a16f36c4579b10db23891796b93ec0452791bf24426836837fc420bec9b7 diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x59d43865d29b1ddf0baff73a78e06849c015249fd1884bd5a93e83d5be9c05dd b/pkg/transformers/test_data/test_chain/!blockHashes!0x59d43865d29b1ddf0baff73a78e06849c015249fd1884bd5a93e83d5be9c05dd similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x59d43865d29b1ddf0baff73a78e06849c015249fd1884bd5a93e83d5be9c05dd rename to pkg/transformers/test_data/test_chain/!blockHashes!0x59d43865d29b1ddf0baff73a78e06849c015249fd1884bd5a93e83d5be9c05dd diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x76443e96ab64087485c83dcaf3ed15ad5303b23393957f075901dab7cdefdef8 b/pkg/transformers/test_data/test_chain/!blockHashes!0x76443e96ab64087485c83dcaf3ed15ad5303b23393957f075901dab7cdefdef8 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x76443e96ab64087485c83dcaf3ed15ad5303b23393957f075901dab7cdefdef8 rename to pkg/transformers/test_data/test_chain/!blockHashes!0x76443e96ab64087485c83dcaf3ed15ad5303b23393957f075901dab7cdefdef8 diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x7e8df460b9fe6f779d308571d81629f57e66648907f6c97ba7712d15a553087a b/pkg/transformers/test_data/test_chain/!blockHashes!0x7e8df460b9fe6f779d308571d81629f57e66648907f6c97ba7712d15a553087a similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x7e8df460b9fe6f779d308571d81629f57e66648907f6c97ba7712d15a553087a rename to pkg/transformers/test_data/test_chain/!blockHashes!0x7e8df460b9fe6f779d308571d81629f57e66648907f6c97ba7712d15a553087a diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x82ddc58a8608bdac6cf29a962dabd34e0f3e1b8c76bf14459f8a1c9bdb1a9789 b/pkg/transformers/test_data/test_chain/!blockHashes!0x82ddc58a8608bdac6cf29a962dabd34e0f3e1b8c76bf14459f8a1c9bdb1a9789 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x82ddc58a8608bdac6cf29a962dabd34e0f3e1b8c76bf14459f8a1c9bdb1a9789 rename to pkg/transformers/test_data/test_chain/!blockHashes!0x82ddc58a8608bdac6cf29a962dabd34e0f3e1b8c76bf14459f8a1c9bdb1a9789 diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0x92df7e05e7e8c221851b23ef4ce61671ef7b2df3cbd1b5fb0b5b4735803484d2 b/pkg/transformers/test_data/test_chain/!blockHashes!0x92df7e05e7e8c221851b23ef4ce61671ef7b2df3cbd1b5fb0b5b4735803484d2 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0x92df7e05e7e8c221851b23ef4ce61671ef7b2df3cbd1b5fb0b5b4735803484d2 rename to pkg/transformers/test_data/test_chain/!blockHashes!0x92df7e05e7e8c221851b23ef4ce61671ef7b2df3cbd1b5fb0b5b4735803484d2 diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0xa991182133d4d762d84b3213e93f29caf30a8c68552f95830a934b886560762a b/pkg/transformers/test_data/test_chain/!blockHashes!0xa991182133d4d762d84b3213e93f29caf30a8c68552f95830a934b886560762a similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0xa991182133d4d762d84b3213e93f29caf30a8c68552f95830a934b886560762a rename to pkg/transformers/test_data/test_chain/!blockHashes!0xa991182133d4d762d84b3213e93f29caf30a8c68552f95830a934b886560762a diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0xe3f5f15620f4599a82eba709537542c5db00c2f03f1863646bc2633f80b1a549 b/pkg/transformers/test_data/test_chain/!blockHashes!0xe3f5f15620f4599a82eba709537542c5db00c2f03f1863646bc2633f80b1a549 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0xe3f5f15620f4599a82eba709537542c5db00c2f03f1863646bc2633f80b1a549 rename to pkg/transformers/test_data/test_chain/!blockHashes!0xe3f5f15620f4599a82eba709537542c5db00c2f03f1863646bc2633f80b1a549 diff --git a/libraries/maker/test_data/test_chain/!blockHashes!0xea660033df6296bce69b24ca2e91556f1d9c5f6c6e9c4ee5ea9877426b6fc893 b/pkg/transformers/test_data/test_chain/!blockHashes!0xea660033df6296bce69b24ca2e91556f1d9c5f6c6e9c4ee5ea9877426b6fc893 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockHashes!0xea660033df6296bce69b24ca2e91556f1d9c5f6c6e9c4ee5ea9877426b6fc893 rename to pkg/transformers/test_data/test_chain/!blockHashes!0xea660033df6296bce69b24ca2e91556f1d9c5f6c6e9c4ee5ea9877426b6fc893 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!0 b/pkg/transformers/test_data/test_chain/!blockLogs!0 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!0 rename to pkg/transformers/test_data/test_chain/!blockLogs!0 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!1 b/pkg/transformers/test_data/test_chain/!blockLogs!1 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!1 rename to pkg/transformers/test_data/test_chain/!blockLogs!1 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!10 b/pkg/transformers/test_data/test_chain/!blockLogs!10 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!10 rename to pkg/transformers/test_data/test_chain/!blockLogs!10 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!2 b/pkg/transformers/test_data/test_chain/!blockLogs!2 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!2 rename to pkg/transformers/test_data/test_chain/!blockLogs!2 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!3 b/pkg/transformers/test_data/test_chain/!blockLogs!3 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!3 rename to pkg/transformers/test_data/test_chain/!blockLogs!3 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!4 b/pkg/transformers/test_data/test_chain/!blockLogs!4 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!4 rename to pkg/transformers/test_data/test_chain/!blockLogs!4 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!5 b/pkg/transformers/test_data/test_chain/!blockLogs!5 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!5 rename to pkg/transformers/test_data/test_chain/!blockLogs!5 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!6 b/pkg/transformers/test_data/test_chain/!blockLogs!6 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!6 rename to pkg/transformers/test_data/test_chain/!blockLogs!6 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!7 b/pkg/transformers/test_data/test_chain/!blockLogs!7 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!7 rename to pkg/transformers/test_data/test_chain/!blockLogs!7 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!8 b/pkg/transformers/test_data/test_chain/!blockLogs!8 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!8 rename to pkg/transformers/test_data/test_chain/!blockLogs!8 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!9 b/pkg/transformers/test_data/test_chain/!blockLogs!9 similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!9 rename to pkg/transformers/test_data/test_chain/!blockLogs!9 diff --git a/libraries/maker/test_data/test_chain/!blockLogs!length b/pkg/transformers/test_data/test_chain/!blockLogs!length similarity index 100% rename from libraries/maker/test_data/test_chain/!blockLogs!length rename to pkg/transformers/test_data/test_chain/!blockLogs!length diff --git a/libraries/maker/test_data/test_chain/!blocks!0 b/pkg/transformers/test_data/test_chain/!blocks!0 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!0 rename to pkg/transformers/test_data/test_chain/!blocks!0 diff --git a/libraries/maker/test_data/test_chain/!blocks!1 b/pkg/transformers/test_data/test_chain/!blocks!1 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!1 rename to pkg/transformers/test_data/test_chain/!blocks!1 diff --git a/libraries/maker/test_data/test_chain/!blocks!10 b/pkg/transformers/test_data/test_chain/!blocks!10 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!10 rename to pkg/transformers/test_data/test_chain/!blocks!10 diff --git a/libraries/maker/test_data/test_chain/!blocks!2 b/pkg/transformers/test_data/test_chain/!blocks!2 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!2 rename to pkg/transformers/test_data/test_chain/!blocks!2 diff --git a/libraries/maker/test_data/test_chain/!blocks!3 b/pkg/transformers/test_data/test_chain/!blocks!3 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!3 rename to pkg/transformers/test_data/test_chain/!blocks!3 diff --git a/libraries/maker/test_data/test_chain/!blocks!4 b/pkg/transformers/test_data/test_chain/!blocks!4 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!4 rename to pkg/transformers/test_data/test_chain/!blocks!4 diff --git a/libraries/maker/test_data/test_chain/!blocks!5 b/pkg/transformers/test_data/test_chain/!blocks!5 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!5 rename to pkg/transformers/test_data/test_chain/!blocks!5 diff --git a/libraries/maker/test_data/test_chain/!blocks!6 b/pkg/transformers/test_data/test_chain/!blocks!6 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!6 rename to pkg/transformers/test_data/test_chain/!blocks!6 diff --git a/libraries/maker/test_data/test_chain/!blocks!7 b/pkg/transformers/test_data/test_chain/!blocks!7 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!7 rename to pkg/transformers/test_data/test_chain/!blocks!7 diff --git a/libraries/maker/test_data/test_chain/!blocks!8 b/pkg/transformers/test_data/test_chain/!blocks!8 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!8 rename to pkg/transformers/test_data/test_chain/!blocks!8 diff --git a/libraries/maker/test_data/test_chain/!blocks!9 b/pkg/transformers/test_data/test_chain/!blocks!9 similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!9 rename to pkg/transformers/test_data/test_chain/!blocks!9 diff --git a/libraries/maker/test_data/test_chain/!blocks!length b/pkg/transformers/test_data/test_chain/!blocks!length similarity index 100% rename from libraries/maker/test_data/test_chain/!blocks!length rename to pkg/transformers/test_data/test_chain/!blocks!length diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 diff --git a/libraries/maker/test_data/test_chain/!transactionReceipts!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 b/pkg/transformers/test_data/test_chain/!transactionReceipts!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactionReceipts!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 rename to pkg/transformers/test_data/test_chain/!transactionReceipts!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 diff --git a/libraries/maker/test_data/test_chain/!transactions!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 b/pkg/transformers/test_data/test_chain/!transactions!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 rename to pkg/transformers/test_data/test_chain/!transactions!0x082845bda230c63db3069f3568ef138653aed0beaf8791ca1644b0d2e62b4b62 diff --git a/libraries/maker/test_data/test_chain/!transactions!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 b/pkg/transformers/test_data/test_chain/!transactions!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 rename to pkg/transformers/test_data/test_chain/!transactions!0x194d05ed98adbaab385bf58f5a2b6aa2d53e5a083e156ab4115940687baf2d48 diff --git a/libraries/maker/test_data/test_chain/!transactions!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 b/pkg/transformers/test_data/test_chain/!transactions!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 rename to pkg/transformers/test_data/test_chain/!transactions!0x2194da14a0d4be36fb809efd3f9f426bf60842dbf244788d0a84b894b3e6bd49 diff --git a/libraries/maker/test_data/test_chain/!transactions!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 b/pkg/transformers/test_data/test_chain/!transactions!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 rename to pkg/transformers/test_data/test_chain/!transactions!0x319b41551e19a365e1819fc312f1cd52e315c575d505c9fa90a748b7dab11eb9 diff --git a/libraries/maker/test_data/test_chain/!transactions!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 b/pkg/transformers/test_data/test_chain/!transactions!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 rename to pkg/transformers/test_data/test_chain/!transactions!0x6b155a55fd77b751195deeebf7abfd8691ca01ee588817a920f19d5b27f65191 diff --git a/libraries/maker/test_data/test_chain/!transactions!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 b/pkg/transformers/test_data/test_chain/!transactions!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 rename to pkg/transformers/test_data/test_chain/!transactions!0x7ba6513b8f9e12e3a82075c61b3c2848ebed77919cf0c158292cf32fafc55172 diff --git a/libraries/maker/test_data/test_chain/!transactions!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 b/pkg/transformers/test_data/test_chain/!transactions!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 rename to pkg/transformers/test_data/test_chain/!transactions!0x9430a6e3c1665c19dfe6e55eba73ae209d256b17d8f2ea63acb9bdf23144f0a9 diff --git a/libraries/maker/test_data/test_chain/!transactions!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 b/pkg/transformers/test_data/test_chain/!transactions!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 rename to pkg/transformers/test_data/test_chain/!transactions!0xc0bdfdb15c288d6a7b0af865d953677c4818c6655d26631bd7b840e9cfb2d668 diff --git a/libraries/maker/test_data/test_chain/!transactions!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 b/pkg/transformers/test_data/test_chain/!transactions!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 rename to pkg/transformers/test_data/test_chain/!transactions!0xceba2ca8e63611b307f222e9b97e1cbec800f6701ef4d8f6080edf0faa6b9732 diff --git a/libraries/maker/test_data/test_chain/!transactions!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 b/pkg/transformers/test_data/test_chain/!transactions!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 similarity index 100% rename from libraries/maker/test_data/test_chain/!transactions!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 rename to pkg/transformers/test_data/test_chain/!transactions!0xd484799e4f3a24c0e83d7210ae6936700f2da07ddc3cb7191b06a5e20b10fb61 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x014d823cc965c37ad6f570144cfa40059711516c16ac27e18c85f8ba8d41b37a b/pkg/transformers/test_data/test_chain/!trie_db!0x014d823cc965c37ad6f570144cfa40059711516c16ac27e18c85f8ba8d41b37a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x014d823cc965c37ad6f570144cfa40059711516c16ac27e18c85f8ba8d41b37a rename to pkg/transformers/test_data/test_chain/!trie_db!0x014d823cc965c37ad6f570144cfa40059711516c16ac27e18c85f8ba8d41b37a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x0580883480974cf8d76b4a4d6eb1a04a3080df15d235779a7318839acd4ec0bb b/pkg/transformers/test_data/test_chain/!trie_db!0x0580883480974cf8d76b4a4d6eb1a04a3080df15d235779a7318839acd4ec0bb similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x0580883480974cf8d76b4a4d6eb1a04a3080df15d235779a7318839acd4ec0bb rename to pkg/transformers/test_data/test_chain/!trie_db!0x0580883480974cf8d76b4a4d6eb1a04a3080df15d235779a7318839acd4ec0bb diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x07a4f7534ccd4d1a2893c4233b1addc44ec3a672d7f0fac74c99bfeb7c1e4650 b/pkg/transformers/test_data/test_chain/!trie_db!0x07a4f7534ccd4d1a2893c4233b1addc44ec3a672d7f0fac74c99bfeb7c1e4650 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x07a4f7534ccd4d1a2893c4233b1addc44ec3a672d7f0fac74c99bfeb7c1e4650 rename to pkg/transformers/test_data/test_chain/!trie_db!0x07a4f7534ccd4d1a2893c4233b1addc44ec3a672d7f0fac74c99bfeb7c1e4650 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x0e1adb36bae65d3155a1a7f0ab1f18cb8bd59db49e62cdebf6705b13116e15ca b/pkg/transformers/test_data/test_chain/!trie_db!0x0e1adb36bae65d3155a1a7f0ab1f18cb8bd59db49e62cdebf6705b13116e15ca similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x0e1adb36bae65d3155a1a7f0ab1f18cb8bd59db49e62cdebf6705b13116e15ca rename to pkg/transformers/test_data/test_chain/!trie_db!0x0e1adb36bae65d3155a1a7f0ab1f18cb8bd59db49e62cdebf6705b13116e15ca diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x0f6ebbd43b6a851db54d9cc542488786e9042bb4e8f6521d6f29c455c388f159 b/pkg/transformers/test_data/test_chain/!trie_db!0x0f6ebbd43b6a851db54d9cc542488786e9042bb4e8f6521d6f29c455c388f159 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x0f6ebbd43b6a851db54d9cc542488786e9042bb4e8f6521d6f29c455c388f159 rename to pkg/transformers/test_data/test_chain/!trie_db!0x0f6ebbd43b6a851db54d9cc542488786e9042bb4e8f6521d6f29c455c388f159 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x10becc474a25f7d0d67dd3130916e6486ec73cd6c0e3d9c3354f22544dfc0a90 b/pkg/transformers/test_data/test_chain/!trie_db!0x10becc474a25f7d0d67dd3130916e6486ec73cd6c0e3d9c3354f22544dfc0a90 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x10becc474a25f7d0d67dd3130916e6486ec73cd6c0e3d9c3354f22544dfc0a90 rename to pkg/transformers/test_data/test_chain/!trie_db!0x10becc474a25f7d0d67dd3130916e6486ec73cd6c0e3d9c3354f22544dfc0a90 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1302a403c9b0455ea025bbeed7b513046674ea00905aa34a6e9f7d0d97e86eb1 b/pkg/transformers/test_data/test_chain/!trie_db!0x1302a403c9b0455ea025bbeed7b513046674ea00905aa34a6e9f7d0d97e86eb1 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1302a403c9b0455ea025bbeed7b513046674ea00905aa34a6e9f7d0d97e86eb1 rename to pkg/transformers/test_data/test_chain/!trie_db!0x1302a403c9b0455ea025bbeed7b513046674ea00905aa34a6e9f7d0d97e86eb1 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x14a96b69c2eef02d5e6634d7934993c4b23d133a8f96001f6a03a9664c02f758 b/pkg/transformers/test_data/test_chain/!trie_db!0x14a96b69c2eef02d5e6634d7934993c4b23d133a8f96001f6a03a9664c02f758 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x14a96b69c2eef02d5e6634d7934993c4b23d133a8f96001f6a03a9664c02f758 rename to pkg/transformers/test_data/test_chain/!trie_db!0x14a96b69c2eef02d5e6634d7934993c4b23d133a8f96001f6a03a9664c02f758 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1561a115b24603945911a073663c023089180aa738afe551ae06a21d98132b77 b/pkg/transformers/test_data/test_chain/!trie_db!0x1561a115b24603945911a073663c023089180aa738afe551ae06a21d98132b77 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1561a115b24603945911a073663c023089180aa738afe551ae06a21d98132b77 rename to pkg/transformers/test_data/test_chain/!trie_db!0x1561a115b24603945911a073663c023089180aa738afe551ae06a21d98132b77 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x157933e4f44b7ff7eb5b84bec2e32e7809151518a104fbff813500b0c235ab7c b/pkg/transformers/test_data/test_chain/!trie_db!0x157933e4f44b7ff7eb5b84bec2e32e7809151518a104fbff813500b0c235ab7c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x157933e4f44b7ff7eb5b84bec2e32e7809151518a104fbff813500b0c235ab7c rename to pkg/transformers/test_data/test_chain/!trie_db!0x157933e4f44b7ff7eb5b84bec2e32e7809151518a104fbff813500b0c235ab7c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x160b20504872ea0c821139a14ec305c50928dbc5612ff1f0b1a58484a9e5e1e2 b/pkg/transformers/test_data/test_chain/!trie_db!0x160b20504872ea0c821139a14ec305c50928dbc5612ff1f0b1a58484a9e5e1e2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x160b20504872ea0c821139a14ec305c50928dbc5612ff1f0b1a58484a9e5e1e2 rename to pkg/transformers/test_data/test_chain/!trie_db!0x160b20504872ea0c821139a14ec305c50928dbc5612ff1f0b1a58484a9e5e1e2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x193d91e77927d4dd6888eb3cd28c6c3570cef82bd0ce193d6d78a420d076988f b/pkg/transformers/test_data/test_chain/!trie_db!0x193d91e77927d4dd6888eb3cd28c6c3570cef82bd0ce193d6d78a420d076988f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x193d91e77927d4dd6888eb3cd28c6c3570cef82bd0ce193d6d78a420d076988f rename to pkg/transformers/test_data/test_chain/!trie_db!0x193d91e77927d4dd6888eb3cd28c6c3570cef82bd0ce193d6d78a420d076988f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1ae66f56e80b6ce3f6dd2c657d165248c788005cbee34e61ff0a5459edae1722 b/pkg/transformers/test_data/test_chain/!trie_db!0x1ae66f56e80b6ce3f6dd2c657d165248c788005cbee34e61ff0a5459edae1722 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1ae66f56e80b6ce3f6dd2c657d165248c788005cbee34e61ff0a5459edae1722 rename to pkg/transformers/test_data/test_chain/!trie_db!0x1ae66f56e80b6ce3f6dd2c657d165248c788005cbee34e61ff0a5459edae1722 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1b9a0ca00da4bf0c31264a2bf0a2352c41b0012d157942fcabc59e64f08ec8a2 b/pkg/transformers/test_data/test_chain/!trie_db!0x1b9a0ca00da4bf0c31264a2bf0a2352c41b0012d157942fcabc59e64f08ec8a2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1b9a0ca00da4bf0c31264a2bf0a2352c41b0012d157942fcabc59e64f08ec8a2 rename to pkg/transformers/test_data/test_chain/!trie_db!0x1b9a0ca00da4bf0c31264a2bf0a2352c41b0012d157942fcabc59e64f08ec8a2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1b9fc114e1505a2ebf1b4ddc24cbc7831547495eda32e440e6708345d85e5bc0 b/pkg/transformers/test_data/test_chain/!trie_db!0x1b9fc114e1505a2ebf1b4ddc24cbc7831547495eda32e440e6708345d85e5bc0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1b9fc114e1505a2ebf1b4ddc24cbc7831547495eda32e440e6708345d85e5bc0 rename to pkg/transformers/test_data/test_chain/!trie_db!0x1b9fc114e1505a2ebf1b4ddc24cbc7831547495eda32e440e6708345d85e5bc0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1c178169738ade34156345610b0dbb907e6bdf72dcf5ad63422ba2e21f59f3ff b/pkg/transformers/test_data/test_chain/!trie_db!0x1c178169738ade34156345610b0dbb907e6bdf72dcf5ad63422ba2e21f59f3ff similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1c178169738ade34156345610b0dbb907e6bdf72dcf5ad63422ba2e21f59f3ff rename to pkg/transformers/test_data/test_chain/!trie_db!0x1c178169738ade34156345610b0dbb907e6bdf72dcf5ad63422ba2e21f59f3ff diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1cf5126fea51794b0db1435d14bd933683c230379908b9899391e70c1bdfbe14 b/pkg/transformers/test_data/test_chain/!trie_db!0x1cf5126fea51794b0db1435d14bd933683c230379908b9899391e70c1bdfbe14 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1cf5126fea51794b0db1435d14bd933683c230379908b9899391e70c1bdfbe14 rename to pkg/transformers/test_data/test_chain/!trie_db!0x1cf5126fea51794b0db1435d14bd933683c230379908b9899391e70c1bdfbe14 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1dd53620e42fc2cb4123bb7f46ba314f34ed23ca34f9fa01dab86cf82353983d b/pkg/transformers/test_data/test_chain/!trie_db!0x1dd53620e42fc2cb4123bb7f46ba314f34ed23ca34f9fa01dab86cf82353983d similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1dd53620e42fc2cb4123bb7f46ba314f34ed23ca34f9fa01dab86cf82353983d rename to pkg/transformers/test_data/test_chain/!trie_db!0x1dd53620e42fc2cb4123bb7f46ba314f34ed23ca34f9fa01dab86cf82353983d diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x1e566933d70b71a726f5cc492316cd71fe8ee35d224575d33e29280c409c3c8d b/pkg/transformers/test_data/test_chain/!trie_db!0x1e566933d70b71a726f5cc492316cd71fe8ee35d224575d33e29280c409c3c8d similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x1e566933d70b71a726f5cc492316cd71fe8ee35d224575d33e29280c409c3c8d rename to pkg/transformers/test_data/test_chain/!trie_db!0x1e566933d70b71a726f5cc492316cd71fe8ee35d224575d33e29280c409c3c8d diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x21844edeb0c63d6c416c3ac4ccf639034227a206e8d39e76dadd463b61e5508b b/pkg/transformers/test_data/test_chain/!trie_db!0x21844edeb0c63d6c416c3ac4ccf639034227a206e8d39e76dadd463b61e5508b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x21844edeb0c63d6c416c3ac4ccf639034227a206e8d39e76dadd463b61e5508b rename to pkg/transformers/test_data/test_chain/!trie_db!0x21844edeb0c63d6c416c3ac4ccf639034227a206e8d39e76dadd463b61e5508b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x2214fc392a3915c339364267b8fb9e17ab479f98d5f927e218df7171ae2fa22e b/pkg/transformers/test_data/test_chain/!trie_db!0x2214fc392a3915c339364267b8fb9e17ab479f98d5f927e218df7171ae2fa22e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x2214fc392a3915c339364267b8fb9e17ab479f98d5f927e218df7171ae2fa22e rename to pkg/transformers/test_data/test_chain/!trie_db!0x2214fc392a3915c339364267b8fb9e17ab479f98d5f927e218df7171ae2fa22e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x22bb72309f6e88672f57b0adbf6eddd953d4050a6bcb736a9bae44ccb639bfa0 b/pkg/transformers/test_data/test_chain/!trie_db!0x22bb72309f6e88672f57b0adbf6eddd953d4050a6bcb736a9bae44ccb639bfa0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x22bb72309f6e88672f57b0adbf6eddd953d4050a6bcb736a9bae44ccb639bfa0 rename to pkg/transformers/test_data/test_chain/!trie_db!0x22bb72309f6e88672f57b0adbf6eddd953d4050a6bcb736a9bae44ccb639bfa0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x25fc93ab219268b7e46014c8ac580adba1ce1051d8cb8bcb1cd238f4187e577b b/pkg/transformers/test_data/test_chain/!trie_db!0x25fc93ab219268b7e46014c8ac580adba1ce1051d8cb8bcb1cd238f4187e577b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x25fc93ab219268b7e46014c8ac580adba1ce1051d8cb8bcb1cd238f4187e577b rename to pkg/transformers/test_data/test_chain/!trie_db!0x25fc93ab219268b7e46014c8ac580adba1ce1051d8cb8bcb1cd238f4187e577b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x2755f446d0c4053242e02044d205ff5f10f34d7eada2b8170e32dbe7ce649b54 b/pkg/transformers/test_data/test_chain/!trie_db!0x2755f446d0c4053242e02044d205ff5f10f34d7eada2b8170e32dbe7ce649b54 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x2755f446d0c4053242e02044d205ff5f10f34d7eada2b8170e32dbe7ce649b54 rename to pkg/transformers/test_data/test_chain/!trie_db!0x2755f446d0c4053242e02044d205ff5f10f34d7eada2b8170e32dbe7ce649b54 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x27dfbb598caaf84884996f663f33b11b4260c4b8e4b9acea7464641ee98c176c b/pkg/transformers/test_data/test_chain/!trie_db!0x27dfbb598caaf84884996f663f33b11b4260c4b8e4b9acea7464641ee98c176c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x27dfbb598caaf84884996f663f33b11b4260c4b8e4b9acea7464641ee98c176c rename to pkg/transformers/test_data/test_chain/!trie_db!0x27dfbb598caaf84884996f663f33b11b4260c4b8e4b9acea7464641ee98c176c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x294e0688e78b8ebe45c45e778e11e00302f5dc9d735569c1b5a4a0cf48b848e2 b/pkg/transformers/test_data/test_chain/!trie_db!0x294e0688e78b8ebe45c45e778e11e00302f5dc9d735569c1b5a4a0cf48b848e2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x294e0688e78b8ebe45c45e778e11e00302f5dc9d735569c1b5a4a0cf48b848e2 rename to pkg/transformers/test_data/test_chain/!trie_db!0x294e0688e78b8ebe45c45e778e11e00302f5dc9d735569c1b5a4a0cf48b848e2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x2ac25c8b39e9ba3a99e3983a69cc607e6b2a4f04adbe1abb9167b8b5d454056e b/pkg/transformers/test_data/test_chain/!trie_db!0x2ac25c8b39e9ba3a99e3983a69cc607e6b2a4f04adbe1abb9167b8b5d454056e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x2ac25c8b39e9ba3a99e3983a69cc607e6b2a4f04adbe1abb9167b8b5d454056e rename to pkg/transformers/test_data/test_chain/!trie_db!0x2ac25c8b39e9ba3a99e3983a69cc607e6b2a4f04adbe1abb9167b8b5d454056e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x2b3927b8275f057efa8d7be266f32e70895c4474d6e5319d70b5e3ed8c24722c b/pkg/transformers/test_data/test_chain/!trie_db!0x2b3927b8275f057efa8d7be266f32e70895c4474d6e5319d70b5e3ed8c24722c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x2b3927b8275f057efa8d7be266f32e70895c4474d6e5319d70b5e3ed8c24722c rename to pkg/transformers/test_data/test_chain/!trie_db!0x2b3927b8275f057efa8d7be266f32e70895c4474d6e5319d70b5e3ed8c24722c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x2b90ac735ccaf20d1204ce987c10f24fa0ecf777dbe99525c0321a58f237aa23 b/pkg/transformers/test_data/test_chain/!trie_db!0x2b90ac735ccaf20d1204ce987c10f24fa0ecf777dbe99525c0321a58f237aa23 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x2b90ac735ccaf20d1204ce987c10f24fa0ecf777dbe99525c0321a58f237aa23 rename to pkg/transformers/test_data/test_chain/!trie_db!0x2b90ac735ccaf20d1204ce987c10f24fa0ecf777dbe99525c0321a58f237aa23 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x315b6170f8978b4fce756cb2479b0b0ed256aaf4266920068c34aafec49bb2b1 b/pkg/transformers/test_data/test_chain/!trie_db!0x315b6170f8978b4fce756cb2479b0b0ed256aaf4266920068c34aafec49bb2b1 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x315b6170f8978b4fce756cb2479b0b0ed256aaf4266920068c34aafec49bb2b1 rename to pkg/transformers/test_data/test_chain/!trie_db!0x315b6170f8978b4fce756cb2479b0b0ed256aaf4266920068c34aafec49bb2b1 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x34d4377e4f0dee74f4a49f6c09d66f6d4ff253d260d052e8d5ffe022965d6ffc b/pkg/transformers/test_data/test_chain/!trie_db!0x34d4377e4f0dee74f4a49f6c09d66f6d4ff253d260d052e8d5ffe022965d6ffc similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x34d4377e4f0dee74f4a49f6c09d66f6d4ff253d260d052e8d5ffe022965d6ffc rename to pkg/transformers/test_data/test_chain/!trie_db!0x34d4377e4f0dee74f4a49f6c09d66f6d4ff253d260d052e8d5ffe022965d6ffc diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3692ebfcca6c72d823f2edef1158597c3c964404792d86cbd9b4027f828a022f b/pkg/transformers/test_data/test_chain/!trie_db!0x3692ebfcca6c72d823f2edef1158597c3c964404792d86cbd9b4027f828a022f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3692ebfcca6c72d823f2edef1158597c3c964404792d86cbd9b4027f828a022f rename to pkg/transformers/test_data/test_chain/!trie_db!0x3692ebfcca6c72d823f2edef1158597c3c964404792d86cbd9b4027f828a022f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x372afacecb5d397370430cfa7481601253172b63d77e80278ab3d4895b20001b b/pkg/transformers/test_data/test_chain/!trie_db!0x372afacecb5d397370430cfa7481601253172b63d77e80278ab3d4895b20001b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x372afacecb5d397370430cfa7481601253172b63d77e80278ab3d4895b20001b rename to pkg/transformers/test_data/test_chain/!trie_db!0x372afacecb5d397370430cfa7481601253172b63d77e80278ab3d4895b20001b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3900e16f35744fd8e6732d9253866e50977eb123efb7ecb3ae0508b5d72afef2 b/pkg/transformers/test_data/test_chain/!trie_db!0x3900e16f35744fd8e6732d9253866e50977eb123efb7ecb3ae0508b5d72afef2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3900e16f35744fd8e6732d9253866e50977eb123efb7ecb3ae0508b5d72afef2 rename to pkg/transformers/test_data/test_chain/!trie_db!0x3900e16f35744fd8e6732d9253866e50977eb123efb7ecb3ae0508b5d72afef2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x39eb45844be0763684b87dbae75783d4c8373f2b79041c5deec61cc33bc0ac32 b/pkg/transformers/test_data/test_chain/!trie_db!0x39eb45844be0763684b87dbae75783d4c8373f2b79041c5deec61cc33bc0ac32 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x39eb45844be0763684b87dbae75783d4c8373f2b79041c5deec61cc33bc0ac32 rename to pkg/transformers/test_data/test_chain/!trie_db!0x39eb45844be0763684b87dbae75783d4c8373f2b79041c5deec61cc33bc0ac32 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3a1b09fce6390882d7322ddbe543253cd6da427a07bf45dc8909180bbe48183e b/pkg/transformers/test_data/test_chain/!trie_db!0x3a1b09fce6390882d7322ddbe543253cd6da427a07bf45dc8909180bbe48183e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3a1b09fce6390882d7322ddbe543253cd6da427a07bf45dc8909180bbe48183e rename to pkg/transformers/test_data/test_chain/!trie_db!0x3a1b09fce6390882d7322ddbe543253cd6da427a07bf45dc8909180bbe48183e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3ad54ef88f031c776dcc858e4339ee689f634fb929d7ac5d9ceec36c15b2779e b/pkg/transformers/test_data/test_chain/!trie_db!0x3ad54ef88f031c776dcc858e4339ee689f634fb929d7ac5d9ceec36c15b2779e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3ad54ef88f031c776dcc858e4339ee689f634fb929d7ac5d9ceec36c15b2779e rename to pkg/transformers/test_data/test_chain/!trie_db!0x3ad54ef88f031c776dcc858e4339ee689f634fb929d7ac5d9ceec36c15b2779e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3aeb3aa806a152ccfd51ab85640ba5dac102913e3782cbe2af8310a1247c5aa3 b/pkg/transformers/test_data/test_chain/!trie_db!0x3aeb3aa806a152ccfd51ab85640ba5dac102913e3782cbe2af8310a1247c5aa3 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3aeb3aa806a152ccfd51ab85640ba5dac102913e3782cbe2af8310a1247c5aa3 rename to pkg/transformers/test_data/test_chain/!trie_db!0x3aeb3aa806a152ccfd51ab85640ba5dac102913e3782cbe2af8310a1247c5aa3 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3cc1c317257fc0571bcb469d8893b7329aaa0c7fd79852e6879c17327e31659b b/pkg/transformers/test_data/test_chain/!trie_db!0x3cc1c317257fc0571bcb469d8893b7329aaa0c7fd79852e6879c17327e31659b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3cc1c317257fc0571bcb469d8893b7329aaa0c7fd79852e6879c17327e31659b rename to pkg/transformers/test_data/test_chain/!trie_db!0x3cc1c317257fc0571bcb469d8893b7329aaa0c7fd79852e6879c17327e31659b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3e9dee0a3894a2bd8b3ff56f496055d9c66346b4810abcf8ecc2f1ab13483e89 b/pkg/transformers/test_data/test_chain/!trie_db!0x3e9dee0a3894a2bd8b3ff56f496055d9c66346b4810abcf8ecc2f1ab13483e89 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3e9dee0a3894a2bd8b3ff56f496055d9c66346b4810abcf8ecc2f1ab13483e89 rename to pkg/transformers/test_data/test_chain/!trie_db!0x3e9dee0a3894a2bd8b3ff56f496055d9c66346b4810abcf8ecc2f1ab13483e89 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3ec08de1b6fc2f56324ce3a496f6945898622e7b8e875feb74d0578b18f6730c b/pkg/transformers/test_data/test_chain/!trie_db!0x3ec08de1b6fc2f56324ce3a496f6945898622e7b8e875feb74d0578b18f6730c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3ec08de1b6fc2f56324ce3a496f6945898622e7b8e875feb74d0578b18f6730c rename to pkg/transformers/test_data/test_chain/!trie_db!0x3ec08de1b6fc2f56324ce3a496f6945898622e7b8e875feb74d0578b18f6730c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x3f5286f5cae259e122279b4ad4a24c5f98f82ec5b90976e8467e3d3e6445947e b/pkg/transformers/test_data/test_chain/!trie_db!0x3f5286f5cae259e122279b4ad4a24c5f98f82ec5b90976e8467e3d3e6445947e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x3f5286f5cae259e122279b4ad4a24c5f98f82ec5b90976e8467e3d3e6445947e rename to pkg/transformers/test_data/test_chain/!trie_db!0x3f5286f5cae259e122279b4ad4a24c5f98f82ec5b90976e8467e3d3e6445947e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x406d82bbf3ff8b6eb8bce99f947723566e0e73bd4730e6482500142bcff67d1f b/pkg/transformers/test_data/test_chain/!trie_db!0x406d82bbf3ff8b6eb8bce99f947723566e0e73bd4730e6482500142bcff67d1f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x406d82bbf3ff8b6eb8bce99f947723566e0e73bd4730e6482500142bcff67d1f rename to pkg/transformers/test_data/test_chain/!trie_db!0x406d82bbf3ff8b6eb8bce99f947723566e0e73bd4730e6482500142bcff67d1f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x422861bc32af762face51a81dfb4e3f2d563beb99ee972cf1fa30b944e6b85f5 b/pkg/transformers/test_data/test_chain/!trie_db!0x422861bc32af762face51a81dfb4e3f2d563beb99ee972cf1fa30b944e6b85f5 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x422861bc32af762face51a81dfb4e3f2d563beb99ee972cf1fa30b944e6b85f5 rename to pkg/transformers/test_data/test_chain/!trie_db!0x422861bc32af762face51a81dfb4e3f2d563beb99ee972cf1fa30b944e6b85f5 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x4269a0201e3ae680b579c725e9bf6276dcd03776ad56573f386b24c7bd65a10b b/pkg/transformers/test_data/test_chain/!trie_db!0x4269a0201e3ae680b579c725e9bf6276dcd03776ad56573f386b24c7bd65a10b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x4269a0201e3ae680b579c725e9bf6276dcd03776ad56573f386b24c7bd65a10b rename to pkg/transformers/test_data/test_chain/!trie_db!0x4269a0201e3ae680b579c725e9bf6276dcd03776ad56573f386b24c7bd65a10b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x429b0f28e1011b174b50343f41f0d9cb6707fa8659ba6f0e93ff298b0f94cb49 b/pkg/transformers/test_data/test_chain/!trie_db!0x429b0f28e1011b174b50343f41f0d9cb6707fa8659ba6f0e93ff298b0f94cb49 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x429b0f28e1011b174b50343f41f0d9cb6707fa8659ba6f0e93ff298b0f94cb49 rename to pkg/transformers/test_data/test_chain/!trie_db!0x429b0f28e1011b174b50343f41f0d9cb6707fa8659ba6f0e93ff298b0f94cb49 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x44feb02352f8a94bfdbaf401bf7044483059864224a8e2c0b3abfb4d56f17264 b/pkg/transformers/test_data/test_chain/!trie_db!0x44feb02352f8a94bfdbaf401bf7044483059864224a8e2c0b3abfb4d56f17264 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x44feb02352f8a94bfdbaf401bf7044483059864224a8e2c0b3abfb4d56f17264 rename to pkg/transformers/test_data/test_chain/!trie_db!0x44feb02352f8a94bfdbaf401bf7044483059864224a8e2c0b3abfb4d56f17264 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x4584397d16a79dc5e2ad22b1c31aff4d5324e2208a73ca65e3a28b93adc85a8f b/pkg/transformers/test_data/test_chain/!trie_db!0x4584397d16a79dc5e2ad22b1c31aff4d5324e2208a73ca65e3a28b93adc85a8f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x4584397d16a79dc5e2ad22b1c31aff4d5324e2208a73ca65e3a28b93adc85a8f rename to pkg/transformers/test_data/test_chain/!trie_db!0x4584397d16a79dc5e2ad22b1c31aff4d5324e2208a73ca65e3a28b93adc85a8f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x46d92709b24bf67da10cef933a4d84948ada50b8ec963de13493518a0411bf5e b/pkg/transformers/test_data/test_chain/!trie_db!0x46d92709b24bf67da10cef933a4d84948ada50b8ec963de13493518a0411bf5e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x46d92709b24bf67da10cef933a4d84948ada50b8ec963de13493518a0411bf5e rename to pkg/transformers/test_data/test_chain/!trie_db!0x46d92709b24bf67da10cef933a4d84948ada50b8ec963de13493518a0411bf5e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x48bef2949d1b9e743c3372264d49e8811a5e316cc7eb8a0eb12cc91159e9bc89 b/pkg/transformers/test_data/test_chain/!trie_db!0x48bef2949d1b9e743c3372264d49e8811a5e316cc7eb8a0eb12cc91159e9bc89 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x48bef2949d1b9e743c3372264d49e8811a5e316cc7eb8a0eb12cc91159e9bc89 rename to pkg/transformers/test_data/test_chain/!trie_db!0x48bef2949d1b9e743c3372264d49e8811a5e316cc7eb8a0eb12cc91159e9bc89 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x4a620dd91dbe73f56ca2fbac126a6d98f36699888043bee37beaa2efd72f32d8 b/pkg/transformers/test_data/test_chain/!trie_db!0x4a620dd91dbe73f56ca2fbac126a6d98f36699888043bee37beaa2efd72f32d8 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x4a620dd91dbe73f56ca2fbac126a6d98f36699888043bee37beaa2efd72f32d8 rename to pkg/transformers/test_data/test_chain/!trie_db!0x4a620dd91dbe73f56ca2fbac126a6d98f36699888043bee37beaa2efd72f32d8 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x4cbd41e3ae7174e6b1850aa829299243d2c45d31ba72e5da22cb6fb5ded89eda b/pkg/transformers/test_data/test_chain/!trie_db!0x4cbd41e3ae7174e6b1850aa829299243d2c45d31ba72e5da22cb6fb5ded89eda similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x4cbd41e3ae7174e6b1850aa829299243d2c45d31ba72e5da22cb6fb5ded89eda rename to pkg/transformers/test_data/test_chain/!trie_db!0x4cbd41e3ae7174e6b1850aa829299243d2c45d31ba72e5da22cb6fb5ded89eda diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x4e8bf0d45a3147eac8fc230cd9711ccec2dae78beadfdcf290c11b5ad5f0702a b/pkg/transformers/test_data/test_chain/!trie_db!0x4e8bf0d45a3147eac8fc230cd9711ccec2dae78beadfdcf290c11b5ad5f0702a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x4e8bf0d45a3147eac8fc230cd9711ccec2dae78beadfdcf290c11b5ad5f0702a rename to pkg/transformers/test_data/test_chain/!trie_db!0x4e8bf0d45a3147eac8fc230cd9711ccec2dae78beadfdcf290c11b5ad5f0702a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x4ef305cd67b97b743669faa6b70fab3c29d545df173e5798da1a3bef0efeb5d9 b/pkg/transformers/test_data/test_chain/!trie_db!0x4ef305cd67b97b743669faa6b70fab3c29d545df173e5798da1a3bef0efeb5d9 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x4ef305cd67b97b743669faa6b70fab3c29d545df173e5798da1a3bef0efeb5d9 rename to pkg/transformers/test_data/test_chain/!trie_db!0x4ef305cd67b97b743669faa6b70fab3c29d545df173e5798da1a3bef0efeb5d9 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x4fa6053972ef0f71dfeca3ad2c42ef1471f7597831c1b4cda4508d211e1e5fe7 b/pkg/transformers/test_data/test_chain/!trie_db!0x4fa6053972ef0f71dfeca3ad2c42ef1471f7597831c1b4cda4508d211e1e5fe7 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x4fa6053972ef0f71dfeca3ad2c42ef1471f7597831c1b4cda4508d211e1e5fe7 rename to pkg/transformers/test_data/test_chain/!trie_db!0x4fa6053972ef0f71dfeca3ad2c42ef1471f7597831c1b4cda4508d211e1e5fe7 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x5072a6c1e2e016ff4e5b6b35caf68673a43b7a13bb1fa82f2643bad3e4d1c253 b/pkg/transformers/test_data/test_chain/!trie_db!0x5072a6c1e2e016ff4e5b6b35caf68673a43b7a13bb1fa82f2643bad3e4d1c253 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x5072a6c1e2e016ff4e5b6b35caf68673a43b7a13bb1fa82f2643bad3e4d1c253 rename to pkg/transformers/test_data/test_chain/!trie_db!0x5072a6c1e2e016ff4e5b6b35caf68673a43b7a13bb1fa82f2643bad3e4d1c253 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x50b3886d0b373a1bec1077a101dfbf8cdf97373f7698dc90befabe95a62c18d0 b/pkg/transformers/test_data/test_chain/!trie_db!0x50b3886d0b373a1bec1077a101dfbf8cdf97373f7698dc90befabe95a62c18d0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x50b3886d0b373a1bec1077a101dfbf8cdf97373f7698dc90befabe95a62c18d0 rename to pkg/transformers/test_data/test_chain/!trie_db!0x50b3886d0b373a1bec1077a101dfbf8cdf97373f7698dc90befabe95a62c18d0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x50c257a83e805b0c15f7dcdac955e22e29b2c6a89be444e7b996602c26dfc4c6 b/pkg/transformers/test_data/test_chain/!trie_db!0x50c257a83e805b0c15f7dcdac955e22e29b2c6a89be444e7b996602c26dfc4c6 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x50c257a83e805b0c15f7dcdac955e22e29b2c6a89be444e7b996602c26dfc4c6 rename to pkg/transformers/test_data/test_chain/!trie_db!0x50c257a83e805b0c15f7dcdac955e22e29b2c6a89be444e7b996602c26dfc4c6 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x5179412bdf3b1fdc681506fcf02a48f3c350619ac1beba18d698453faad284b0 b/pkg/transformers/test_data/test_chain/!trie_db!0x5179412bdf3b1fdc681506fcf02a48f3c350619ac1beba18d698453faad284b0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x5179412bdf3b1fdc681506fcf02a48f3c350619ac1beba18d698453faad284b0 rename to pkg/transformers/test_data/test_chain/!trie_db!0x5179412bdf3b1fdc681506fcf02a48f3c350619ac1beba18d698453faad284b0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x51e94f71fe2273409ef0acbc4986df7bb808426470a9871d1f6d3324b780c194 b/pkg/transformers/test_data/test_chain/!trie_db!0x51e94f71fe2273409ef0acbc4986df7bb808426470a9871d1f6d3324b780c194 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x51e94f71fe2273409ef0acbc4986df7bb808426470a9871d1f6d3324b780c194 rename to pkg/transformers/test_data/test_chain/!trie_db!0x51e94f71fe2273409ef0acbc4986df7bb808426470a9871d1f6d3324b780c194 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x526dd67231b9088dffafec9d83e93dd46d770db9ada1151883868cf1192b59f5 b/pkg/transformers/test_data/test_chain/!trie_db!0x526dd67231b9088dffafec9d83e93dd46d770db9ada1151883868cf1192b59f5 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x526dd67231b9088dffafec9d83e93dd46d770db9ada1151883868cf1192b59f5 rename to pkg/transformers/test_data/test_chain/!trie_db!0x526dd67231b9088dffafec9d83e93dd46d770db9ada1151883868cf1192b59f5 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x54141933fa63670d278c0d533f96e09dba2150247a9c4a4e71fdf0b0dd0c8c2b b/pkg/transformers/test_data/test_chain/!trie_db!0x54141933fa63670d278c0d533f96e09dba2150247a9c4a4e71fdf0b0dd0c8c2b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x54141933fa63670d278c0d533f96e09dba2150247a9c4a4e71fdf0b0dd0c8c2b rename to pkg/transformers/test_data/test_chain/!trie_db!0x54141933fa63670d278c0d533f96e09dba2150247a9c4a4e71fdf0b0dd0c8c2b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x54350d30b48d6984395cf168b20e31952619100e01a31e619f91393e34d80ab5 b/pkg/transformers/test_data/test_chain/!trie_db!0x54350d30b48d6984395cf168b20e31952619100e01a31e619f91393e34d80ab5 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x54350d30b48d6984395cf168b20e31952619100e01a31e619f91393e34d80ab5 rename to pkg/transformers/test_data/test_chain/!trie_db!0x54350d30b48d6984395cf168b20e31952619100e01a31e619f91393e34d80ab5 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x54b4a1c61e5ad24ffdd1fbd8ad1e2a94b7af053151a44e0484166c0cd1581be9 b/pkg/transformers/test_data/test_chain/!trie_db!0x54b4a1c61e5ad24ffdd1fbd8ad1e2a94b7af053151a44e0484166c0cd1581be9 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x54b4a1c61e5ad24ffdd1fbd8ad1e2a94b7af053151a44e0484166c0cd1581be9 rename to pkg/transformers/test_data/test_chain/!trie_db!0x54b4a1c61e5ad24ffdd1fbd8ad1e2a94b7af053151a44e0484166c0cd1581be9 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x54ea506fbfef710a7ac83211106487c3920b195e7fc316d9e489de5bd09c77b2 b/pkg/transformers/test_data/test_chain/!trie_db!0x54ea506fbfef710a7ac83211106487c3920b195e7fc316d9e489de5bd09c77b2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x54ea506fbfef710a7ac83211106487c3920b195e7fc316d9e489de5bd09c77b2 rename to pkg/transformers/test_data/test_chain/!trie_db!0x54ea506fbfef710a7ac83211106487c3920b195e7fc316d9e489de5bd09c77b2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x5911f24d96912350de50f297c2d34d5d10e136757bf4cfff5fa41bfca219554a b/pkg/transformers/test_data/test_chain/!trie_db!0x5911f24d96912350de50f297c2d34d5d10e136757bf4cfff5fa41bfca219554a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x5911f24d96912350de50f297c2d34d5d10e136757bf4cfff5fa41bfca219554a rename to pkg/transformers/test_data/test_chain/!trie_db!0x5911f24d96912350de50f297c2d34d5d10e136757bf4cfff5fa41bfca219554a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x59199de3c5812d70d26226c5f0ab999758a19b72cbf7c4eff6d930525a8b0455 b/pkg/transformers/test_data/test_chain/!trie_db!0x59199de3c5812d70d26226c5f0ab999758a19b72cbf7c4eff6d930525a8b0455 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x59199de3c5812d70d26226c5f0ab999758a19b72cbf7c4eff6d930525a8b0455 rename to pkg/transformers/test_data/test_chain/!trie_db!0x59199de3c5812d70d26226c5f0ab999758a19b72cbf7c4eff6d930525a8b0455 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x595254cf7b611ccf8a5ec65e448f532364805c5bf22aac6b84662e0883539de2 b/pkg/transformers/test_data/test_chain/!trie_db!0x595254cf7b611ccf8a5ec65e448f532364805c5bf22aac6b84662e0883539de2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x595254cf7b611ccf8a5ec65e448f532364805c5bf22aac6b84662e0883539de2 rename to pkg/transformers/test_data/test_chain/!trie_db!0x595254cf7b611ccf8a5ec65e448f532364805c5bf22aac6b84662e0883539de2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x5cd303b71add8faa7c8cf60e3117b6b32f756742a4026aec069402d2dfe9cc25 b/pkg/transformers/test_data/test_chain/!trie_db!0x5cd303b71add8faa7c8cf60e3117b6b32f756742a4026aec069402d2dfe9cc25 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x5cd303b71add8faa7c8cf60e3117b6b32f756742a4026aec069402d2dfe9cc25 rename to pkg/transformers/test_data/test_chain/!trie_db!0x5cd303b71add8faa7c8cf60e3117b6b32f756742a4026aec069402d2dfe9cc25 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x5e287c9213b0dcabfdf484092e2b6133f6826e045c391501e80374760de69320 b/pkg/transformers/test_data/test_chain/!trie_db!0x5e287c9213b0dcabfdf484092e2b6133f6826e045c391501e80374760de69320 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x5e287c9213b0dcabfdf484092e2b6133f6826e045c391501e80374760de69320 rename to pkg/transformers/test_data/test_chain/!trie_db!0x5e287c9213b0dcabfdf484092e2b6133f6826e045c391501e80374760de69320 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x60b37e6a056ee52545c169ae2074181fda1f14f9abb6363e4d9a152fd9f07c90 b/pkg/transformers/test_data/test_chain/!trie_db!0x60b37e6a056ee52545c169ae2074181fda1f14f9abb6363e4d9a152fd9f07c90 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x60b37e6a056ee52545c169ae2074181fda1f14f9abb6363e4d9a152fd9f07c90 rename to pkg/transformers/test_data/test_chain/!trie_db!0x60b37e6a056ee52545c169ae2074181fda1f14f9abb6363e4d9a152fd9f07c90 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x62ab8b4e7f7569eb032e637fcdcfd5b561442347326a3ffca40ae225d0029d4c b/pkg/transformers/test_data/test_chain/!trie_db!0x62ab8b4e7f7569eb032e637fcdcfd5b561442347326a3ffca40ae225d0029d4c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x62ab8b4e7f7569eb032e637fcdcfd5b561442347326a3ffca40ae225d0029d4c rename to pkg/transformers/test_data/test_chain/!trie_db!0x62ab8b4e7f7569eb032e637fcdcfd5b561442347326a3ffca40ae225d0029d4c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x62b7219819310966c2f08a76b3b5915232be4e619fc829f4a1882a54200f8f94 b/pkg/transformers/test_data/test_chain/!trie_db!0x62b7219819310966c2f08a76b3b5915232be4e619fc829f4a1882a54200f8f94 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x62b7219819310966c2f08a76b3b5915232be4e619fc829f4a1882a54200f8f94 rename to pkg/transformers/test_data/test_chain/!trie_db!0x62b7219819310966c2f08a76b3b5915232be4e619fc829f4a1882a54200f8f94 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x63a1b8e271db0ec0a1816192da83ae3bec40470b66f31d047ef4911d0106dde2 b/pkg/transformers/test_data/test_chain/!trie_db!0x63a1b8e271db0ec0a1816192da83ae3bec40470b66f31d047ef4911d0106dde2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x63a1b8e271db0ec0a1816192da83ae3bec40470b66f31d047ef4911d0106dde2 rename to pkg/transformers/test_data/test_chain/!trie_db!0x63a1b8e271db0ec0a1816192da83ae3bec40470b66f31d047ef4911d0106dde2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x66c5d0a6016165e537ac63b121df2d074c649a16b50ca7a2839abc5eb3894a9a b/pkg/transformers/test_data/test_chain/!trie_db!0x66c5d0a6016165e537ac63b121df2d074c649a16b50ca7a2839abc5eb3894a9a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x66c5d0a6016165e537ac63b121df2d074c649a16b50ca7a2839abc5eb3894a9a rename to pkg/transformers/test_data/test_chain/!trie_db!0x66c5d0a6016165e537ac63b121df2d074c649a16b50ca7a2839abc5eb3894a9a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x67bcaf1d60f75a22d49b037c88c00e44733094250664cbfc9d9bbf9eda3ca745 b/pkg/transformers/test_data/test_chain/!trie_db!0x67bcaf1d60f75a22d49b037c88c00e44733094250664cbfc9d9bbf9eda3ca745 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x67bcaf1d60f75a22d49b037c88c00e44733094250664cbfc9d9bbf9eda3ca745 rename to pkg/transformers/test_data/test_chain/!trie_db!0x67bcaf1d60f75a22d49b037c88c00e44733094250664cbfc9d9bbf9eda3ca745 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x6b41508fe01ac4fe9d58179885bf0e9127fa6eda02f7692fcbc6987adb041151 b/pkg/transformers/test_data/test_chain/!trie_db!0x6b41508fe01ac4fe9d58179885bf0e9127fa6eda02f7692fcbc6987adb041151 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x6b41508fe01ac4fe9d58179885bf0e9127fa6eda02f7692fcbc6987adb041151 rename to pkg/transformers/test_data/test_chain/!trie_db!0x6b41508fe01ac4fe9d58179885bf0e9127fa6eda02f7692fcbc6987adb041151 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x6cebfe106ade0f88e6b68581d9f8b4def74d71d0cbf3ec3c5039ce6d0d2c35ae b/pkg/transformers/test_data/test_chain/!trie_db!0x6cebfe106ade0f88e6b68581d9f8b4def74d71d0cbf3ec3c5039ce6d0d2c35ae similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x6cebfe106ade0f88e6b68581d9f8b4def74d71d0cbf3ec3c5039ce6d0d2c35ae rename to pkg/transformers/test_data/test_chain/!trie_db!0x6cebfe106ade0f88e6b68581d9f8b4def74d71d0cbf3ec3c5039ce6d0d2c35ae diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x74952353b0991411841541f86d37934e0d826eb7411a2420ea362466d8d60e03 b/pkg/transformers/test_data/test_chain/!trie_db!0x74952353b0991411841541f86d37934e0d826eb7411a2420ea362466d8d60e03 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x74952353b0991411841541f86d37934e0d826eb7411a2420ea362466d8d60e03 rename to pkg/transformers/test_data/test_chain/!trie_db!0x74952353b0991411841541f86d37934e0d826eb7411a2420ea362466d8d60e03 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x7604b45506a0b39430208425bde0a01f3705f6c9b1756f6c93fdc09248227c94 b/pkg/transformers/test_data/test_chain/!trie_db!0x7604b45506a0b39430208425bde0a01f3705f6c9b1756f6c93fdc09248227c94 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x7604b45506a0b39430208425bde0a01f3705f6c9b1756f6c93fdc09248227c94 rename to pkg/transformers/test_data/test_chain/!trie_db!0x7604b45506a0b39430208425bde0a01f3705f6c9b1756f6c93fdc09248227c94 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x7641a0ead83074c914ca25a99e4532ee4f35f55fe2c150517568b9040d83eb7f b/pkg/transformers/test_data/test_chain/!trie_db!0x7641a0ead83074c914ca25a99e4532ee4f35f55fe2c150517568b9040d83eb7f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x7641a0ead83074c914ca25a99e4532ee4f35f55fe2c150517568b9040d83eb7f rename to pkg/transformers/test_data/test_chain/!trie_db!0x7641a0ead83074c914ca25a99e4532ee4f35f55fe2c150517568b9040d83eb7f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x77ecddca419c697a6aae21fa9a02f85475aaa5b109d41dc35f1893dc5bb3cf72 b/pkg/transformers/test_data/test_chain/!trie_db!0x77ecddca419c697a6aae21fa9a02f85475aaa5b109d41dc35f1893dc5bb3cf72 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x77ecddca419c697a6aae21fa9a02f85475aaa5b109d41dc35f1893dc5bb3cf72 rename to pkg/transformers/test_data/test_chain/!trie_db!0x77ecddca419c697a6aae21fa9a02f85475aaa5b109d41dc35f1893dc5bb3cf72 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x7876d09d07838d1e8aa713fdcb1da8149ab4fe2240dfa1ce57ec821d5b18c981 b/pkg/transformers/test_data/test_chain/!trie_db!0x7876d09d07838d1e8aa713fdcb1da8149ab4fe2240dfa1ce57ec821d5b18c981 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x7876d09d07838d1e8aa713fdcb1da8149ab4fe2240dfa1ce57ec821d5b18c981 rename to pkg/transformers/test_data/test_chain/!trie_db!0x7876d09d07838d1e8aa713fdcb1da8149ab4fe2240dfa1ce57ec821d5b18c981 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x78e21e7abc575f28a786c1d79ca9cdf554979bddd265f772a5540fddbab91ef9 b/pkg/transformers/test_data/test_chain/!trie_db!0x78e21e7abc575f28a786c1d79ca9cdf554979bddd265f772a5540fddbab91ef9 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x78e21e7abc575f28a786c1d79ca9cdf554979bddd265f772a5540fddbab91ef9 rename to pkg/transformers/test_data/test_chain/!trie_db!0x78e21e7abc575f28a786c1d79ca9cdf554979bddd265f772a5540fddbab91ef9 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x79b9aa7f3bfc53dde3d5f06102bce3649bc358aa26ea150ada9053e81bf7f579 b/pkg/transformers/test_data/test_chain/!trie_db!0x79b9aa7f3bfc53dde3d5f06102bce3649bc358aa26ea150ada9053e81bf7f579 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x79b9aa7f3bfc53dde3d5f06102bce3649bc358aa26ea150ada9053e81bf7f579 rename to pkg/transformers/test_data/test_chain/!trie_db!0x79b9aa7f3bfc53dde3d5f06102bce3649bc358aa26ea150ada9053e81bf7f579 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x7ac0c41c0d80d8e020f83ae1b7f6bf62c1a5eca81c5d618a9512114809b884cb b/pkg/transformers/test_data/test_chain/!trie_db!0x7ac0c41c0d80d8e020f83ae1b7f6bf62c1a5eca81c5d618a9512114809b884cb similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x7ac0c41c0d80d8e020f83ae1b7f6bf62c1a5eca81c5d618a9512114809b884cb rename to pkg/transformers/test_data/test_chain/!trie_db!0x7ac0c41c0d80d8e020f83ae1b7f6bf62c1a5eca81c5d618a9512114809b884cb diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x7f58526de3503c41aa43ef3fb1891a4f45c21d7b16f3f99f4e558a33436f1f76 b/pkg/transformers/test_data/test_chain/!trie_db!0x7f58526de3503c41aa43ef3fb1891a4f45c21d7b16f3f99f4e558a33436f1f76 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x7f58526de3503c41aa43ef3fb1891a4f45c21d7b16f3f99f4e558a33436f1f76 rename to pkg/transformers/test_data/test_chain/!trie_db!0x7f58526de3503c41aa43ef3fb1891a4f45c21d7b16f3f99f4e558a33436f1f76 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x7f7b46c4c5746aa251ed9a7453743bcd033f304dd1b8877087453f36a598018e b/pkg/transformers/test_data/test_chain/!trie_db!0x7f7b46c4c5746aa251ed9a7453743bcd033f304dd1b8877087453f36a598018e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x7f7b46c4c5746aa251ed9a7453743bcd033f304dd1b8877087453f36a598018e rename to pkg/transformers/test_data/test_chain/!trie_db!0x7f7b46c4c5746aa251ed9a7453743bcd033f304dd1b8877087453f36a598018e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x80b4053526aa3f9eeead723f413de9449aa4066e6d54c701ac5bd5a05db08bf9 b/pkg/transformers/test_data/test_chain/!trie_db!0x80b4053526aa3f9eeead723f413de9449aa4066e6d54c701ac5bd5a05db08bf9 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x80b4053526aa3f9eeead723f413de9449aa4066e6d54c701ac5bd5a05db08bf9 rename to pkg/transformers/test_data/test_chain/!trie_db!0x80b4053526aa3f9eeead723f413de9449aa4066e6d54c701ac5bd5a05db08bf9 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x8202796f16ed68ec4c55687dd91c9eaf8eb1506c93c66179b72255e15104f292 b/pkg/transformers/test_data/test_chain/!trie_db!0x8202796f16ed68ec4c55687dd91c9eaf8eb1506c93c66179b72255e15104f292 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x8202796f16ed68ec4c55687dd91c9eaf8eb1506c93c66179b72255e15104f292 rename to pkg/transformers/test_data/test_chain/!trie_db!0x8202796f16ed68ec4c55687dd91c9eaf8eb1506c93c66179b72255e15104f292 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x83097864ebee0be81925b10976490ab2c71a0643e9f16e16807811b7112ed032 b/pkg/transformers/test_data/test_chain/!trie_db!0x83097864ebee0be81925b10976490ab2c71a0643e9f16e16807811b7112ed032 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x83097864ebee0be81925b10976490ab2c71a0643e9f16e16807811b7112ed032 rename to pkg/transformers/test_data/test_chain/!trie_db!0x83097864ebee0be81925b10976490ab2c71a0643e9f16e16807811b7112ed032 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x87f40f40a31bbcb0abcacfa9b6e1e3504ae122fcb443c2a174a3c443be9e9288 b/pkg/transformers/test_data/test_chain/!trie_db!0x87f40f40a31bbcb0abcacfa9b6e1e3504ae122fcb443c2a174a3c443be9e9288 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x87f40f40a31bbcb0abcacfa9b6e1e3504ae122fcb443c2a174a3c443be9e9288 rename to pkg/transformers/test_data/test_chain/!trie_db!0x87f40f40a31bbcb0abcacfa9b6e1e3504ae122fcb443c2a174a3c443be9e9288 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x87ff3bbe1430ed5cc0f2cc2ad5b75f139955ef1aa3d618d17cef880433e70dc6 b/pkg/transformers/test_data/test_chain/!trie_db!0x87ff3bbe1430ed5cc0f2cc2ad5b75f139955ef1aa3d618d17cef880433e70dc6 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x87ff3bbe1430ed5cc0f2cc2ad5b75f139955ef1aa3d618d17cef880433e70dc6 rename to pkg/transformers/test_data/test_chain/!trie_db!0x87ff3bbe1430ed5cc0f2cc2ad5b75f139955ef1aa3d618d17cef880433e70dc6 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x8a083a05cf77f2f36f6c055ac468fc88ab99335759bb47d22b0947229f0b170a b/pkg/transformers/test_data/test_chain/!trie_db!0x8a083a05cf77f2f36f6c055ac468fc88ab99335759bb47d22b0947229f0b170a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x8a083a05cf77f2f36f6c055ac468fc88ab99335759bb47d22b0947229f0b170a rename to pkg/transformers/test_data/test_chain/!trie_db!0x8a083a05cf77f2f36f6c055ac468fc88ab99335759bb47d22b0947229f0b170a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x8ac88fd296fe71814c119087c21bae16a9e5809241b5bd5a36845a5f5d357a6e b/pkg/transformers/test_data/test_chain/!trie_db!0x8ac88fd296fe71814c119087c21bae16a9e5809241b5bd5a36845a5f5d357a6e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x8ac88fd296fe71814c119087c21bae16a9e5809241b5bd5a36845a5f5d357a6e rename to pkg/transformers/test_data/test_chain/!trie_db!0x8ac88fd296fe71814c119087c21bae16a9e5809241b5bd5a36845a5f5d357a6e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x8b1ba0894221f78d2d10aa32895e2d402fe71d272af2994483bb9b56e2f1b6ca b/pkg/transformers/test_data/test_chain/!trie_db!0x8b1ba0894221f78d2d10aa32895e2d402fe71d272af2994483bb9b56e2f1b6ca similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x8b1ba0894221f78d2d10aa32895e2d402fe71d272af2994483bb9b56e2f1b6ca rename to pkg/transformers/test_data/test_chain/!trie_db!0x8b1ba0894221f78d2d10aa32895e2d402fe71d272af2994483bb9b56e2f1b6ca diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x8e7e25bae88ad50ddb83a7aa4aff24663004533b92d8ef1947a6fd621b5c028f b/pkg/transformers/test_data/test_chain/!trie_db!0x8e7e25bae88ad50ddb83a7aa4aff24663004533b92d8ef1947a6fd621b5c028f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x8e7e25bae88ad50ddb83a7aa4aff24663004533b92d8ef1947a6fd621b5c028f rename to pkg/transformers/test_data/test_chain/!trie_db!0x8e7e25bae88ad50ddb83a7aa4aff24663004533b92d8ef1947a6fd621b5c028f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x8ee1bc00a0fdef60abe39832c2fbbb1590d1835ede9c484a98c742db028aa1c9 b/pkg/transformers/test_data/test_chain/!trie_db!0x8ee1bc00a0fdef60abe39832c2fbbb1590d1835ede9c484a98c742db028aa1c9 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x8ee1bc00a0fdef60abe39832c2fbbb1590d1835ede9c484a98c742db028aa1c9 rename to pkg/transformers/test_data/test_chain/!trie_db!0x8ee1bc00a0fdef60abe39832c2fbbb1590d1835ede9c484a98c742db028aa1c9 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x8f45dc1a11f3098f0ed77769955e86ec99632f505cabf3b3f3db6c1a72a4c7f4 b/pkg/transformers/test_data/test_chain/!trie_db!0x8f45dc1a11f3098f0ed77769955e86ec99632f505cabf3b3f3db6c1a72a4c7f4 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x8f45dc1a11f3098f0ed77769955e86ec99632f505cabf3b3f3db6c1a72a4c7f4 rename to pkg/transformers/test_data/test_chain/!trie_db!0x8f45dc1a11f3098f0ed77769955e86ec99632f505cabf3b3f3db6c1a72a4c7f4 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x907b9cb17ed4afdf1e49593aa2a077f3019a7e851ec9faf4b21ad72aea963675 b/pkg/transformers/test_data/test_chain/!trie_db!0x907b9cb17ed4afdf1e49593aa2a077f3019a7e851ec9faf4b21ad72aea963675 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x907b9cb17ed4afdf1e49593aa2a077f3019a7e851ec9faf4b21ad72aea963675 rename to pkg/transformers/test_data/test_chain/!trie_db!0x907b9cb17ed4afdf1e49593aa2a077f3019a7e851ec9faf4b21ad72aea963675 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x96378ad746eed1418f76252c71aceef69fd13c10e815107467ebf53c1644bbc0 b/pkg/transformers/test_data/test_chain/!trie_db!0x96378ad746eed1418f76252c71aceef69fd13c10e815107467ebf53c1644bbc0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x96378ad746eed1418f76252c71aceef69fd13c10e815107467ebf53c1644bbc0 rename to pkg/transformers/test_data/test_chain/!trie_db!0x96378ad746eed1418f76252c71aceef69fd13c10e815107467ebf53c1644bbc0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x977f3e78fd927245d850c04695f06db28c3c19f59f40e67ad6e7558c31669a10 b/pkg/transformers/test_data/test_chain/!trie_db!0x977f3e78fd927245d850c04695f06db28c3c19f59f40e67ad6e7558c31669a10 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x977f3e78fd927245d850c04695f06db28c3c19f59f40e67ad6e7558c31669a10 rename to pkg/transformers/test_data/test_chain/!trie_db!0x977f3e78fd927245d850c04695f06db28c3c19f59f40e67ad6e7558c31669a10 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x98ad39fb8468cbcb93a0990018ded196413ef989c0062341ff886889f39ab41b b/pkg/transformers/test_data/test_chain/!trie_db!0x98ad39fb8468cbcb93a0990018ded196413ef989c0062341ff886889f39ab41b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x98ad39fb8468cbcb93a0990018ded196413ef989c0062341ff886889f39ab41b rename to pkg/transformers/test_data/test_chain/!trie_db!0x98ad39fb8468cbcb93a0990018ded196413ef989c0062341ff886889f39ab41b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0x9d284defeed07bc2b2d65d7d4ba14066c71072010c352566ceb6af2105001fa3 b/pkg/transformers/test_data/test_chain/!trie_db!0x9d284defeed07bc2b2d65d7d4ba14066c71072010c352566ceb6af2105001fa3 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0x9d284defeed07bc2b2d65d7d4ba14066c71072010c352566ceb6af2105001fa3 rename to pkg/transformers/test_data/test_chain/!trie_db!0x9d284defeed07bc2b2d65d7d4ba14066c71072010c352566ceb6af2105001fa3 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xa3f2cd2ba5bc1fb673062bb9b6a68e54880eacdec18ffa1656ad572976b752cc b/pkg/transformers/test_data/test_chain/!trie_db!0xa3f2cd2ba5bc1fb673062bb9b6a68e54880eacdec18ffa1656ad572976b752cc similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xa3f2cd2ba5bc1fb673062bb9b6a68e54880eacdec18ffa1656ad572976b752cc rename to pkg/transformers/test_data/test_chain/!trie_db!0xa3f2cd2ba5bc1fb673062bb9b6a68e54880eacdec18ffa1656ad572976b752cc diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xa5d0993717b2edefc64e653c2b1f69222ac351f6f051bc010b3ae77a7a82cd8e b/pkg/transformers/test_data/test_chain/!trie_db!0xa5d0993717b2edefc64e653c2b1f69222ac351f6f051bc010b3ae77a7a82cd8e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xa5d0993717b2edefc64e653c2b1f69222ac351f6f051bc010b3ae77a7a82cd8e rename to pkg/transformers/test_data/test_chain/!trie_db!0xa5d0993717b2edefc64e653c2b1f69222ac351f6f051bc010b3ae77a7a82cd8e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xa7e84e568d915220899cd49f84d03cadbba602e3e04546e2c18064dcb0517963 b/pkg/transformers/test_data/test_chain/!trie_db!0xa7e84e568d915220899cd49f84d03cadbba602e3e04546e2c18064dcb0517963 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xa7e84e568d915220899cd49f84d03cadbba602e3e04546e2c18064dcb0517963 rename to pkg/transformers/test_data/test_chain/!trie_db!0xa7e84e568d915220899cd49f84d03cadbba602e3e04546e2c18064dcb0517963 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xa855e7870075f22bca3187c9fcf5f0ae0f9bcf0bc40aba289d2876006140eada b/pkg/transformers/test_data/test_chain/!trie_db!0xa855e7870075f22bca3187c9fcf5f0ae0f9bcf0bc40aba289d2876006140eada similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xa855e7870075f22bca3187c9fcf5f0ae0f9bcf0bc40aba289d2876006140eada rename to pkg/transformers/test_data/test_chain/!trie_db!0xa855e7870075f22bca3187c9fcf5f0ae0f9bcf0bc40aba289d2876006140eada diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xa965142b2b0f0b1fb2701ad3f57fad2d56471e0605fe795a4c1779c7f90b8650 b/pkg/transformers/test_data/test_chain/!trie_db!0xa965142b2b0f0b1fb2701ad3f57fad2d56471e0605fe795a4c1779c7f90b8650 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xa965142b2b0f0b1fb2701ad3f57fad2d56471e0605fe795a4c1779c7f90b8650 rename to pkg/transformers/test_data/test_chain/!trie_db!0xa965142b2b0f0b1fb2701ad3f57fad2d56471e0605fe795a4c1779c7f90b8650 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xa9bfb1f25d67b7e48433ab939937886bcd21eb6f358949eeb9aa781747cd12f0 b/pkg/transformers/test_data/test_chain/!trie_db!0xa9bfb1f25d67b7e48433ab939937886bcd21eb6f358949eeb9aa781747cd12f0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xa9bfb1f25d67b7e48433ab939937886bcd21eb6f358949eeb9aa781747cd12f0 rename to pkg/transformers/test_data/test_chain/!trie_db!0xa9bfb1f25d67b7e48433ab939937886bcd21eb6f358949eeb9aa781747cd12f0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xaa9f11e9216645caffc0b16ba04465953bbe7a9d5c1e321f1f022d21d86bc138 b/pkg/transformers/test_data/test_chain/!trie_db!0xaa9f11e9216645caffc0b16ba04465953bbe7a9d5c1e321f1f022d21d86bc138 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xaa9f11e9216645caffc0b16ba04465953bbe7a9d5c1e321f1f022d21d86bc138 rename to pkg/transformers/test_data/test_chain/!trie_db!0xaa9f11e9216645caffc0b16ba04465953bbe7a9d5c1e321f1f022d21d86bc138 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xab6df9bdf417e2156e3d5b8fe119c9f9366e0fb63b6e79c6840068695a6d3b47 b/pkg/transformers/test_data/test_chain/!trie_db!0xab6df9bdf417e2156e3d5b8fe119c9f9366e0fb63b6e79c6840068695a6d3b47 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xab6df9bdf417e2156e3d5b8fe119c9f9366e0fb63b6e79c6840068695a6d3b47 rename to pkg/transformers/test_data/test_chain/!trie_db!0xab6df9bdf417e2156e3d5b8fe119c9f9366e0fb63b6e79c6840068695a6d3b47 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xababfa40a16a76228f9c9289d3598e99571cd4f0fec9f550a211febe9215be1d b/pkg/transformers/test_data/test_chain/!trie_db!0xababfa40a16a76228f9c9289d3598e99571cd4f0fec9f550a211febe9215be1d similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xababfa40a16a76228f9c9289d3598e99571cd4f0fec9f550a211febe9215be1d rename to pkg/transformers/test_data/test_chain/!trie_db!0xababfa40a16a76228f9c9289d3598e99571cd4f0fec9f550a211febe9215be1d diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xaca22053d89ebbf434c56097fbec7c814822c7113ba4fb6a3eff197356c7b0d0 b/pkg/transformers/test_data/test_chain/!trie_db!0xaca22053d89ebbf434c56097fbec7c814822c7113ba4fb6a3eff197356c7b0d0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xaca22053d89ebbf434c56097fbec7c814822c7113ba4fb6a3eff197356c7b0d0 rename to pkg/transformers/test_data/test_chain/!trie_db!0xaca22053d89ebbf434c56097fbec7c814822c7113ba4fb6a3eff197356c7b0d0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xae1c3ba42b6c8f2a271b7f56459c2add5676ba26e637d77963fd933a2108b7aa b/pkg/transformers/test_data/test_chain/!trie_db!0xae1c3ba42b6c8f2a271b7f56459c2add5676ba26e637d77963fd933a2108b7aa similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xae1c3ba42b6c8f2a271b7f56459c2add5676ba26e637d77963fd933a2108b7aa rename to pkg/transformers/test_data/test_chain/!trie_db!0xae1c3ba42b6c8f2a271b7f56459c2add5676ba26e637d77963fd933a2108b7aa diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xaf5f20f6426af3e166955afda7cf465726738ab7ebb44fe0879a9029b4aa582f b/pkg/transformers/test_data/test_chain/!trie_db!0xaf5f20f6426af3e166955afda7cf465726738ab7ebb44fe0879a9029b4aa582f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xaf5f20f6426af3e166955afda7cf465726738ab7ebb44fe0879a9029b4aa582f rename to pkg/transformers/test_data/test_chain/!trie_db!0xaf5f20f6426af3e166955afda7cf465726738ab7ebb44fe0879a9029b4aa582f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xaf884a3280efc05cbccc0c8e2fbf065aaa4165652efa1d89d174d440c96e25cf b/pkg/transformers/test_data/test_chain/!trie_db!0xaf884a3280efc05cbccc0c8e2fbf065aaa4165652efa1d89d174d440c96e25cf similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xaf884a3280efc05cbccc0c8e2fbf065aaa4165652efa1d89d174d440c96e25cf rename to pkg/transformers/test_data/test_chain/!trie_db!0xaf884a3280efc05cbccc0c8e2fbf065aaa4165652efa1d89d174d440c96e25cf diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xafc7c6a8161d69dc1b082bbf799d38f88c2f251a7504b87039b2a4f682cbf323 b/pkg/transformers/test_data/test_chain/!trie_db!0xafc7c6a8161d69dc1b082bbf799d38f88c2f251a7504b87039b2a4f682cbf323 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xafc7c6a8161d69dc1b082bbf799d38f88c2f251a7504b87039b2a4f682cbf323 rename to pkg/transformers/test_data/test_chain/!trie_db!0xafc7c6a8161d69dc1b082bbf799d38f88c2f251a7504b87039b2a4f682cbf323 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb07a87e464ce02c066bb930db0ad6af18367210d9660609b5ecf4a6acb1e0ab3 b/pkg/transformers/test_data/test_chain/!trie_db!0xb07a87e464ce02c066bb930db0ad6af18367210d9660609b5ecf4a6acb1e0ab3 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb07a87e464ce02c066bb930db0ad6af18367210d9660609b5ecf4a6acb1e0ab3 rename to pkg/transformers/test_data/test_chain/!trie_db!0xb07a87e464ce02c066bb930db0ad6af18367210d9660609b5ecf4a6acb1e0ab3 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb093ce9bfa6db5d783bab7a68d3db7dc0fa8ad95b1f8fe5e4f66df8b0a369b14 b/pkg/transformers/test_data/test_chain/!trie_db!0xb093ce9bfa6db5d783bab7a68d3db7dc0fa8ad95b1f8fe5e4f66df8b0a369b14 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb093ce9bfa6db5d783bab7a68d3db7dc0fa8ad95b1f8fe5e4f66df8b0a369b14 rename to pkg/transformers/test_data/test_chain/!trie_db!0xb093ce9bfa6db5d783bab7a68d3db7dc0fa8ad95b1f8fe5e4f66df8b0a369b14 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb2409e30945c4de021f839faad355d13a20bec9382d722959b2dd34cc06f7956 b/pkg/transformers/test_data/test_chain/!trie_db!0xb2409e30945c4de021f839faad355d13a20bec9382d722959b2dd34cc06f7956 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb2409e30945c4de021f839faad355d13a20bec9382d722959b2dd34cc06f7956 rename to pkg/transformers/test_data/test_chain/!trie_db!0xb2409e30945c4de021f839faad355d13a20bec9382d722959b2dd34cc06f7956 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb2aea4b00c6faa6890b6e8256dcb98b86808a19ab61c59994ab8b8bdf9acfa4d b/pkg/transformers/test_data/test_chain/!trie_db!0xb2aea4b00c6faa6890b6e8256dcb98b86808a19ab61c59994ab8b8bdf9acfa4d similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb2aea4b00c6faa6890b6e8256dcb98b86808a19ab61c59994ab8b8bdf9acfa4d rename to pkg/transformers/test_data/test_chain/!trie_db!0xb2aea4b00c6faa6890b6e8256dcb98b86808a19ab61c59994ab8b8bdf9acfa4d diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb36069e00f14f31f6af8179ab19fc5c4e750959d0d6135c010c23f3bbc37bfd8 b/pkg/transformers/test_data/test_chain/!trie_db!0xb36069e00f14f31f6af8179ab19fc5c4e750959d0d6135c010c23f3bbc37bfd8 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb36069e00f14f31f6af8179ab19fc5c4e750959d0d6135c010c23f3bbc37bfd8 rename to pkg/transformers/test_data/test_chain/!trie_db!0xb36069e00f14f31f6af8179ab19fc5c4e750959d0d6135c010c23f3bbc37bfd8 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb53a58d1f1f96b20865f6c8c8090467201e6cb399f8506276bb47064462610c9 b/pkg/transformers/test_data/test_chain/!trie_db!0xb53a58d1f1f96b20865f6c8c8090467201e6cb399f8506276bb47064462610c9 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb53a58d1f1f96b20865f6c8c8090467201e6cb399f8506276bb47064462610c9 rename to pkg/transformers/test_data/test_chain/!trie_db!0xb53a58d1f1f96b20865f6c8c8090467201e6cb399f8506276bb47064462610c9 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb849d833c3c299ab14d40e9dda4d67a6f2e7a5ec13ec49680683cdc24a3df770 b/pkg/transformers/test_data/test_chain/!trie_db!0xb849d833c3c299ab14d40e9dda4d67a6f2e7a5ec13ec49680683cdc24a3df770 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb849d833c3c299ab14d40e9dda4d67a6f2e7a5ec13ec49680683cdc24a3df770 rename to pkg/transformers/test_data/test_chain/!trie_db!0xb849d833c3c299ab14d40e9dda4d67a6f2e7a5ec13ec49680683cdc24a3df770 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb8a4ccd79e4c55573c4c1909205f8a64815b241b68749290e126968a01a55296 b/pkg/transformers/test_data/test_chain/!trie_db!0xb8a4ccd79e4c55573c4c1909205f8a64815b241b68749290e126968a01a55296 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb8a4ccd79e4c55573c4c1909205f8a64815b241b68749290e126968a01a55296 rename to pkg/transformers/test_data/test_chain/!trie_db!0xb8a4ccd79e4c55573c4c1909205f8a64815b241b68749290e126968a01a55296 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xb9b76c57e2bde1c38c34e662ada45402840f239a67bc577357a9dafce809946a b/pkg/transformers/test_data/test_chain/!trie_db!0xb9b76c57e2bde1c38c34e662ada45402840f239a67bc577357a9dafce809946a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xb9b76c57e2bde1c38c34e662ada45402840f239a67bc577357a9dafce809946a rename to pkg/transformers/test_data/test_chain/!trie_db!0xb9b76c57e2bde1c38c34e662ada45402840f239a67bc577357a9dafce809946a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xbd71221ec6a606a213189d3d27d5da39a39474894d83029f1397c838c9ac428b b/pkg/transformers/test_data/test_chain/!trie_db!0xbd71221ec6a606a213189d3d27d5da39a39474894d83029f1397c838c9ac428b similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xbd71221ec6a606a213189d3d27d5da39a39474894d83029f1397c838c9ac428b rename to pkg/transformers/test_data/test_chain/!trie_db!0xbd71221ec6a606a213189d3d27d5da39a39474894d83029f1397c838c9ac428b diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xbda48a1d334a501c0161da23c7ac8c5061abc0d5a8c87532b0588f57df6e26db b/pkg/transformers/test_data/test_chain/!trie_db!0xbda48a1d334a501c0161da23c7ac8c5061abc0d5a8c87532b0588f57df6e26db similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xbda48a1d334a501c0161da23c7ac8c5061abc0d5a8c87532b0588f57df6e26db rename to pkg/transformers/test_data/test_chain/!trie_db!0xbda48a1d334a501c0161da23c7ac8c5061abc0d5a8c87532b0588f57df6e26db diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xbe5e9c050b511a60562962583893f9973c43ce27b29cb8269642240cc817b42a b/pkg/transformers/test_data/test_chain/!trie_db!0xbe5e9c050b511a60562962583893f9973c43ce27b29cb8269642240cc817b42a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xbe5e9c050b511a60562962583893f9973c43ce27b29cb8269642240cc817b42a rename to pkg/transformers/test_data/test_chain/!trie_db!0xbe5e9c050b511a60562962583893f9973c43ce27b29cb8269642240cc817b42a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xbea5ac5b5b294572a69eeb79ac50511dad8558456cbd1f0f99342215d69d141c b/pkg/transformers/test_data/test_chain/!trie_db!0xbea5ac5b5b294572a69eeb79ac50511dad8558456cbd1f0f99342215d69d141c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xbea5ac5b5b294572a69eeb79ac50511dad8558456cbd1f0f99342215d69d141c rename to pkg/transformers/test_data/test_chain/!trie_db!0xbea5ac5b5b294572a69eeb79ac50511dad8558456cbd1f0f99342215d69d141c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc03c348f717530216ab354ac3ef0e19e46c28ce0f78640f445e41e4e9b02d5ca b/pkg/transformers/test_data/test_chain/!trie_db!0xc03c348f717530216ab354ac3ef0e19e46c28ce0f78640f445e41e4e9b02d5ca similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc03c348f717530216ab354ac3ef0e19e46c28ce0f78640f445e41e4e9b02d5ca rename to pkg/transformers/test_data/test_chain/!trie_db!0xc03c348f717530216ab354ac3ef0e19e46c28ce0f78640f445e41e4e9b02d5ca diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc10146e60c892a940009077be47b47625f3ca8023e92cc10bf73329a699933ad b/pkg/transformers/test_data/test_chain/!trie_db!0xc10146e60c892a940009077be47b47625f3ca8023e92cc10bf73329a699933ad similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc10146e60c892a940009077be47b47625f3ca8023e92cc10bf73329a699933ad rename to pkg/transformers/test_data/test_chain/!trie_db!0xc10146e60c892a940009077be47b47625f3ca8023e92cc10bf73329a699933ad diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc2509c936c6a49946f4d1f8ea285ba22df97bb1283f3b5a8326d7ee1b2ba2ed2 b/pkg/transformers/test_data/test_chain/!trie_db!0xc2509c936c6a49946f4d1f8ea285ba22df97bb1283f3b5a8326d7ee1b2ba2ed2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc2509c936c6a49946f4d1f8ea285ba22df97bb1283f3b5a8326d7ee1b2ba2ed2 rename to pkg/transformers/test_data/test_chain/!trie_db!0xc2509c936c6a49946f4d1f8ea285ba22df97bb1283f3b5a8326d7ee1b2ba2ed2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc34b6254fe0b63fd193c05815394207384070546c321e43b2c8fe77c7d2f909d b/pkg/transformers/test_data/test_chain/!trie_db!0xc34b6254fe0b63fd193c05815394207384070546c321e43b2c8fe77c7d2f909d similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc34b6254fe0b63fd193c05815394207384070546c321e43b2c8fe77c7d2f909d rename to pkg/transformers/test_data/test_chain/!trie_db!0xc34b6254fe0b63fd193c05815394207384070546c321e43b2c8fe77c7d2f909d diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc454a94697819d0ce89be4706b7aef962fe14083d38e0f45b7cf3a7d3d24b032 b/pkg/transformers/test_data/test_chain/!trie_db!0xc454a94697819d0ce89be4706b7aef962fe14083d38e0f45b7cf3a7d3d24b032 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc454a94697819d0ce89be4706b7aef962fe14083d38e0f45b7cf3a7d3d24b032 rename to pkg/transformers/test_data/test_chain/!trie_db!0xc454a94697819d0ce89be4706b7aef962fe14083d38e0f45b7cf3a7d3d24b032 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc4f6a1f0b681632674246c126fd0b2eb33764bdb3ec5763b93968f205314944c b/pkg/transformers/test_data/test_chain/!trie_db!0xc4f6a1f0b681632674246c126fd0b2eb33764bdb3ec5763b93968f205314944c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc4f6a1f0b681632674246c126fd0b2eb33764bdb3ec5763b93968f205314944c rename to pkg/transformers/test_data/test_chain/!trie_db!0xc4f6a1f0b681632674246c126fd0b2eb33764bdb3ec5763b93968f205314944c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc5efe80126d2f4bb222c3d78e5ee3769d04d971e0cae935a09538cacde59d972 b/pkg/transformers/test_data/test_chain/!trie_db!0xc5efe80126d2f4bb222c3d78e5ee3769d04d971e0cae935a09538cacde59d972 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc5efe80126d2f4bb222c3d78e5ee3769d04d971e0cae935a09538cacde59d972 rename to pkg/transformers/test_data/test_chain/!trie_db!0xc5efe80126d2f4bb222c3d78e5ee3769d04d971e0cae935a09538cacde59d972 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc74b55ae25b522915216f62ea6ffcd436f6c6d4fe14a771042f7d4cea5cfa92f b/pkg/transformers/test_data/test_chain/!trie_db!0xc74b55ae25b522915216f62ea6ffcd436f6c6d4fe14a771042f7d4cea5cfa92f similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc74b55ae25b522915216f62ea6ffcd436f6c6d4fe14a771042f7d4cea5cfa92f rename to pkg/transformers/test_data/test_chain/!trie_db!0xc74b55ae25b522915216f62ea6ffcd436f6c6d4fe14a771042f7d4cea5cfa92f diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xc81d5533ce94ec680095939e45ba3d6a775b7c067a2f1fb1966bce0da728835a b/pkg/transformers/test_data/test_chain/!trie_db!0xc81d5533ce94ec680095939e45ba3d6a775b7c067a2f1fb1966bce0da728835a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xc81d5533ce94ec680095939e45ba3d6a775b7c067a2f1fb1966bce0da728835a rename to pkg/transformers/test_data/test_chain/!trie_db!0xc81d5533ce94ec680095939e45ba3d6a775b7c067a2f1fb1966bce0da728835a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xcdf03fdc6d63c3530d16f913b78ddc858ba8a78466e187b640d05ee1b307c52e b/pkg/transformers/test_data/test_chain/!trie_db!0xcdf03fdc6d63c3530d16f913b78ddc858ba8a78466e187b640d05ee1b307c52e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xcdf03fdc6d63c3530d16f913b78ddc858ba8a78466e187b640d05ee1b307c52e rename to pkg/transformers/test_data/test_chain/!trie_db!0xcdf03fdc6d63c3530d16f913b78ddc858ba8a78466e187b640d05ee1b307c52e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xcf2759c659bd860d34b51ade81828c957ccf8622569c2cb25a546bd325a84a25 b/pkg/transformers/test_data/test_chain/!trie_db!0xcf2759c659bd860d34b51ade81828c957ccf8622569c2cb25a546bd325a84a25 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xcf2759c659bd860d34b51ade81828c957ccf8622569c2cb25a546bd325a84a25 rename to pkg/transformers/test_data/test_chain/!trie_db!0xcf2759c659bd860d34b51ade81828c957ccf8622569c2cb25a546bd325a84a25 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xcfe663a029b4580a64c6b23d74e9c54a7fb03d16ed52c503bf8dbd2ea0332a47 b/pkg/transformers/test_data/test_chain/!trie_db!0xcfe663a029b4580a64c6b23d74e9c54a7fb03d16ed52c503bf8dbd2ea0332a47 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xcfe663a029b4580a64c6b23d74e9c54a7fb03d16ed52c503bf8dbd2ea0332a47 rename to pkg/transformers/test_data/test_chain/!trie_db!0xcfe663a029b4580a64c6b23d74e9c54a7fb03d16ed52c503bf8dbd2ea0332a47 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xd167b284cd9e648f2508afc91308534ad0c1c0b77bb37c4abab7043a4f758ef2 b/pkg/transformers/test_data/test_chain/!trie_db!0xd167b284cd9e648f2508afc91308534ad0c1c0b77bb37c4abab7043a4f758ef2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xd167b284cd9e648f2508afc91308534ad0c1c0b77bb37c4abab7043a4f758ef2 rename to pkg/transformers/test_data/test_chain/!trie_db!0xd167b284cd9e648f2508afc91308534ad0c1c0b77bb37c4abab7043a4f758ef2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xd35dc35858f8b26ca6aca1a7801c782bb905b339c40e2f4d7fa9bbb6e60f2919 b/pkg/transformers/test_data/test_chain/!trie_db!0xd35dc35858f8b26ca6aca1a7801c782bb905b339c40e2f4d7fa9bbb6e60f2919 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xd35dc35858f8b26ca6aca1a7801c782bb905b339c40e2f4d7fa9bbb6e60f2919 rename to pkg/transformers/test_data/test_chain/!trie_db!0xd35dc35858f8b26ca6aca1a7801c782bb905b339c40e2f4d7fa9bbb6e60f2919 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xd8592c6f97b855e192b45cbc3a21093b529abc9cca3c368066d44aa31c9f0a57 b/pkg/transformers/test_data/test_chain/!trie_db!0xd8592c6f97b855e192b45cbc3a21093b529abc9cca3c368066d44aa31c9f0a57 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xd8592c6f97b855e192b45cbc3a21093b529abc9cca3c368066d44aa31c9f0a57 rename to pkg/transformers/test_data/test_chain/!trie_db!0xd8592c6f97b855e192b45cbc3a21093b529abc9cca3c368066d44aa31c9f0a57 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xdb0af948d55394775495207faf2541a5432ef2b567e0f6faccb7e193d64d48cf b/pkg/transformers/test_data/test_chain/!trie_db!0xdb0af948d55394775495207faf2541a5432ef2b567e0f6faccb7e193d64d48cf similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xdb0af948d55394775495207faf2541a5432ef2b567e0f6faccb7e193d64d48cf rename to pkg/transformers/test_data/test_chain/!trie_db!0xdb0af948d55394775495207faf2541a5432ef2b567e0f6faccb7e193d64d48cf diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xdc29fc9d85a41d5f7586954e84a9702e33d52ab2b78dbc8a4110bc4ab9805926 b/pkg/transformers/test_data/test_chain/!trie_db!0xdc29fc9d85a41d5f7586954e84a9702e33d52ab2b78dbc8a4110bc4ab9805926 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xdc29fc9d85a41d5f7586954e84a9702e33d52ab2b78dbc8a4110bc4ab9805926 rename to pkg/transformers/test_data/test_chain/!trie_db!0xdc29fc9d85a41d5f7586954e84a9702e33d52ab2b78dbc8a4110bc4ab9805926 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xe471b75d1693dfa4458588ca431b54af9320eca119ece050d55e1b05a94bad24 b/pkg/transformers/test_data/test_chain/!trie_db!0xe471b75d1693dfa4458588ca431b54af9320eca119ece050d55e1b05a94bad24 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xe471b75d1693dfa4458588ca431b54af9320eca119ece050d55e1b05a94bad24 rename to pkg/transformers/test_data/test_chain/!trie_db!0xe471b75d1693dfa4458588ca431b54af9320eca119ece050d55e1b05a94bad24 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xe76d776e0fd3e779b1154f656e88a16b2303744aa3fc59034662092c8e688569 b/pkg/transformers/test_data/test_chain/!trie_db!0xe76d776e0fd3e779b1154f656e88a16b2303744aa3fc59034662092c8e688569 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xe76d776e0fd3e779b1154f656e88a16b2303744aa3fc59034662092c8e688569 rename to pkg/transformers/test_data/test_chain/!trie_db!0xe76d776e0fd3e779b1154f656e88a16b2303744aa3fc59034662092c8e688569 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xed57d93087e1a79ee9e3f6eadfc3d2affdb420d73dc4ecf07c5a21b22a221a98 b/pkg/transformers/test_data/test_chain/!trie_db!0xed57d93087e1a79ee9e3f6eadfc3d2affdb420d73dc4ecf07c5a21b22a221a98 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xed57d93087e1a79ee9e3f6eadfc3d2affdb420d73dc4ecf07c5a21b22a221a98 rename to pkg/transformers/test_data/test_chain/!trie_db!0xed57d93087e1a79ee9e3f6eadfc3d2affdb420d73dc4ecf07c5a21b22a221a98 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xed89ce8c7b8d2657d679fd3eb25076b5d12bd24ecfd91f2b19891722703a43e2 b/pkg/transformers/test_data/test_chain/!trie_db!0xed89ce8c7b8d2657d679fd3eb25076b5d12bd24ecfd91f2b19891722703a43e2 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xed89ce8c7b8d2657d679fd3eb25076b5d12bd24ecfd91f2b19891722703a43e2 rename to pkg/transformers/test_data/test_chain/!trie_db!0xed89ce8c7b8d2657d679fd3eb25076b5d12bd24ecfd91f2b19891722703a43e2 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xef07ff19a8b934da7c4809afe1dc5b3548bf27bc66900c8e118c9187767cb85d b/pkg/transformers/test_data/test_chain/!trie_db!0xef07ff19a8b934da7c4809afe1dc5b3548bf27bc66900c8e118c9187767cb85d similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xef07ff19a8b934da7c4809afe1dc5b3548bf27bc66900c8e118c9187767cb85d rename to pkg/transformers/test_data/test_chain/!trie_db!0xef07ff19a8b934da7c4809afe1dc5b3548bf27bc66900c8e118c9187767cb85d diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xf16e2c7b466b113f3159a527a5f17bce3863cc3cda8b21f0da41228f0be40e75 b/pkg/transformers/test_data/test_chain/!trie_db!0xf16e2c7b466b113f3159a527a5f17bce3863cc3cda8b21f0da41228f0be40e75 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xf16e2c7b466b113f3159a527a5f17bce3863cc3cda8b21f0da41228f0be40e75 rename to pkg/transformers/test_data/test_chain/!trie_db!0xf16e2c7b466b113f3159a527a5f17bce3863cc3cda8b21f0da41228f0be40e75 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xf2bf1441ea4a8c925cf68ab80ed63d86d61ded11b1f08d633a16a808be066864 b/pkg/transformers/test_data/test_chain/!trie_db!0xf2bf1441ea4a8c925cf68ab80ed63d86d61ded11b1f08d633a16a808be066864 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xf2bf1441ea4a8c925cf68ab80ed63d86d61ded11b1f08d633a16a808be066864 rename to pkg/transformers/test_data/test_chain/!trie_db!0xf2bf1441ea4a8c925cf68ab80ed63d86d61ded11b1f08d633a16a808be066864 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xf39ba3ac12d2744dd608f89cb539b72a387a2e605dba7ad9a4e935486657e80c b/pkg/transformers/test_data/test_chain/!trie_db!0xf39ba3ac12d2744dd608f89cb539b72a387a2e605dba7ad9a4e935486657e80c similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xf39ba3ac12d2744dd608f89cb539b72a387a2e605dba7ad9a4e935486657e80c rename to pkg/transformers/test_data/test_chain/!trie_db!0xf39ba3ac12d2744dd608f89cb539b72a387a2e605dba7ad9a4e935486657e80c diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xf5bc46da5777e39236ea19c82191f7ff73ee8b732b3652ae6864c8bc2e2688e0 b/pkg/transformers/test_data/test_chain/!trie_db!0xf5bc46da5777e39236ea19c82191f7ff73ee8b732b3652ae6864c8bc2e2688e0 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xf5bc46da5777e39236ea19c82191f7ff73ee8b732b3652ae6864c8bc2e2688e0 rename to pkg/transformers/test_data/test_chain/!trie_db!0xf5bc46da5777e39236ea19c82191f7ff73ee8b732b3652ae6864c8bc2e2688e0 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xf5ee2d5a1e72de4b5a1e2af94497ed2082c0874454d5419cbdb0037f105e882a b/pkg/transformers/test_data/test_chain/!trie_db!0xf5ee2d5a1e72de4b5a1e2af94497ed2082c0874454d5419cbdb0037f105e882a similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xf5ee2d5a1e72de4b5a1e2af94497ed2082c0874454d5419cbdb0037f105e882a rename to pkg/transformers/test_data/test_chain/!trie_db!0xf5ee2d5a1e72de4b5a1e2af94497ed2082c0874454d5419cbdb0037f105e882a diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xf809a0ce500223d176d587be8c6a89aea88a70d80394f7eda04d8e4b1c17cc4e b/pkg/transformers/test_data/test_chain/!trie_db!0xf809a0ce500223d176d587be8c6a89aea88a70d80394f7eda04d8e4b1c17cc4e similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xf809a0ce500223d176d587be8c6a89aea88a70d80394f7eda04d8e4b1c17cc4e rename to pkg/transformers/test_data/test_chain/!trie_db!0xf809a0ce500223d176d587be8c6a89aea88a70d80394f7eda04d8e4b1c17cc4e diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xfaa013dc69cc994058701503d6e2bfc0e77581a8233aac88928620af541b9fbd b/pkg/transformers/test_data/test_chain/!trie_db!0xfaa013dc69cc994058701503d6e2bfc0e77581a8233aac88928620af541b9fbd similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xfaa013dc69cc994058701503d6e2bfc0e77581a8233aac88928620af541b9fbd rename to pkg/transformers/test_data/test_chain/!trie_db!0xfaa013dc69cc994058701503d6e2bfc0e77581a8233aac88928620af541b9fbd diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xfb53e64824f62daa3a1598b6864c077c8b3feafa8d6f93bb5185dcd52a55f4b5 b/pkg/transformers/test_data/test_chain/!trie_db!0xfb53e64824f62daa3a1598b6864c077c8b3feafa8d6f93bb5185dcd52a55f4b5 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xfb53e64824f62daa3a1598b6864c077c8b3feafa8d6f93bb5185dcd52a55f4b5 rename to pkg/transformers/test_data/test_chain/!trie_db!0xfb53e64824f62daa3a1598b6864c077c8b3feafa8d6f93bb5185dcd52a55f4b5 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xfc06e3f1445bb4688f0502c46231fc72da5d44c6419ee71c47be24fbf1928fcf b/pkg/transformers/test_data/test_chain/!trie_db!0xfc06e3f1445bb4688f0502c46231fc72da5d44c6419ee71c47be24fbf1928fcf similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xfc06e3f1445bb4688f0502c46231fc72da5d44c6419ee71c47be24fbf1928fcf rename to pkg/transformers/test_data/test_chain/!trie_db!0xfc06e3f1445bb4688f0502c46231fc72da5d44c6419ee71c47be24fbf1928fcf diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xfdc8e630564f657910187c9eb1d7bf01e04231d016528da0062c123203eb1c79 b/pkg/transformers/test_data/test_chain/!trie_db!0xfdc8e630564f657910187c9eb1d7bf01e04231d016528da0062c123203eb1c79 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xfdc8e630564f657910187c9eb1d7bf01e04231d016528da0062c123203eb1c79 rename to pkg/transformers/test_data/test_chain/!trie_db!0xfdc8e630564f657910187c9eb1d7bf01e04231d016528da0062c123203eb1c79 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xfdcb675a2fb7395ce85312eeaf38d612251395b4277a958c4a78cea448e07cc1 b/pkg/transformers/test_data/test_chain/!trie_db!0xfdcb675a2fb7395ce85312eeaf38d612251395b4277a958c4a78cea448e07cc1 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xfdcb675a2fb7395ce85312eeaf38d612251395b4277a958c4a78cea448e07cc1 rename to pkg/transformers/test_data/test_chain/!trie_db!0xfdcb675a2fb7395ce85312eeaf38d612251395b4277a958c4a78cea448e07cc1 diff --git a/libraries/maker/test_data/test_chain/!trie_db!0xfe3d828c2803bd586bc34641752157c205a391ec9a1b730031bccc77a9276b02 b/pkg/transformers/test_data/test_chain/!trie_db!0xfe3d828c2803bd586bc34641752157c205a391ec9a1b730031bccc77a9276b02 similarity index 100% rename from libraries/maker/test_data/test_chain/!trie_db!0xfe3d828c2803bd586bc34641752157c205a391ec9a1b730031bccc77a9276b02 rename to pkg/transformers/test_data/test_chain/!trie_db!0xfe3d828c2803bd586bc34641752157c205a391ec9a1b730031bccc77a9276b02 diff --git a/libraries/maker/every_block/transformers.go b/pkg/transformers/transformers.go similarity index 80% rename from libraries/maker/every_block/transformers.go rename to pkg/transformers/transformers.go index 87133fa5..c6725363 100644 --- a/libraries/maker/every_block/transformers.go +++ b/pkg/transformers/transformers.go @@ -12,15 +12,16 @@ // See the License for the specific language governing permissions and // limitations under the License. -package every_block +package transformers import ( "github.com/vulcanize/vulcanizedb/libraries/shared" + "github.com/vulcanize/vulcanizedb/pkg/transformers/flip_kick" ) func TransformerInitializers() []shared.TransformerInitializer { - config := FlipKickConfig - initializer := FlipKickTransformerInitializer{Config: config} + config := flip_kick.FlipKickConfig + initializer := flip_kick.FlipKickTransformerInitializer{Config: config} return []shared.TransformerInitializer{ initializer.NewFlipKickTransformer, } diff --git a/test_config/test_config.go b/test_config/test_config.go index b1a59d1b..e6926a82 100644 --- a/test_config/test_config.go +++ b/test_config/test_config.go @@ -2,17 +2,20 @@ package test_config import ( "log" - "os" + . "github.com/onsi/gomega" "github.com/spf13/viper" + "github.com/vulcanize/vulcanizedb/pkg/config" "github.com/vulcanize/vulcanizedb/pkg/core" "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres" + "github.com/vulcanize/vulcanizedb/pkg/datastore/postgres/repositories" ) var TestConfig *viper.Viper var DBConfig config.Database +var TestClient config.Client var Infura *viper.Viper var InfuraClient config.Client var ABIFilePath string @@ -28,6 +31,7 @@ func setTestConfig() { TestConfig.SetConfigName("private") TestConfig.AddConfigPath("$GOPATH/src/github.com/vulcanize/vulcanizedb/environments/") err := TestConfig.ReadInConfig() + ipc := TestConfig.GetString("client.ipcPath") if err != nil { log.Fatal(err) } @@ -39,6 +43,9 @@ func setTestConfig() { Name: name, Port: port, } + TestClient = config.Client{ + IPCPath: ipc, + } } func setInfuraConfig() { @@ -62,6 +69,10 @@ func setABIPath() { func NewTestDB(node core.Node) *postgres.DB { db, _ := postgres.NewDB(DBConfig, node) + return db +} + +func CleanTestDB(db *postgres.DB) { db.MustExec("DELETE FROM blocks") db.MustExec("DELETE FROM headers") db.MustExec("DELETE FROM log_filters") @@ -69,10 +80,20 @@ func NewTestDB(node core.Node) *postgres.DB { db.MustExec("DELETE FROM receipts") db.MustExec("DELETE FROM transactions") db.MustExec("DELETE FROM watched_contracts") - return db } -func NewTestDBWithoutDeletingRecords(node core.Node) *postgres.DB { - db, _ := postgres.NewDB(DBConfig, node) - return db +func NewTestNode() core.Node { + return core.Node{ + GenesisBlock: "GENESIS", + NetworkID: 1, + ID: "b6f90c0fdd8ec9607aed8ee45c69322e47b7063f0bfb7a29c8ecafab24d0a22d24dd2329b5ee6ed4125a03cb14e57fd584e67f9e53e6c631055cbbd82f080845", + ClientName: "Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9", + } +} + +func NewTestBlock(blockNumber int64, repository repositories.BlockRepository) (blockId int64) { + blockId, err := repository.CreateOrUpdateBlock(core.Block{Number: blockNumber}) + Expect(err).NotTo(HaveOccurred()) + + return blockId }