[Snyk] Upgrade rlp from 2.2.7 to 3.0.0 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade rlp from 2.2.7 to 3.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released on 3 years ago.
Release notes
Package name: rlp
This release comes with a modernized
ES6
-class structured code base, somesignificant local refactoring work regarding how
Stack
andMemory
are organized within the VM and it finalizes a first round of module structuring
now having separate folders for
bloom
,evm
andstate
related code. Therelease also removes some rarely used parts of the API (
hookedVM
,VM.deps
).All this is to a large extend preparatory work for a
v4.0.0
release which willfollow in the next months with
TypeScript
support and more system-widerefactoring work leading to a more modular and expandable VM and providing the
ground for future
eWASM
integration. If you are interested in the releaseprocess and want to take part in the refactoring discussion see the associated
issue #455.
VM Refactoring/Breaking Changes
Memory
class for evm memory manipulation, PR #442Stack
manipulation in evm, PR #460createHookedVm
(BREAKING), being made obsolete by the newStateManager
API, PR #451VM.deps
attribute (please require dependencies yourself if you used this), PR #478fakeBlockchain
class and associated tests, PR #466petersburg
hardfork rules are now run as default (before:byzantium
), PR #485Modularization
vm
module toevm
, moveprecompiles
toevm
module, PR #481stateManager
,storageReader
andcache
tostate
module, PR #443logTable
with dynamic inline version inEXP
opcode, PR #450Code Modernization/ES6
VM
toES6
class, PR #478stateManager
andstorageReader
toES6
class syntax, PR #452Bug Fixes
stateManager.setStateRoot()
didn't clear the_storageTries
cache, PR #445CALL
opcode, PR #454BN.toArrayLike()
instead ofBN.toBuffer()
(browser compatibility), PR #458Maintenance/Optimization
BN
reduction context inMODEXP
precompile, PR #463Documentation
Bloom
filter methods, PR #439Testing
--json
trace flag in the tests, PR #438StateManager.dumpStorage()
, PR #462ecmul_0-3_5616_28000_96
(by test setup adoption), PR #473Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: