besu
besu copied to clipboard
Introduce global code cache
fixed the non-functional code hash and integrated it into PathBasedAccount, the existing EVM.getCode*() methods do not use a cache anymore and has been renamed to reflect that they are only wrapping the bytecode into Code object
Thanks for sending a pull request! Have you done the following?
- [ ] Checked out our contribution guidelines?
- [ ] Considered documentation and added the
doc-change-requiredlabel to this PR if updates are required. - [ ] Considered the changelog and included an update if required.
- [ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests
Locally, you can run these tests to catch failures early:
- [ ] spotless:
./gradlew spotlessApply - [ ] unit tests:
./gradlew build - [ ] acceptance tests:
./gradlew acceptanceTest - [ ] integration tests:
./gradlew integrationTest - [ ] reference tests:
./gradlew ethereum:referenceTests:referenceTests