- 02 Jun, 2021 8 commits
-
-
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
-
smartcontracts authored
-
smartcontracts authored
-
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
-
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
-
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
-
smartcontracts authored
-
smartcontracts authored
-
- 31 May, 2021 2 commits
-
-
dependabot[bot] authored
Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.4.6. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Elena Gesheva authored
* Add static analysis github action setup python and install slither * Add nvmrc file for setting node to v14.17 * Update slither command run to link missing contract packages from monorepo root * Add steps for installing dependencies * Add yarn build step to github action * Enable colour in github action for static analysis * Disable certain detectors * Ensure slither does not fail build * Add instructions on running static analysis to monorepo readme
-
- 29 May, 2021 13 commits
-
-
Mark Tyneway authored
* l2 geth: new fee logic * l2 geth: migrate to fees package * core-utils: new fee scheme * chore: add changeset * l2geth: delete dead code * integration-tests: fix typo * integration-tests: fixes * fees: use fee scalar * lint: fix * rollup: correct gas payment comparison * fix(integration-tests): do not hardcode gas price * core-utils: update with new scheme * l2geth: refactor rollup oracle * l2geth: clean up DoEstimateGas * l2geth: implement latest scheme * tests: fix up * lint: fix * l2geth: better sycn service test * optimism: rename to TxGasLimit * fee: fix docstring * tests: fix * variables: rename * l2geth: prevent users from sending txs with too high of a fee * integration-tests: fix import * integration-tests: fix type * integration-tests: fix gas limits * lint: fix * l2geth: log error Co-authored-by:
Georgios Konstantopoulos <me@gakonst.com>
-
Karl Floersch authored
* feat: add deployment instructions to readme * Add changeset * fix style * Update README.md
-
Maurelian authored
* fix(contracts): import predeploys * fix: lint
-
smartcontracts authored
* feat[contracts]: replace Lib_RingBuffer with a simpler Lib_Buffer * chore: changeset * test: add tests for Lib_Buffer * lint: fix * test: add extra coverage for Lib_Buffer * Update packages/contracts/contracts/optimistic-ethereum/libraries/utils/Lib_Buffer.sol Co-authored-by:
ben-chain <ben@pseudonym.party> * add some extra comments Co-authored-by:
ben-chain <ben@pseudonym.party>
-
Georgios Konstantopoulos authored
-
Rajiv Patel-O'Connor authored
* added library for predeploy addresses * refactor tests and other packages to use exported predeploys * revert library usage in OVM_ECDSAContractAccount * lint * added newline * fixed address typos Co-authored-by:
rajivpo <rajivpatel-oconnor@Rajivs-MacBook-Pro-2.local> Co-authored-by:
smartcontracts <kelvinfichter@gmail.com>
-
Georgios Konstantopoulos authored
Uniswap V3 contracts require that, otherwise they throw call exceptions at deployment
-
smartcontracts authored
* feat[contracts]: congestion price oracle * chore: add changeset * contracts: gas price oracle (#917) * contracts: gas price oracle * tests: update * fees: fix tests * contracts: simplify gas price oracle * lint: fix * test: execution price is at the 1st storage slot * chore: rename predeploy to GasPriceOracle * chore: rename gas price oracle test name Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com> Co-authored-by:
Georgios Konstantopoulos <me@gakonst.com>
-
Mark Tyneway authored
* l2geth: remove tx type * l2geth: no longer parse type in rollup client * chore: add changeset * chore: remove extra sighash params * fix: do not check txtype in integration tests Co-authored-by:
Georgios Konstantopoulos <me@gakonst.com>
-
Karl Floersch authored
-
smartcontracts authored
-
Mark Tyneway authored
* optimism: bump gaslimit to 10million * chore: add changeset * optimism: bump max gaslimit to 10 mil * chore: add changeset * chore: remove unnecessary changeset * chore: remove unnecessary changeset Co-authored-by:
Georgios Konstantopoulos <me@gakonst.com>
-
Elena Gesheva authored
* Remove messageNonce from BaseCrossDomainMessenger and use CTC queue lenght instead Remove Abs_BaseCrossDomainMessenger and restore dedicated nonce generation in OVM_L2CrossDomainMessenger Fix typo * Remove sentMessages mapping from L1CrossDomainMessenger storage and use the nonce to check for existence of replayed transaction * Refactor out common library function for getting cross domain calldata * Post rebase fixes * Use the queueIndex to check the transaction was enqueued * Fix tests for L1CrossDomainMessenger.replayMessage Also make that test work with an actual CanonicalTransactionChain implementation rather than a smock * Lint fixes * Optimise the resolve calls into the AddressManager lib * Rename the nonce parameter to be clear * Update test name Co-authored-by:
ben-chain <ben@pseudonym.party> * Rename getXDomainCalldata to encodeXDomainCalldata to match the new Lib_CrossDomainUtils Co-authored-by:
ben-chain <ben@pseudonym.party>
-
- 28 May, 2021 7 commits
-
-
smartcontracts authored
* feat: update and improve AddressSet event * chore: add changeset * Update Lib_AddressManager.sol
-
smartcontracts authored
* feat[contracts]: disable eoa upgrades temporarily * chore: add changeset * Update OVM_ProxyEOA.sol * fix: turn upgrade into a noop * lint: fix
-
smartcontracts authored
* maintenance: use dashes in chain container names * chore: add changeset
-
smartcontracts authored
* wip: Started working on L2 contract testing revamp * test: clean tests for ProxyEOA * style: clean imports for ProxyEOA tests * test: port tests for ECDSAContractAccount * fix tests and add wrapper to dump * fix: add em wrapper to l2 deploy * ffix: add comments to wrapper contract * fix: add more comments * fix: add smock comment for unbind * Update packages/smock/src/smockit/binding.ts
-
smartcontracts authored
* fix: use correct line endings for windows * chore: add changeset
-
Maurelian authored
-
smartcontracts authored
* fix[dtl]: represent gas limit as a string to avoid issues with large gas limits * chore: add changeset * l2geth: rollup client type decode string * chore: add changeset Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
- 27 May, 2021 4 commits
-
-
Annie Ke authored
* feat[ops]: add verifier config * add verifier sync test * add changeset
-
Mark Tyneway authored
-
smartcontracts authored
* feat[smock]: add support for overloaded functions * chore: add changeset
-
Georgios Konstantopoulos authored
* test: adds test that gas estimation is deterministic * chore: yarn lint
-
- 26 May, 2021 5 commits
-
-
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:
Georgios Konstantopoulos <me@gakonst.com> * l2geth: more robust testing Co-authored-by:
Georgios 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:
Georgios Konstantopoulos <me@gakonst.com>
-
github-actions[bot] authored
Co-authored-by:
github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-
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:
Georgios Konstantopoulos <me@gakonst.com>
-
github-actions[bot] authored
Co-authored-by:
github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by:
Liam Horne <liam@lihorne.com>
-
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
-
- 25 May, 2021 1 commit
-
-
Liam Horne authored
-