1. 11 Jun, 2021 5 commits
    • Kevin Ho's avatar
      feat[contracts]: slightly better account funding for hardhat accounts (rebased) (#1065) · 48ece14c
      Kevin Ho authored
      * feat[contracts]: better account funding for hardhat accounts
      
      * add a sleep to avoid any potential problems
      
      * chore: add changeset
      
      * fix: bug with gas estimation in funding step
      
      * fix: limit to 20 accounts max
      Co-authored-by: default avatarKelvin Fichter <kelvinfichter@gmail.com>
      48ece14c
    • Kevin Ho's avatar
      Add erc1271 support to contract account (#1052) · 25f09abd
      Kevin Ho authored
      * add ERC1271 support, failing unit tests
      
      * add integration test for isValidSignature
      
      * remove .only
      
      * lint
      
      * add changeset
      
      * clean up 1271 tests and lint
      
      * switch back to using waffle wallet
      
      * lint
      
      * fix import
      25f09abd
    • Karl Floersch's avatar
    • 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
    • Mark Tyneway's avatar
      fix: abi encoded tx (#1049) · c2a04893
      Mark Tyneway authored
      * contracts: don't double rlp decode
      
      * chore: add changeset
      
      * lint: fix
      
      * deps: update
      
      * linting: cleanup
      
      * feat: contracts: use selector
      
      * fix: contracts: use typescript
      
      * contracts: use interface
      c2a04893
  2. 10 Jun, 2021 5 commits
  3. 09 Jun, 2021 8 commits
  4. 08 Jun, 2021 3 commits
  5. 07 Jun, 2021 1 commit
  6. 06 Jun, 2021 1 commit
  7. 04 Jun, 2021 4 commits
  8. 03 Jun, 2021 8 commits
  9. 02 Jun, 2021 5 commits
    • Maurelian's avatar
      More consistent style for Constant values (#991) · 7f5936a8
      Maurelian authored
      * chore(contracts): make container addresses be constants
      chore(contracts): consistent style for constant vars
      
      * chore(contracts): add internal on predeploy constants
      7f5936a8
    • Maurelian's avatar
      Pass additional information across domains via token gateways (#824) · e29fab10
      Maurelian authored
      * feat(contracts): add from and data args to L1ERC20Gateway
      
      fix(integration): add gasLimit to fundUser
      
      refactor(contracts): add data to gateway events
      add changeset
      
      fix(integration): provide data in outboundTransfer
      
      refactor(contracts): reset Abs_L2TokenGateway to Abs_L2DepositedToken
      
      refactor(contracts): fix mismatched names
      
      * feat[contracts]: add custom gas arg to gateway
      
      fix(contracts): take max of user vs. default gas
      
      * fix(integrations): update ovm-eth function call
      
      * fix(integration): remove unecessary explicit gasLimit
      
      * test(contracts): 32kb transfer, 9MM gas
      
      * fix(contracts): fixup comment, bytes arg last
      
      * fix(integration): args order in integrations
      
      * fix(contracts): remove unused L2 gas arg
      
      * fix(contracts): limit data that can be passed to L2
      
      * fix(integration): better tests for data length
      
      * test: check for error on too large data
      
      * Experimental: specify gaslimit in before hook
      
      * fix(integration): add l2 gas argument
      
      * fix: increase gas on fundUser
      
      * fix(contracts): remove duplicate max size limit
      
      * fix(integration): fine tune gas amounts
      
      * lint
      
      * fix: large data test
      
      * fix(integration): set gas closer to real cost
      
      * fix(contracts): remove unused bridge variables
      These variables were the default gas amounts for cross domain messages
      
      * fix(contracts): Reorder args
      
      Place dynamic length args last
      
      * fix(integration): update estimateGas values
      
      * fix(integration): reset eth withdraw estimate to 21000
      
      * fix(integration): update expected gas amount
      
      * fix(integration): reduce gas amount for ETH withdraw
      e29fab10
    • Ben Wilson's avatar
      Add rpc-proxy service for whitelisting JSON RPC methods to the sequencer. (#945) · a02392b0
      Ben Wilson authored
      * Add healthcheck endpoint for rpc-proxy
      Added ethereum-nginx-proxy source
      updated README and docker image build
      
      * Check ETH_CALLS_ALLOWED is set, clean up comments, remove old Dockerfile
      a02392b0
    • Mark Tyneway's avatar
      dtl: log error stack for failed http request (#995) · e52ccd98
      Mark Tyneway authored
      * dtl: log error stack for failed http request
      
      * chore: add changeset
      e52ccd98
    • smartcontracts's avatar
      docs[message-relayer]: add a README and improve the interface for generating proofs (#1002) · 9d39121b
      smartcontracts authored
      * docs[message-relayer]: add basic docs and clean up an interface
      
      * chore: add changeset
      9d39121b