1. 02 Jun, 2021 8 commits
    • 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
    • smartcontracts's avatar
    • smartcontracts's avatar
      e4103622
    • smartcontracts's avatar
      fix[smock]: fix broken call assertions for overloaded functions (#996) · 5e3c5d1c
      smartcontracts authored
      * fix[smock]: fix broken call assertions for overloaded functions
      
      * chore: add changeset
      
      * minor correction and add a test
      
      * add a test for non-overloaded functions
      5e3c5d1c
    • Mark Tyneway's avatar
      backwards compatible dtl syncing (#986) · 1293825c
      Mark Tyneway authored
      * kovan: fix attempt
      
      * kovan: db fix
      
      * kovan: types are strings from db
      
      * l2geth: parse things as strings
      
      * chore: add changeset
      
      * dtl: also stringify the range query
      
      * geth: dereference
      
      * geth: assign err
      
      * dtl: handle null
      
      * dtl: fix unit tests
      1293825c
    • smartcontracts's avatar
      feat[message-relayer]: relay tx generator (#952) · 86708bb5
      smartcontracts authored
      * feat[message-relayer]: relay tx generator
      
      * whoops, I burned our infura key
      
      * fix minor bug
      
      * add comments
      
      * add more comments and clean stuff up
      
      * add empty test descriptions
      
      * add tests
      
      * move smock to dev deps
      
      * chore: add changeset
      
      * minor cleanup to merkle tree proof function
      
      * use bignumber math to avoid nested await
      
      * use a better interface
      
      * minor fixes and simplifications
      86708bb5
    • smartcontracts's avatar
      c4c7beaa
    • smartcontracts's avatar
      e1d66363
  2. 31 May, 2021 2 commits
  3. 29 May, 2021 13 commits
  4. 28 May, 2021 7 commits
  5. 27 May, 2021 4 commits
  6. 26 May, 2021 5 commits
    • Mark Tyneway's avatar
      Refactor the SyncService to more closely implement the specification (#552) · a25acbbd
      Mark Tyneway authored
      * l2geth: add Backend enums and config parsing
      
      * l2geth: move OVMContext to types file
      
      * l2geth: implement syncservice spec
      
      * l2geth: fix error handling for get tx batch
      
      * l2geth: update tests to compile and pass
      
      * l2geth: add sync range functions
      
      * l2geth: add batch index indexing
      
      * l2geth: update syncservice hot path logging
      
      * l2geth: use indexed batch index
      
      * chore: add changeset
      
      * l2geth: sync spec refactor (#822)
      
      * l2geth: more in depth usage string
      
      * l2geth: add standard client getters for index
      
      * l2geth: refactor sync service into shared codepaths
      
      * l2geth: clean up tests
      
      * l2geth: better logging and error handling
      
      * test: improve test coverage around timestamps
      
      * l2geth: improve docstring
      
      * l2geth: rename variable
      
      * sync-service: better logline
      
      * l2geth: better logline
      
      * l2geth: test apply indexed transaction
      
      * l2geth: better logline
      
      * linting: fix
      
      * syncservice: fix logline
      
      * l2geth: add error and fix logline
      
      * l2geth: sync service tests
      
      * fix: get last confirmed enqueue (#846)
      
      * l2geth: fix get last confirmed enqueue
      
      * chore: add changeset
      
      * client: return error correctly
      
      * batch-submitter: updated config (#847)
      
      * batch-submitter: backwards compatible configuration
      
      * chore: add changeset
      
      * deps: update
      
      * js: move bcfg interface to core-utils
      
      * batch-submitter: parse USE_SENTRY and add to env example
      
      * chore: add changeset
      
      * batch-submitter: parse as float instead of int
      
      * batch-submitter: better error logging
      
      * l2geth: update rawdb logline
      Co-authored-by: default avatarGeorgios Konstantopoulos <me@gakonst.com>
      
      * l2geth: more robust testing
      Co-authored-by: default avatarGeorgios Konstantopoulos <me@gakonst.com>
      
      * l2geth: add sanity check for L1ToL2 timestamps
      
      * l2geth: handle error in single place
      
      * l2geth: fix test tx queue origin
      
      * l2geth: add new arg to start.sh
      
      * l2geth: return error in the SyncService.Start()
      
      * chore: go fmt
      Co-authored-by: default avatarGeorgios Konstantopoulos <me@gakonst.com>
      a25acbbd
    • github-actions[bot]'s avatar
    • Mark Tyneway's avatar
      l2geth: updated calculate rollup fee (#906) · f8804797
      Mark Tyneway authored
      * l2geth: updated calculate rollup fee
      
      * l2geth: implement the gasprice serialization
      
      * lint: fix
      
      * rollup-test: fix
      
      * l2geth: gaslimit encoding state polling (#927)
      
      * l2geth: rollup gas price oracle state polling
      
      * l2geth: read l2 gasprice from the tip
      
      * l2geth: add config options for L2 gas price
      
      * l2geth: comment to remove code in future
      
      * l2geth: handle 0 and 1 fees
      
      * l2geth: enable 0 and 1 fee tests
      
      * feat: gaslimit encoding end to end (#932)
      
      * core-utils: add fees package
      
      * integration-tests: refactor for new fees
      
      * l2geth: end to end fee spec
      
      * l2geth: use new env var
      
      * deps: regenerate
      
      * lint: fix
      
      * l2geth: fee verification
      
      * tests: update gas prices
      
      * tests: update gas prices
      
      * tests: cleanup
      
      * l2geth: small cleanup
      
      * l2geth: fix max
      
      * feat: fix fee calculations with bigints
      
      * tests: fix
      
      * tests: lint
      
      * core-utils: rename fees to L2GasLimit
      
      * l2geth: fix comment
      
      * l2geth: fix name of env var
      
      * l2geth: delete extra print statement
      
      * l2geth: fix logline
      
      * tests: fix typo
      
      * l2geth: improve readability
      
      * chore: add changeset
      
      * l2geth: fix compiler error
      
      * feat: clean up and fix fees
      
      * lint: fix
      
      * core-utils: refactor api to be more friendly
      
      * lint: fix
      
      * comments: fix
      
      * refactor: clean up style and common language
      Co-authored-by: default avatarGeorgios Konstantopoulos <me@gakonst.com>
      f8804797
    • github-actions[bot]'s avatar
    • smartcontracts's avatar
      fix[l2geth]: have successful deposits return a status of 1 (#937) · f091e867
      smartcontracts authored
      * fix[l2geth]: have successful deposits return a status of 1
      
      * chore: add changeset
      
      * Update evm.go
      
      * correctly handle reverts and add extra tests
      
      * various tweaks and have watcher handle failed txs
      
      * chore: add changeset
      
      * add tests for 42 and dead addresses
      f091e867
  7. 25 May, 2021 1 commit