Commit Graph
11 Commits
Author SHA1 Message Date
Jaco Greeff 80db504a3b Swap to using eslint (#435)
* WIP

* ... and more

* yet more...

* and examples (more-or-less) fixed

* Only problematic promisify left...

* Last batch

* rm config header

* Update

* Use Record

* Bumps
2019-07-14 11:12:46 +02:00
Jaco Greeff 0021731ec7 Small trie-codec optimizations (tested as-is in client) (#428)
* Small trie-codec optimizations (tested as-is in client)

* Re-write yarn.lock
2019-06-21 07:53:21 +02:00
Jaco Greeff 825a9de7f4 Trie codec cleanups (new objects, loops) (#426)
* Trie codec cleanups (new objects, loops)

* Enum -> const
2019-06-16 09:15:44 +02:00
Jaco Greeff de67a88f45 Remove /index imports (swap to bare) (#362) 2019-03-14 08:41:00 +01:00
Jaco Greeff 1e6eb2c283 Converts tests to TypeScript (#300) 2019-02-14 10:48:08 +01:00
Jaco Greeff 89030f41b3 2019 (#287)
* 2019

* Bump deps

* Cleanup deps

* Update dev (markdown plugin)

* Bump deps (hopefully finally fixes doc gen)

* Fix inherit plugin
2019-01-04 14:50:50 +01:00
Jaco Greeff fbd6c1e9bf Cleanup more Codeclimate issues (#267)
* Cleanup more Codeclimate issues

* Cleanup unused imports
2018-12-08 14:34:36 +01:00
Jaco Greeff 3de334c966 Cleanup some Codeclimate smells (#266) 2018-12-08 12:40:48 +01:00
Jaco Greeff e3b45e7617 Rename types.d.ts -> types.ts (#262) 2018-11-29 11:54:25 +01:00
Jaco Greeff 148f9569d4 Bump dev, cleanup new TS additional checks (#259) 2018-11-27 14:13:34 +01:00
Jaco Greeff f82092e603 Allow blake2 & parity-codec in trie (#251)
* Start codec implementation

* Expose all constants

* NodeHeader encoding/decoding

* Encoding in NodeHeader

* Constants for Node types

* Moce codec to trie-codec

* Encode/decode in place (untested)

* WIP, tests starting to be put in place

* One passing test :)

* Another test bites the dust...

* One more test down...

* One more down

* Additional tests

* Formatting

* Long keys passing

* Trie tests

* Follow the script, no all-in-all encoder

* First simple trie test passing

* Another one down

* Extra checks remove (debug)

* 80% there with tests...

* One more, one left

* Trie tests passing

* ISC -> Apache-2.0

* Add compact util functions

* Tests to TypeScript

* Remove @polkadot/types deps, ethereum stub

* Bump

* Genesis tests with chainspecs

* Cleanup tests (ease of debugging)

* Substrate test passes, branch fails (again)

* Checks passing, tests passing

* Re-add Ethereum & snapshot tests (not passing atm)

* Re-add index test (also not 100%)

* Mid-way in generic trie-root

* Cleanup ethereumjs-testing definitions

* Update deps

* Less intrusive renames in trie-hash

* Self-review cleanups #1

* asNibbles -> toNibbles

* Cleanups

* Expand tests

* Cleanup imports

* Fix logger test (fly-by refactor)

* Update snapshot test
2018-11-22 14:29:34 +01:00