Comments (2)
I think Dictionary
is not only not needed, but incorrect. Calling encode({a: 1123})
throws invalid type
.
I believe it was added in e81acfd9571 when trying to solve #35. TS support for recursive types is non-obvious, and while googling about it I got to this comment by Anders Hejlsberg
which looks almost the same as the original types.ts
. This was probably copy-pasted and accidentally left here.
from rlp.
Fixed via #74
from rlp.
Related Issues (20)
- Move from Travis to Circleci HOT 3
- ES5 Compatibility HOT 2
- Recursive Typings HOT 2
- Question, why is decode(encode([0])) empty buffer? HOT 1
- Add test case title output on official test runs
- Analyze new listofbinaries RLP test case HOT 2
- Update TypeScript to turn off allowSyntheticDefaultImports HOT 1
- Error using [email protected] as a CLI command HOT 2
- Missing type exports: RLPInput, RLPDecoded HOT 8
- Cannot find module 'bn.js' error when requiring after clean install HOT 1
- [BUG] rlp.encode([]) throws invalid type Error in the Truffle console HOT 4
- rlp.encode(-1) should throw an Error. HOT 1
- encode differs from pyrlp HOT 2
- Encoding and Decoding RLP lists when part of a buffer HOT 5
- Improve type definitions for decode HOT 1
- Handle negative numbers HOT 2
- Add Ethereum name or address to package.json HOT 1
- Some love for CLI tool
- how to docode hex to string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rlp.