• 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
..
accounts Loading commit data...
build Loading commit data...
cmd Loading commit data...
common Loading commit data...
consensus Loading commit data...
console Loading commit data...
contracts/checkpointoracle Loading commit data...
core Loading commit data...
crypto Loading commit data...
diffdb Loading commit data...
docs/audits Loading commit data...
eth Loading commit data...
ethclient Loading commit data...
ethdb Loading commit data...
ethstats Loading commit data...
event Loading commit data...
graphql Loading commit data...
internal Loading commit data...
les Loading commit data...
light Loading commit data...
log Loading commit data...
metrics Loading commit data...
miner Loading commit data...
mobile Loading commit data...
node Loading commit data...
p2p Loading commit data...
params Loading commit data...
rlp Loading commit data...
rollup Loading commit data...
rpc Loading commit data...
scripts Loading commit data...
signer Loading commit data...
swarm Loading commit data...
tests Loading commit data...
trie Loading commit data...
whisper Loading commit data...
.golangci.yml Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CHANGELOG.md Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
fuzzbuzz.yaml Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
interfaces.go Loading commit data...
package.json Loading commit data...