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

Evm/code stored seperately #889

Merged
merged 17 commits into from
Sep 19, 2023
Merged

Evm/code stored seperately #889

merged 17 commits into from
Sep 19, 2023

Conversation

LukaszRozmej
Copy link
Contributor

Description

Moves code to separate storage instead of storing it per account.

Linked Issues

Testing

Should be tested with existing tests

…perately

# Conflicts:
#	examples/demo-stf/src/genesis_config.rs
#	module-system/module-implementations/sov-evm/src/call.rs
#	module-system/module-implementations/sov-evm/src/evm/conversions.rs
#	module-system/module-implementations/sov-evm/src/evm/tests.rs
#	module-system/module-implementations/sov-evm/src/evm/transaction.rs
#	module-system/module-implementations/sov-evm/src/genesis.rs
#	module-system/module-implementations/sov-evm/src/hooks.rs
#	module-system/module-implementations/sov-evm/src/lib.rs
#	module-system/module-implementations/sov-evm/src/query.rs
#	module-system/module-implementations/sov-evm/src/tests/call_tests.rs
#	module-system/module-implementations/sov-evm/src/tests/genesis_tests.rs
#	module-system/module-implementations/sov-evm/src/tests/hooks_tests.rs
#	module-system/sov-state/src/containers/accessory_vec.rs
#	module-system/sov-state/src/containers/vec.rs
…perately

# Conflicts:
#	module-system/module-implementations/sov-evm/src/evm/db.rs
#	module-system/module-implementations/sov-evm/src/lib.rs
@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Merging #889 (689b01a) into nightly (9b9b027) will decrease coverage by 0.1%.
The diff coverage is 78.9%.

Files Changed Coverage Δ
.../module-implementations/sov-evm/src/evm/db_init.rs 56.2% <0.0%> (-43.8%) ⬇️
...stem/module-implementations/sov-evm/src/evm/mod.rs 100.0% <ø> (ø)
...em/module-implementations/sov-evm/src/evm/tests.rs 96.9% <ø> (-0.1%) ⬇️
...stem/module-implementations/sov-evm/src/genesis.rs 98.6% <80.0%> (-1.4%) ⬇️
...ule-implementations/sov-evm/src/evm/conversions.rs 98.9% <100.0%> (-0.1%) ⬇️
...ystem/module-implementations/sov-evm/src/evm/db.rs 91.6% <100.0%> (+11.6%) ⬆️
...odule-implementations/sov-evm/src/evm/db_commit.rs 97.1% <100.0%> (+1.3%) ⬆️
...e-system/module-implementations/sov-evm/src/lib.rs 82.9% <100.0%> (ø)

... and 1 file with indirect coverage changes

@LukaszRozmej LukaszRozmej marked this pull request as ready for review September 18, 2023 19:19
LukaszRozmej and others added 2 commits September 19, 2023 00:28
# Conflicts:
#	module-system/module-implementations/sov-evm/src/evm/db.rs
#	module-system/module-implementations/sov-evm/src/lib.rs
@LukaszRozmej LukaszRozmej added this pull request to the merge queue Sep 19, 2023
Merged via the queue into nightly with commit 0a24457 Sep 19, 2023
13 checks passed
@LukaszRozmej LukaszRozmej deleted the evm/code_stored_seperately branch September 19, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EVM: Keep code by hash
2 participants