* 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
35 lines
846 B
JSON
35 lines
846 B
JSON
{
|
|
"name": "@polkadot/trie-codec",
|
|
"version": "0.33.0",
|
|
"description": "This is an implementation of the codec for Substrate Trie",
|
|
"main": "index.js",
|
|
"keywords": [
|
|
"Polkadot"
|
|
],
|
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
"maintainers": [
|
|
"Jaco Greeff <jacogr@gmail.com>"
|
|
],
|
|
"contributors": [],
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=6.4"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/polkadot-js/common.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/polkadot-js/common/issues"
|
|
},
|
|
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-codec#readme",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.1.5",
|
|
"@polkadot/util": "^0.33.0"
|
|
}
|
|
}
|