Add EVMC_MONAD revsion changes to the VM#32
Open
goodlyrottenapple wants to merge 7 commits into
Open
Conversation
5c89756 to
5e4214f
Compare
5e4214f to
bc8cd2e
Compare
4113c2b to
11d84f2
Compare
11d84f2 to
ca9745d
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
These are all the monad changes to date and the changes applied to the VM (if applicable) for each item:
Code size
replaced single contant
MAX_CODE_SIZEinlib/evmone/constants.hppwithETHEREUM_MAX_CODE_SIZE/MONAD_MAX_CODE_SIZE, settingMONAD_MAX_CODE_SIZEto128 * 1024Initcode size
replaced single contant
MAX_INITCODE_SIZEinlib/evmone/constants.hppwithETHEREUM_MAX_INITCODE_SIZE/MONAD_MAX_INITCODE_SIZE, settingMONAD_MAX_INITCODE_SIZEto2 * MONAD_MAX_CODE_SIZEReserve balance
N/A to the VM
System txns
N/A to the VM
Staking precompile
N/A to the VM
Refunds
N/A to the VM
Storage repricing
renamed
cold_sload_costtocold_sload_cost_ethereumandcold_account_access_costtocold_account_access_cost_ethereumand added new constantscold_sload_cost_monadandcold_account_access_cost_monadinlib/evmone/instructions_traits.hppPrecompile repricing
N/A to the VM
CREATE repricing
N/A happens in the host
Create inside delegated
Added check to
create_implinlib/evmone/instructions_calls.cpp, callingget_delegate_addresswhich is equivalent toresolve_delegationin monad