The main goal is to get rid of assertion that requires recipient == code_address in case kind == EVMC_CALL. (In 7702 world CALL can have code_address pointing to a different (delegate) address.)
The idea is to split a variable dst_acc that was containing either recepient or code_address account into two separate variables for each thing.
This is needed to prepare for EIP-7702 https://github.com/ethereum/evmone/pull/961
The main goal is to get rid of assertion that requires
recipient == code_address
in casekind == EVMC_CALL
. (In 7702 world CALL can havecode_address
pointing to a different (delegate) address.)The idea is to split a variable
dst_acc
that was containing eitherrecepient
orcode_address
account into two separate variables for each thing.