• ben-chain's avatar
    feat(contracts, l2geth): native ETH value support for ovmCALL (#1038) · e04de624
    ben-chain authored
    * feat(contracts): add ovmCALL-types with native value
    
    * add ovmCALLVALUE context
    
    * add ovmBALANCE
    
    * test success and revert cases
    
    * test empty contract case
    
    * chore: lint
    
    * test(integration-tests): ovmCALL-types with value (compiler and wrapper)
    
    * fix ovmDELEGATECALL type, update tests
    
    * add ovmSELFBALANCE
    
    * fix ovmDELEGATECALL jumping to CALL
    
    * chore: lint
    
    * fix(contracts): account for intrinsic gas of OVM_ETH sends
    
    * fix(contracts): merge conflict bug
    
    * fix(contracts): update gas benchmark
    
    * feat(contracts, integration-tests): use new value-compatible compiler
    
    * feat(contracts,l2geth): support value calls in OVM_ECDSAContractAccount
    
    * fix(contracts): ovmDELEGATECALL does not change message context
    
    * feat(contracts): sending value between EOAs
    
    * test(integration-tests): ovmDELEGATECALL preserves ovmCALLVALUE
    
    * test(integration-tests): assert ovmSELFBALANCEs correct
    
    * test(integration-tests): intrinsic gas for eth value calls
    
    * test(integration-tests): update gas values
    
    * chore(contracts): lint
    
    * feat(contracts, l2geth): eth_calls with nonzero value
    
    * chore: minor fixups and comments based on PR feedback
    
    * test(integration-tests): add requested tests from PR reviews
    
    * test(integration-tests): ovmSELFBALANCE is preserved in ovmDELEGATECALLs
    
    * fix(contracts): fix bug where ovmDELEGATECALL could fail if balance was lower than the ovmCALLVALUE
    
    * chore: add changeset
    
    * fix(contracts): update intrinsic gas for worst-case value sends
    
    * chore: address final PR nits/improvements
    Co-authored-by: default avatarKelvin Fichter <kelvinfichter@gmail.com>
    e04de624
Name
Last commit
Last update
..
asm Loading commit data...
bloombits Loading commit data...
forkid Loading commit data...
rawdb Loading commit data...
state Loading commit data...
types Loading commit data...
vm Loading commit data...
.gitignore Loading commit data...
bench_test.go Loading commit data...
block_validator.go Loading commit data...
block_validator_test.go Loading commit data...
blockchain.go Loading commit data...
blockchain_insert.go Loading commit data...
blockchain_test.go Loading commit data...
blocks.go Loading commit data...
chain_indexer.go Loading commit data...
chain_indexer_test.go Loading commit data...
chain_makers.go Loading commit data...
chain_makers_test.go Loading commit data...
dao_test.go Loading commit data...
error.go Loading commit data...
events.go Loading commit data...
evm.go Loading commit data...
gaspool.go Loading commit data...
gen_genesis.go Loading commit data...
gen_genesis_account.go Loading commit data...
genesis.go Loading commit data...
genesis_alloc.go Loading commit data...
genesis_test.go Loading commit data...
headerchain.go Loading commit data...
mkalloc.go Loading commit data...
state_prefetcher.go Loading commit data...
state_processor.go Loading commit data...
state_transition.go Loading commit data...
state_transition_ovm.go Loading commit data...
tx_cacher.go Loading commit data...
tx_journal.go Loading commit data...
tx_list.go Loading commit data...
tx_list_test.go Loading commit data...
tx_noncer.go Loading commit data...
tx_pool.go Loading commit data...
tx_pool_test.go Loading commit data...
types.go Loading commit data...