-
Notifications
You must be signed in to change notification settings - Fork 746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Releases #2361
Merged
Merged
New Releases #2361
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
13031e5
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 c595c5e
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 6034197
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 4e6aee5
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 78a539b
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 a9a6078
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 cf782a4
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 b1050e5
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 22e7fef
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 f6fdb5f
Added CHANGELOG entry, bumped version number, updated upstream librar…
holgerd77 95e5193
Monorepo: Updated package-lock.json
holgerd77 3415d62
Apply suggestions from code review
holgerd77 ac16d71
EVM: added getActiveOpcodes() as an optional method to EVMInterface
holgerd77 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -6,6 +6,35 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | |||||
(modification: no type change headlines) and this project adheres to | ||||||
[Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||||||
|
||||||
## 1.1.0 - 2022-10-18 | ||||||
|
||||||
### Support for Geth genesis.json Genesis Format | ||||||
|
||||||
For lots of custom chains (for e.g. devnets and testnets), you might come across a [Geth genesis.json config](https://geth.ethereum.org/docs/interface/private-network) which has both config specification for the chain as well as the genesis state specification. | ||||||
|
||||||
`Common` now has a new constructor `Common.fromGethGenesis()` - see PRs [#2300](https://github.com/ethereumjs/ethereumjs-monorepo/pull/2300) and [#2319](https://github.com/ethereumjs/ethereumjs-monorepo/pull/2319) - which can be used in following manner to instantiate for example a VM run or a tx with a `genesis.json` based Common: | ||||||
|
||||||
```typescript | ||||||
import { Common } from '@ethereumjs/common' | ||||||
// Load geth genesis json file into lets say `genesisJson` and optional `chain` and `genesisHash` | ||||||
const common = Common.fromGethGenesis(genesisJson, { chain: 'customChain', genesisHash }) | ||||||
// If you don't have `genesisHash` while initiating common, you can later configure common (for e.g. | ||||||
// calculating it afterwards by using the `@ethereumjs/blockchain` package) | ||||||
common.setForkHashes(genesisHash) | ||||||
``` | ||||||
|
||||||
### New Async Event Emitter: async-eventemitter -> eventemitter2 | ||||||
|
||||||
Along some deeper investigation of build errors related to the usage of the `async-eventemitter` package we finally decided to completely switch to a new async event emitter package for VM/EVM events, see PR [#2303](https://github.com/ethereumjs/ethereumjs-monorepo/pull/2303). The old [async-eventemitter](https://github.com/ahultgren/async-eventemitter) package hasn't been updated for several years and the new [eventemitter2](https://github.com/EventEmitter2/EventEmitter2) package is more modern and maintained as well as substantially more used and therefore a future-proof choice for an async event emitter library to build the VM/EVM event emitting system upon. | ||||||
|
||||||
The significant parts of the API of both the old and the new libraries are the same and the switch shouldn't cause too much hazzle for people upgrading. In case you nevertheless stumble upon upgrading problems regarding the event emitter package switch please feel free to open an issue, we'll be there to assist you on the upgrade! | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
### Other Changes and Fixes | ||||||
|
||||||
- Moved `EIP-4399` state to non-experimental (docs only), PR [#2355](https://github.com/ethereumjs/ethereumjs-monorepo/pull/2355) | ||||||
- Memory extend optimization in `write()` function, PR [#2276](https://github.com/ethereumjs/ethereumjs-monorepo/pull/2276) | ||||||
- Added `getActiveOpcodes?(): OpcodeList` as an optional method to `EVMInterface`, PR [#2361](https://github.com/ethereumjs/ethereumjs-monorepo/pull/2361) | ||||||
|
||||||
## 1.0.0 - 2022-09-06 | ||||||
|
||||||
Final release - tada 🎉 - of a wider breaking release round on the [EthereumJS monorepo](https://github.com/ethereumjs/ethereumjs-monorepo) libraries, see the Beta 1 release notes for the main long change set description as well as the Beta 2, Beta 3 and Release Candidate (RC) 1 release notes for notes on some additional changes ([CHANGELOG](https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/evm/CHANGELOG.md)). | ||||||
|
Oops, something went wrong.
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.
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.
Should this not be part of the changelog in common..? Or is this just for extra clarity here?
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.
So you mean that we have added this method in Common? Or some other context?