Skip to content
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

Add MPT compatibility tests #1993

Merged
merged 3 commits into from
Jun 7, 2021
Merged

Add MPT compatibility tests #1993

merged 3 commits into from
Jun 7, 2021

Conversation

fyrchik
Copy link
Contributor

@fyrchik fyrchik commented Jun 3, 2021

Close #1872 .

pkg/core/mpt/extension.go Outdated Show resolved Hide resolved
pkg/core/mpt/compat_test.go Show resolved Hide resolved
pkg/core/mpt/compat_test.go Show resolved Hide resolved
The constant used is actually a nibbled-path restriction.
Clarify this and make them private.
This is not a problem in practice, as all keys are prefixed
by a contract ID. However in theory it can lead to a different
state root after new portion of changes thus this fix.
@roman-khimov roman-khimov merged commit 2837b98 into master Jun 7, 2021
@roman-khimov roman-khimov deleted the mpt-tests branch June 7, 2021 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mpt: create compatibility tests
3 participants