Use memoizee instead of custom cache (#643)

* First run at using memoizee

* Make cached test pass

* Fix replay test

* Update e2e test

* Fix types

* Fix lint

* Simplify types

* Add comment
This commit is contained in:
Amaury Martiny
2019-01-28 18:46:46 +01:00
committed by GitHub
parent eccaa75192
commit e811d737f2
8 changed files with 133 additions and 92 deletions
+2
View File
@@ -32,7 +32,9 @@
"@babel/runtime": "^7.2.0",
"@polkadot/rpc-core": "^0.41.7",
"@polkadot/rpc-provider": "^0.41.7",
"@types/memoizee": "^0.4.2",
"@types/rx": "^4.1.1",
"memoizee": "^0.4.14",
"rxjs": "^6.3.3"
}
}