Comments (4)
Look at this commit in my fork: olegabr@938a27a
Test mediumint4
passes, while mediumint5
and bigint
fail.
"mediumint4": {
"in": "#83729609699884896815286331701780722",
"out": "0x8f102030405060708090a0b0c0d0e0f2"
},
"mediumint5": {
"in": "#105315505618206987246253880190783558935785933862974822347068935681",
"out": "0x9c0100020003000400050006000700080009000a000b000c000d000e01"
},
"bigint": {
"in": "#115792089237316195423570985008687907853269984665640564039457584007913129639936",
"out": "0xa1010000000000000000000000000000000000000000000000000000000000000000"
}
from rlp.
Fix: olegabr@6ac6613
from rlp.
Thanks @olegabr, I was thinking this PR might related: #19
from rlp.
I think I made a mistake in last commit, and the code base looks bad.
I'm going to rewrite this library and see how it works.
from rlp.
Related Issues (10)
- Wrong rle encode when string looks like 0x[Numbers]
- More tests? HOT 1
- Integer 0 should be encoded to ox80?
- Add support to multidimensional array in buffer HOT 1
- Incorrect result when encode with 2 hex characters (1 byte)
- rlp: input string too long HOT 1
- Issues with 0x00... prefixed addresses HOT 6
- Consider string buffer encoding. HOT 1
- Invalid integer buffer HOT 2
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.