- 11 Jun, 2021 5 commits
-
-
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:
Kelvin Fichter <kelvinfichter@gmail.com>
-
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
-
Karl Floersch authored
-
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:
Kelvin Fichter <kelvinfichter@gmail.com>
-
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
-
- 10 Jun, 2021 5 commits
-
-
Karl Floersch authored
-
Liam Horne authored
-
Liam Horne authored
-
Liam Horne authored
* ci: enable custom tagging of release docker image * ci: refactor to add prerelease prefix for secuirty * doc: typo
-
Mark Tyneway authored
* l2geth: optimize loops * l2geth: stop ticker when done * l2geth: don't wait for first tick * chore: add changeset
-
- 09 Jun, 2021 8 commits
-
-
Mark Tyneway authored
* l2geth: delete extra config options * l2geth: stop using extra config options * l2geth: more stop using extra config options * chore: add changeset * l2geth: add new config for gpo owner * chore: add changeset * l2geth: fix tests * tests: fix build
-
dependabot[bot] authored
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/gulpjs/glob-parent/releases) - [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md) - [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2) --- updated-dependencies: - dependency-name: glob-parent dependency-type: indirect ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
smartcontracts <kelvinfichter@gmail.com> Co-authored-by:
Liam Horne <liam@lihorne.com>
-
smartcontracts authored
* wip: first draft of the fee wallet * add fee wallet to dump * rename to sequencer vault * add L1 fee wallet to geth config * add unit tests * fix geth linting error * add a basic integration test * fix broken integration test * add test for correct storage slot * add integration test for fee withdrawal * fix typo in integration tests * fix a bug bin integration tests * Update OVM_SequencerFeeVault.sol * fix bug in contract tests * chore: add changeset * fix bug in contract tests
-
smartcontracts authored
* feat[contracts]: add L1ChugSplashProxy * improve comments slightly * start adding tests * add more tests * make the system pausable * added another test * add some extra comments * Update packages/contracts/test/contracts/chugsplash/L1ChugSplashProxy.spec.ts Co-authored-by:
Maurelian <maurelian@protonmail.ch> * Update packages/contracts/test/contracts/chugsplash/L1ChugSplashProxy.spec.ts Co-authored-by:
Maurelian <maurelian@protonmail.ch> * chore: add changeset * address review feedback Co-authored-by:
Maurelian <maurelian@protonmail.ch>
-
smartcontracts authored
* refactor[contracts]: remove one-off gpo deployment * chore: add changeset
-
Mark Tyneway authored
* l2geth: remove the gas refund * chore: add changeset
-
github-actions[bot] authored
Co-authored-by:
github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-
Tim Myers authored
-
- 08 Jun, 2021 3 commits
-
-
Annie Ke authored
-
github-actions[bot] authored
Co-authored-by:
github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-
Mark Tyneway authored
* config: set etherbase * l2geth: add deterministic clique key * l2geth: default value * chore: add changeset * test: add sync test for deterministic blockhash Co-authored-by:
Kevin Ho <kevinjho1996@gmail.com>
-
- 07 Jun, 2021 1 commit
-
-
smartcontracts authored
* fix[dtl]: fix dtl bug breaking verifiers * tweaks so tests pass * chore: add changeset
-
- 06 Jun, 2021 1 commit
-
-
Karl Floersch authored
-
- 04 Jun, 2021 4 commits
-
-
Tim Myers authored
The use of eth_getBlockRange returns a large response which is very slow to parse in ethersjs, and can block the event loop for upwards of multiple seconds. When this happens, incoming http requests will likely timeout and fail. Instead, we will parse the incoming http stream directly with the bfj package, which yields the event loop periodically so that we don't fail to serve requests.
-
Liam Horne authored
-
Mark Tyneway authored
* dtl: remove stringify from db logic * l2geth: overflow protection * dtl: overflow protection * chore: add changeset
-
Liam Horne authored
* refactor: improve logging for transactions being submitted to chain with gasPrice * lint: apply lint autofixes
-
- 03 Jun, 2021 8 commits
-
-
Liam Horne authored
* ci: tag docker image for canary with abbreviated GITHUB_SHA * ci: update from 6 bytes to 8 bytes of abbreviation
-
Liam Horne authored
-
Georgios Konstantopoulos authored
* fix(sync-service): prevent underflows * chore: add changeset * chore: remove dead confirmation depth * chore: remove eth1conf depth from rollup config
-
Karl Floersch authored
* refactor: queueOrigin type * Convert queueOrigin to uint8 in encode * Add changeset * Regenerate json marshall * style: combine lines * Add Stringer for QueueOrigin * Turn QueueOrigin into uint8 * l2geth: gen tx meta fix * l2geth: gen tx meta fix * lint Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com>
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Mark Tyneway authored
-
Karl Floersch authored
* feat[contracts]: add GasPriceOracle w/o predeploy Based on #912 * 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> * Add an L2 deploy script for gas oracle contract * Add a kovan deployment artifact * Add deployment to readme * Add extra validation & initial execution price * Update README.md * Fix execution price logic * Perform new deployment with final contract * contracts: better require in ovm gas price oracle * Deploy L2GasPriceOracle * Update contract to use new fee logic & rename to gas * Deploy updated contract * Fix lint * gas price oracle: do not restrict gas price * gas price oracle: new deployment * tests: delete dead test Co-authored-by:
smartcontracts <kelvinfichter@gmail.com> Co-authored-by:
Mark Tyneway <mark.tyneway@gmail.com> Co-authored-by:
Georgios Konstantopoulos <me@gakonst.com>
-
- 02 Jun, 2021 5 commits
-
-
Maurelian authored
* chore(contracts): make container addresses be constants chore(contracts): consistent style for constant vars * chore(contracts): add internal on predeploy constants
-
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
-
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
-
Mark Tyneway authored
* dtl: log error stack for failed http request * chore: add changeset
-
smartcontracts authored
* docs[message-relayer]: add basic docs and clean up an interface * chore: add changeset
-