-
Notifications
You must be signed in to change notification settings - Fork 36
Conversation
thanks @wemeetagain, this looks great. i noticed the coverage step was failing to push to coveralls due to:
which I actually just ran into at web3.js a few days ago. the solution was to update |
Thanks @wemeetagain, I have merged in #92, this would need a branch update/rebase here for CI to re-run, don't have the permissions to trigger myself. |
(please give an explicit comment statement once you have done, these branch updates always tends to get lost/overlooked otherwise) |
30a40e3
to
4d30598
Compare
Rebased off latest! |
@@ -5,15 +5,36 @@ const BN = require('bn.js') | |||
const Buffer = require('buffer').Buffer // needed for karma | |||
|
|||
describe('invalid rlps', function() { | |||
it('should not crash on an invalid rlp', function() { | |||
const errCases = [ | |||
// prettier-ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀 oh that's neat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
@wemeetagain thanks for fixing, will directly prepare a release. |
Fix a few edge-cases in decoding long strings that previously could cause OOM crash.
Found investigating ChainSafe/discv5#64