Skip to content

proxyd updates from upstream#445

Merged
InoMurko merged 3 commits intodevelopfrom
inomurko/fix-proxyd-env-vars
Dec 13, 2022
Merged

proxyd updates from upstream#445
InoMurko merged 3 commits intodevelopfrom
inomurko/fix-proxyd-env-vars

Conversation

@InoMurko
Copy link
Contributor

@InoMurko InoMurko commented Nov 4, 2022

A number of updates have been pulled from upstream Optimism repo.

Overview

Describe what your Pull Request is about in a few sentences.

  1. testing is now done in cirleci (there were no tests before)
  2. the image is now build with develop and with release

Describe your changes and implementation choices. More details make PRs easier to review.

  1. support for pattern matchin in exempt origins. This should help with some of the issues Synthetix and others are seeing.
  2. proxyd: Allow disabling backend rate limiting ethereum-optimism/optimism#3700
  3. adds log level conf to proxyd ethereum-optimism/optimism#3704
  4. proxyd: Integrate custom rate limiter ethereum-optimism/optimism#3681
  5. proxyd: Custom rate limiter implementation ethereum-optimism/optimism#3679
  6. fix(proxyd): Fix compliance with JSON-RPC 2.0 spec by adding optional RPCError.Data ethereum-optimism/optimism#3683
  7. proxyd: Add batch size metric and configurable max ethereum-optimism/optimism#3545
  8. proxyd: Add customizable whitelist error message ethereum-optimism/optimism#3544
  9. proxyd: Fix error message in tests ethereum-optimism/optimism#3503
  10. proxyd: Add logging for origin and remote IP ethereum-optimism/optimism#3482
  11. proxyd: Support per-RPC rate limits ethereum-optimism/optimism#3471
  12. proxyd: Unwrap single RPC batches ethereum-optimism/optimism#3165
  13. proxyd: Add frontend rate limiting ethereum-optimism/optimism#3166
  14. proxyd: Parameterize full RPC request logging ethereum-optimism/optimism#3110
  15. proxyd: Use canned response for eth_accounts ethereum-optimism/optimism#2801
  16. proxyd: Fix concurrent WS write panic ethereum-optimism/optimism#2711
  17. proxyd: Handle unexpected JSON-RPC responses ethereum-optimism/optimism#2628

Testing

Unit testing and integration testing in circleci

@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2022

Codecov Report

Base: 44.74% // Head: 44.74% // No change to project coverage 👍

Coverage data is based on head (38ea9eb) compared to base (11327be).
Patch has no changes to coverable lines.

❗ Current head 38ea9eb differs from pull request most recent head d7d81a5. Consider uploading reports for the commit d7d81a5 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #445   +/-   ##
========================================
  Coverage    44.74%   44.74%           
========================================
  Files          106      106           
  Lines         4253     4253           
  Branches       847      847           
========================================
  Hits          1903     1903           
  Misses        2350     2350           
Flag Coverage Δ
boba-contracts 20.02% <ø> (ø)
contracts 79.30% <ø> (ø)
core-utils 86.80% <ø> (ø)
data-transport-layer 31.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@InoMurko InoMurko marked this pull request as ready for review November 4, 2022 10:58
@InoMurko InoMurko changed the title proxyd updates proxyd updates from upstream Nov 4, 2022
Copy link
Contributor

@wsdt wsdt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

return time.Duration(seconds) * time.Second
}

func configureBackendTLS(cfg *BackendConfig) (*tls.Config, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this perhaps adds support for TLS to the backends?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep!

@InoMurko InoMurko requested a review from rupertbg November 14, 2022 15:20
@InoMurko InoMurko force-pushed the inomurko/fix-proxyd-env-vars branch 2 times, most recently from 8f4e744 to b19896b Compare November 16, 2022 13:32
@InoMurko
Copy link
Contributor Author

Copy link
Contributor

@souradeep-das souradeep-das left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@InoMurko InoMurko force-pushed the inomurko/fix-proxyd-env-vars branch from b19896b to aed4a5c Compare November 17, 2022 14:18
@InoMurko InoMurko force-pushed the inomurko/fix-proxyd-env-vars branch from aed4a5c to eb447c6 Compare November 30, 2022 15:06
@InoMurko InoMurko force-pushed the inomurko/fix-proxyd-env-vars branch from eb447c6 to ab96013 Compare December 2, 2022 09:42
@InoMurko InoMurko force-pushed the inomurko/fix-proxyd-env-vars branch from ab96013 to 788f314 Compare December 12, 2022 17:49
@InoMurko InoMurko merged commit ed418d3 into develop Dec 13, 2022
@InoMurko InoMurko deleted the inomurko/fix-proxyd-env-vars branch December 13, 2022 01:05
InoMurko added a commit that referenced this pull request Jan 18, 2023
* proxyd updates

* proxyd tests

(cherry picked from commit ed418d3)
InoMurko added a commit that referenced this pull request Jan 18, 2023
* Turing Multi-Value (#204)

* Re-apply the hybrid-compute Version field and maximum length limits
from the previous mm/turing-multivalue branch.

 Changes to be committed:
	modified:   l2geth/core/types/transaction_meta.go
	modified:   l2geth/core/vm/evm.go

* Adapt the 002_local_math.ts test from the old branch. Add V1 handler
to TuringHelper contract. This test file is ignored unless testing
on the local network.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/contracts/HelloTuring.sol
	modified:   boba_examples/turing-hello-world/contracts/ITuringHelper.sol
	modified:   boba_examples/turing-hello-world/contracts/TuringHelper.sol
	modified:   boba_examples/turing-hello-world/package.json
	new file:   boba_examples/turing-hello-world/test/local-webserver.ts

* Logfile changes.
 Changes to be committed:
	modified:   l2geth/core/vm/evm.go

* Add array support. Test for enforcement of length limits. Changes
the error strings in TuringHelper.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/contracts/HelloTuring.sol
	modified:   boba_examples/turing-hello-world/contracts/TuringHelper.sol
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts

* Charge extra gas based on the size of the Turing calldata. Does not
yet account for the L1/L2 gas price ratio.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts
	modified:   l2geth/core/evm.go
	modified:   l2geth/core/vm/errors.go
	modified:   l2geth/core/vm/evm.go

* Calculate Turing calldata fee based on L1 and L2 gas prices.

 Changes to be committed:
	modified:   core/evm.go
	modified:   core/vm/evm.go
	modified:   internal/ethapi/api.go

* Set a non-trivial L1 gas price and test large Turing responses.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts
	modified:   ops/docker-compose.yml

* Lint fixes
 Changes to be committed:
	modified:   l2geth/core/vm/evm.go
	modified:   l2geth/core/evm.go
	modified:   l2geth/internal/ethapi/api.go

* Revert the change to the default L1 base fee. Set it directly in
the Turing local-webserver test.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts
	modified:   ops/docker-compose.yml

* If LOCAL_PRIVATE_KEY is not set, use Hardhat account #16

 Changes to be committed:
	modified:   turing-hello-world/hardhat.config.ts

* As requested, call the new method "V2" rather than "V1".

 Changes to be committed:
	modified:   boba_examples/turing-complex-types/contracts/ComplexType.sol
	modified:   boba_examples/turing-complex-types/contracts/ITuringHelper.sol
	modified:   boba_examples/turing-complex-types/contracts/TuringHelper.sol
	modified:   boba_examples/turing-hello-world/contracts/HelloTuring.sol
	modified:   boba_examples/turing-hello-world/contracts/ITuringHelper.sol
	modified:   boba_examples/turing-hello-world/contracts/TuringHelper.sol
	modified:   l2geth/core/vm/evm.go

Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
(cherry picked from commit 858587a)

* feat: add sushi.com (#435)

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
(cherry picked from commit e382d69)

* Add ERC1155 bridges (#436)

* Add ERC1155 bridge

* Fix contract and tests

* Add more tests

* Fix issues and bugs

* Record amounts

(cherry picked from commit 11327be)

* Expose Deposit to other account on bridge page. (#421)

* change:
- added way in bridges to deposit to another account
- extended the existing functions.
- unable to test.
- updated the rpcUrl for rinkeby from infura to ankr.com

* - fix for depositTx not found.
- fix for controlled input
- ordered native bridges to top with other bridges.

* updated master config for rinkeby

* fetching the rinkeby chain info from env

* change: updated rinkeby chainid from env instead of hardcoded 4

* change- reverting the l2 env chain info from env as only needed for rinkeby

(cherry picked from commit df6629b)

* fix for unidex broken link (#451)

(cherry picked from commit 206cf40)

* [Gateway] : Remove airdrop page access from gateway (#454)

* remove airdrop page access from gateway

* change: airdrop cleanup, actions, contianer, reducer and readme.

(cherry picked from commit d858381)

* Deploy BOBA to Goerli (#441)

* Deploy core contracts

* Add boba core contract deployment

* Deploy more contracts

* Update gateway

* Add contracts and fix gateway

* Update contract addresses

* Update SDK

* Fix tests

* Add default value to goerli

* small docs and example fix for replica

* Add L2StandardTokenFactory

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(cherry picked from commit b7ac3aa)

* Fix rate limiting (#469)

(cherry picked from commit b51c55d)

* Feat : Bring Back Old Dao and Disable VeDao, VeLock, Liquidity Bootstrap (#464)

* bring back old dao on gateway with flag for veDao and Lock

* cleaning up the old dao

* cleanup for testnet name.

* .env cleanup and menu fix for vote and dao

(cherry picked from commit 7817f15)

* Add Teleportation contract and service (#407)

* Add Teleportation contract

* Support multi chains

* Fix initialization and add unit tests

* Add unit tests and fix bugs

* Add deployment script

* Fix issues

* Add new teleportation package

* Emit events

* Add run and service files

* Add teleportation service

* Add unit tests

* Add docker file

* Fix a bug and simplify the env

* Remove unnecessary env and add README

* Add logs

* Fix events

* Block disbursement if chain id is not registered

* Deploy new contract

* Fix bugs

* Update env name

* Fix tests

* Fix gas and event

* Update Teleportation.sol

* Add more tests

* Update Teleportation contract address

* add retries to flaky tests

Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit 1b5a65f)

* turing -> hc rebranding: boba-community (esp. Starter project) (#458)

* turing -> hc rebranding: boba-community (esp. Starter project)

* meta tx goerli support, hcStarter progress, goerli faucet deploy, add faucet to addresses

* goerli hc starter works

* cleanup - feedback

(cherry picked from commit 5c71436)

* Add memes wallet to Ecosystem (#447)

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
(cherry picked from commit 8b14147)

* Add BobaLink service (#481)

* Add BobaLink contract

* Fix typo

* Enable all tests

* Update contract and add tests

* Add tests and update data type

* Add API test

* Add BobaLink service

* Fix tests

* Fix integration tests

* Update order of functions

* Simplified oracle contract

* Remove acceptingSubmissions and updateFutureRounds

* Rewrite contract

* Add initialize function

* Fix getOracles interface and fix ownership

* Fix unit tests and bobalink tests

* Fix integration tests

* Fix boba deployer

* Fix tests and rename functions

* Update default value

* Fix name

(cherry picked from commit 820dc70)

* proxyd updates from upstream (#445)

* proxyd updates

* proxyd tests

(cherry picked from commit ed418d3)

* account abstraction setup (#472)

* account abstraction setup

* account abstraction setup - deps

* test fixes

* run ci tests

* bump typechain and paths

* bump ts-node

* bump dependencies and fix tests

* bump dependencies and fix tests - bundler fixes

* resolve all dependency issues and bump tests

* resolve all dependency issues and bump tests

* fix revert reason on out of bounds

* linting fix

* unused deps and timeout on factory deploy

* replace new revert string erc721

* update yarn.lock

* increase timeouts

* move the timeout into the while loop

* would a bigger cirleci box help sort out nonces

(cherry picked from commit 7a8005c)

* Cookbook added to projects (#488)

(cherry picked from commit 83ae38a)

* [Gateway] : add changenow and now wallet ecosystem (#507)

(cherry picked from commit 39964f9)

* Add dev tool page and TX builder (#498)

* Add dev tool page

* Reset method if ABI is updated

* Move link to footer

(cherry picked from commit 7beb168)

* feat: add custom paymasters for Boba  (#489)

* add Boba deposit paymaster

* update paymasters with decimals

* add tests

* add token exchange tests

* add conversion tests

* add comments

* add upgradeable wallet

* add verifying_paymaster_test

* update contract name

* feat: add alt-l1 paymaster

* doc: update readme

* add deposit paymaster sequence

* add verifying paymaster sequence

* update README

* refactor: rename to manual paymaster

* add gpo paymaster tests

* docs: update readme

* docs: update readme

(cherry picked from commit a46f7d2)

* Add GET method for fraud detector (#506)

(cherry picked from commit ea57e64)

* Upgrade packages and fix local development environment (#512)

* unify typing system

* unify typing system

* cleanup

* unify typing system

* compiler fixes

* Remove builder

* update sentry dependency, build flow in cirleci

* copy ops_boba to the package image

* relayer fast needs to wait for boba deployer

* Build services via Dockerfile.packages

* Start stack only one time

* Fix eslint and tests

* Remove unused packages and fix ts check

* Fix unit tests

* Fix dependency for bundler

* Fix dependency for bundler

* Fix yarn.lock

* Add coverage tests for services

* Run bobalink in docker

* Fix integration test in circle ci

* Add env for API

* Debug production api tests

* Remove log

* Fix release and replace bobalink key

* Fix repeating time

* Fix lint

* Fix output in circleci

* Reduce waiting time for reporting coverage results

Co-authored-by: cby3149 <cby3149@gmail.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
(cherry picked from commit b0d7c18)

* [Gateway] :  Add Babylons ecosystem (#518)

* add babylons in ecosystem page

* console cleanup

(cherry picked from commit fd09f80)

* feat: bring back classic dao and separate veDao features (#462)

* feat: bring back classic dao and separate veDao features

* style: lint contract

* rem ve deps from monorepo

* get back the dep for package to build

* style: lint contract

(cherry picked from commit 4aea742)

* modify building images for release workflows (#520)

* building services

* we don't need foundry image

(cherry picked from commit 82020c3)

Co-authored-by: Michael Montour <83612658+mmontour1306@users.noreply.github.com>
Co-authored-by: HHK <80489471+HHK-ETH@users.noreply.github.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Ahmad Heidari <headria@gmail.com>
Co-authored-by: Jackson Felty <30478599+pnkfluffy@users.noreply.github.com>
Co-authored-by: Elijah Fischer <75019378+elfischernow@users.noreply.github.com>
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
InoMurko added a commit that referenced this pull request Jan 24, 2023
* proxyd updates

* proxyd tests

(cherry picked from commit ed418d3)
InoMurko added a commit that referenced this pull request Jan 24, 2023
* Turing Multi-Value (#204)

* Re-apply the hybrid-compute Version field and maximum length limits
from the previous mm/turing-multivalue branch.

 Changes to be committed:
	modified:   l2geth/core/types/transaction_meta.go
	modified:   l2geth/core/vm/evm.go

* Adapt the 002_local_math.ts test from the old branch. Add V1 handler
to TuringHelper contract. This test file is ignored unless testing
on the local network.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/contracts/HelloTuring.sol
	modified:   boba_examples/turing-hello-world/contracts/ITuringHelper.sol
	modified:   boba_examples/turing-hello-world/contracts/TuringHelper.sol
	modified:   boba_examples/turing-hello-world/package.json
	new file:   boba_examples/turing-hello-world/test/local-webserver.ts

* Logfile changes.
 Changes to be committed:
	modified:   l2geth/core/vm/evm.go

* Add array support. Test for enforcement of length limits. Changes
the error strings in TuringHelper.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/contracts/HelloTuring.sol
	modified:   boba_examples/turing-hello-world/contracts/TuringHelper.sol
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts

* Charge extra gas based on the size of the Turing calldata. Does not
yet account for the L1/L2 gas price ratio.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts
	modified:   l2geth/core/evm.go
	modified:   l2geth/core/vm/errors.go
	modified:   l2geth/core/vm/evm.go

* Calculate Turing calldata fee based on L1 and L2 gas prices.

 Changes to be committed:
	modified:   core/evm.go
	modified:   core/vm/evm.go
	modified:   internal/ethapi/api.go

* Set a non-trivial L1 gas price and test large Turing responses.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts
	modified:   ops/docker-compose.yml

* Lint fixes
 Changes to be committed:
	modified:   l2geth/core/vm/evm.go
	modified:   l2geth/core/evm.go
	modified:   l2geth/internal/ethapi/api.go

* Revert the change to the default L1 base fee. Set it directly in
the Turing local-webserver test.

 Changes to be committed:
	modified:   boba_examples/turing-hello-world/test/local-webserver.ts
	modified:   ops/docker-compose.yml

* If LOCAL_PRIVATE_KEY is not set, use Hardhat account #16

 Changes to be committed:
	modified:   turing-hello-world/hardhat.config.ts

* As requested, call the new method "V2" rather than "V1".

 Changes to be committed:
	modified:   boba_examples/turing-complex-types/contracts/ComplexType.sol
	modified:   boba_examples/turing-complex-types/contracts/ITuringHelper.sol
	modified:   boba_examples/turing-complex-types/contracts/TuringHelper.sol
	modified:   boba_examples/turing-hello-world/contracts/HelloTuring.sol
	modified:   boba_examples/turing-hello-world/contracts/ITuringHelper.sol
	modified:   boba_examples/turing-hello-world/contracts/TuringHelper.sol
	modified:   l2geth/core/vm/evm.go

Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
(cherry picked from commit 858587a)

* feat: add sushi.com (#435)

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
(cherry picked from commit e382d69)

* Add ERC1155 bridges (#436)

* Add ERC1155 bridge

* Fix contract and tests

* Add more tests

* Fix issues and bugs

* Record amounts

(cherry picked from commit 11327be)

* Expose Deposit to other account on bridge page. (#421)

* change:
- added way in bridges to deposit to another account
- extended the existing functions.
- unable to test.
- updated the rpcUrl for rinkeby from infura to ankr.com

* - fix for depositTx not found.
- fix for controlled input
- ordered native bridges to top with other bridges.

* updated master config for rinkeby

* fetching the rinkeby chain info from env

* change: updated rinkeby chainid from env instead of hardcoded 4

* change- reverting the l2 env chain info from env as only needed for rinkeby

(cherry picked from commit df6629b)

* fix for unidex broken link (#451)

(cherry picked from commit 206cf40)

* [Gateway] : Remove airdrop page access from gateway (#454)

* remove airdrop page access from gateway

* change: airdrop cleanup, actions, contianer, reducer and readme.

(cherry picked from commit d858381)

* Deploy BOBA to Goerli (#441)

* Deploy core contracts

* Add boba core contract deployment

* Deploy more contracts

* Update gateway

* Add contracts and fix gateway

* Update contract addresses

* Update SDK

* Fix tests

* Add default value to goerli

* small docs and example fix for replica

* Add L2StandardTokenFactory

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(cherry picked from commit b7ac3aa)

* Fix rate limiting (#469)

(cherry picked from commit b51c55d)

* Feat : Bring Back Old Dao and Disable VeDao, VeLock, Liquidity Bootstrap (#464)

* bring back old dao on gateway with flag for veDao and Lock

* cleaning up the old dao

* cleanup for testnet name.

* .env cleanup and menu fix for vote and dao

(cherry picked from commit 7817f15)

* Add Teleportation contract and service (#407)

* Add Teleportation contract

* Support multi chains

* Fix initialization and add unit tests

* Add unit tests and fix bugs

* Add deployment script

* Fix issues

* Add new teleportation package

* Emit events

* Add run and service files

* Add teleportation service

* Add unit tests

* Add docker file

* Fix a bug and simplify the env

* Remove unnecessary env and add README

* Add logs

* Fix events

* Block disbursement if chain id is not registered

* Deploy new contract

* Fix bugs

* Update env name

* Fix tests

* Fix gas and event

* Update Teleportation.sol

* Add more tests

* Update Teleportation contract address

* add retries to flaky tests

Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit 1b5a65f)

* turing -> hc rebranding: boba-community (esp. Starter project) (#458)

* turing -> hc rebranding: boba-community (esp. Starter project)

* meta tx goerli support, hcStarter progress, goerli faucet deploy, add faucet to addresses

* goerli hc starter works

* cleanup - feedback

(cherry picked from commit 5c71436)

* Add memes wallet to Ecosystem (#447)

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
(cherry picked from commit 8b14147)

* Add BobaLink service (#481)

* Add BobaLink contract

* Fix typo

* Enable all tests

* Update contract and add tests

* Add tests and update data type

* Add API test

* Add BobaLink service

* Fix tests

* Fix integration tests

* Update order of functions

* Simplified oracle contract

* Remove acceptingSubmissions and updateFutureRounds

* Rewrite contract

* Add initialize function

* Fix getOracles interface and fix ownership

* Fix unit tests and bobalink tests

* Fix integration tests

* Fix boba deployer

* Fix tests and rename functions

* Update default value

* Fix name

(cherry picked from commit 820dc70)

* proxyd updates from upstream (#445)

* proxyd updates

* proxyd tests

(cherry picked from commit ed418d3)

* account abstraction setup (#472)

* account abstraction setup

* account abstraction setup - deps

* test fixes

* run ci tests

* bump typechain and paths

* bump ts-node

* bump dependencies and fix tests

* bump dependencies and fix tests - bundler fixes

* resolve all dependency issues and bump tests

* resolve all dependency issues and bump tests

* fix revert reason on out of bounds

* linting fix

* unused deps and timeout on factory deploy

* replace new revert string erc721

* update yarn.lock

* increase timeouts

* move the timeout into the while loop

* would a bigger cirleci box help sort out nonces

(cherry picked from commit 7a8005c)

* Cookbook added to projects (#488)

(cherry picked from commit 83ae38a)

* [Gateway] : add changenow and now wallet ecosystem (#507)

(cherry picked from commit 39964f9)

* Add dev tool page and TX builder (#498)

* Add dev tool page

* Reset method if ABI is updated

* Move link to footer

(cherry picked from commit 7beb168)

* feat: add custom paymasters for Boba  (#489)

* add Boba deposit paymaster

* update paymasters with decimals

* add tests

* add token exchange tests

* add conversion tests

* add comments

* add upgradeable wallet

* add verifying_paymaster_test

* update contract name

* feat: add alt-l1 paymaster

* doc: update readme

* add deposit paymaster sequence

* add verifying paymaster sequence

* update README

* refactor: rename to manual paymaster

* add gpo paymaster tests

* docs: update readme

* docs: update readme

(cherry picked from commit a46f7d2)

* Add GET method for fraud detector (#506)

(cherry picked from commit ea57e64)

* Upgrade packages and fix local development environment (#512)

* unify typing system

* unify typing system

* cleanup

* unify typing system

* compiler fixes

* Remove builder

* update sentry dependency, build flow in cirleci

* copy ops_boba to the package image

* relayer fast needs to wait for boba deployer

* Build services via Dockerfile.packages

* Start stack only one time

* Fix eslint and tests

* Remove unused packages and fix ts check

* Fix unit tests

* Fix dependency for bundler

* Fix dependency for bundler

* Fix yarn.lock

* Add coverage tests for services

* Run bobalink in docker

* Fix integration test in circle ci

* Add env for API

* Debug production api tests

* Remove log

* Fix release and replace bobalink key

* Fix repeating time

* Fix lint

* Fix output in circleci

* Reduce waiting time for reporting coverage results

Co-authored-by: cby3149 <cby3149@gmail.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
(cherry picked from commit b0d7c18)

* [Gateway] :  Add Babylons ecosystem (#518)

* add babylons in ecosystem page

* console cleanup

(cherry picked from commit fd09f80)

* feat: bring back classic dao and separate veDao features (#462)

* feat: bring back classic dao and separate veDao features

* style: lint contract

* rem ve deps from monorepo

* get back the dep for package to build

* style: lint contract

(cherry picked from commit 4aea742)

* modify building images for release workflows (#520)

* building services

* we don't need foundry image

(cherry picked from commit 82020c3)

* [Gateway] : Updated Ecosystem page (#522)

#Syncing ecosystem page with boba.network :
 foxtrot
 foxwallet
 ghostNcolors
 BobaNameService
 arab network
 bitkeep
 blockvision
 bridgeNetwork.
 bundlrNetwork
 ginFinance
 hedgey
 ontowallet
 viaprotocol
 witnet
 xdao

(cherry picked from commit 00a976a)

* Add account monitor feature in monitor service and simplify code in GPO service (#510)

* Simplify code

* Add unified functions and fix bugs

* Add unit tests

* Add balance monitor and improve codebase

* yarn conflict resolved

* Remove unused packages and bump up hardhat version

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(cherry picked from commit 7911b0e)

* Reduce size of docker images (#525)

* Reduce size of docker images

* Remove dist folder from boba contract

* Add boba contract as default package

* Remove more packages

* Clean code

* Update codecov report

(cherry picked from commit 46d1475)

* Deploy Goerli API endpoints (#494)

* Deploy meta transaction API

* Update S3 bucket endpoint

* Add Goerli watcher API

(cherry picked from commit 6e61a74)

* beamer is not supporting boba (#526)

* beamer is not supporting boba

* update BoringDAO discord link

* remove shibuidao discord link

* bobapaes url

* Thetanuts update

(cherry picked from commit d9f8756)

* Cache compilers in integration tests (#529)

* Cache compilers in integration tests

* Fix curl

* Fix curl

* cache compilers and check if files exist

* add 15 and 17

* cache versioning

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(cherry picked from commit ba9cbf3)

* aws ec2 for building releases on master (#527)

* aws ec2 for building releases on master

* cache compilers

better cache

* revert running action in PRs and mirror master building - cache

* find and add correct solc

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
(cherry picked from commit fd00d4f)

* Deploy BobaLink to Mainnet L2 and Goerli L2 (#492)

* Deploy BobaLink to Mainnet and Goerli

* Fix hardhat setting

* Update l2 contract addresses

* Update bobalink contract addresses

(cherry picked from commit f195af1)

* Update LZ bridge addresses on Testnet (#476)

(cherry picked from commit 1c73cdd)

* Stabilize integration tests (#534)

* Fix boba api test

* debug tests

* Transfer value to spender

* Fix boba api test

* Avoid deposit if balance is enough

* remove retries

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(cherry picked from commit 2d8268c)

Co-authored-by: Michael Montour <83612658+mmontour1306@users.noreply.github.com>
Co-authored-by: HHK <80489471+HHK-ETH@users.noreply.github.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Ahmad Heidari <headria@gmail.com>
Co-authored-by: Jackson Felty <30478599+pnkfluffy@users.noreply.github.com>
Co-authored-by: Elijah Fischer <75019378+elfischernow@users.noreply.github.com>
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
boyuan-chen added a commit that referenced this pull request Feb 2, 2023
* fix for unidex broken link (#451)

* [Gateway] : Remove airdrop page access from gateway (#454)

* remove airdrop page access from gateway

* change: airdrop cleanup, actions, contianer, reducer and readme.

* Deploy BOBA to Goerli (#441)

* Deploy core contracts

* Add boba core contract deployment

* Deploy more contracts

* Update gateway

* Add contracts and fix gateway

* Update contract addresses

* Update SDK

* Fix tests

* Add default value to goerli

* small docs and example fix for replica

* Add L2StandardTokenFactory

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>

* Fix rate limiting (#469)

* Feat : Bring Back Old Dao and Disable VeDao, VeLock, Liquidity Bootstrap (#464)

* bring back old dao on gateway with flag for veDao and Lock

* cleaning up the old dao

* cleanup for testnet name.

* .env cleanup and menu fix for vote and dao

* Add Teleportation contract and service (#407)

* Add Teleportation contract

* Support multi chains

* Fix initialization and add unit tests

* Add unit tests and fix bugs

* Add deployment script

* Fix issues

* Add new teleportation package

* Emit events

* Add run and service files

* Add teleportation service

* Add unit tests

* Add docker file

* Fix a bug and simplify the env

* Remove unnecessary env and add README

* Add logs

* Fix events

* Block disbursement if chain id is not registered

* Deploy new contract

* Fix bugs

* Update env name

* Fix tests

* Fix gas and event

* Update Teleportation.sol

* Add more tests

* Update Teleportation contract address

* add retries to flaky tests

Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* turing -> hc rebranding: boba-community (esp. Starter project) (#458)

* turing -> hc rebranding: boba-community (esp. Starter project)

* meta tx goerli support, hcStarter progress, goerli faucet deploy, add faucet to addresses

* goerli hc starter works

* cleanup - feedback

* Add memes wallet to Ecosystem (#447)

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>

* Add BobaLink service (#481)

* Add BobaLink contract

* Fix typo

* Enable all tests

* Update contract and add tests

* Add tests and update data type

* Add API test

* Add BobaLink service

* Fix tests

* Fix integration tests

* Update order of functions

* Simplified oracle contract

* Remove acceptingSubmissions and updateFutureRounds

* Rewrite contract

* Add initialize function

* Fix getOracles interface and fix ownership

* Fix unit tests and bobalink tests

* Fix integration tests

* Fix boba deployer

* Fix tests and rename functions

* Update default value

* Fix name

* proxyd updates from upstream (#445)

* proxyd updates

* proxyd tests

* account abstraction setup (#472)

* account abstraction setup

* account abstraction setup - deps

* test fixes

* run ci tests

* bump typechain and paths

* bump ts-node

* bump dependencies and fix tests

* bump dependencies and fix tests - bundler fixes

* resolve all dependency issues and bump tests

* resolve all dependency issues and bump tests

* fix revert reason on out of bounds

* linting fix

* unused deps and timeout on factory deploy

* replace new revert string erc721

* update yarn.lock

* increase timeouts

* move the timeout into the while loop

* would a bigger cirleci box help sort out nonces

* Cookbook added to projects (#488)

* [Gateway] : add changenow and now wallet ecosystem (#507)

* Add dev tool page and TX builder (#498)

* Add dev tool page

* Reset method if ABI is updated

* Move link to footer

* feat: add custom paymasters for Boba  (#489)

* add Boba deposit paymaster

* update paymasters with decimals

* add tests

* add token exchange tests

* add conversion tests

* add comments

* add upgradeable wallet

* add verifying_paymaster_test

* update contract name

* feat: add alt-l1 paymaster

* doc: update readme

* add deposit paymaster sequence

* add verifying paymaster sequence

* update README

* refactor: rename to manual paymaster

* add gpo paymaster tests

* docs: update readme

* docs: update readme

* Add GET method for fraud detector (#506)

* Upgrade packages and fix local development environment (#512)

* unify typing system

* unify typing system

* cleanup

* unify typing system

* compiler fixes

* Remove builder

* update sentry dependency, build flow in cirleci

* copy ops_boba to the package image

* relayer fast needs to wait for boba deployer

* Build services via Dockerfile.packages

* Start stack only one time

* Fix eslint and tests

* Remove unused packages and fix ts check

* Fix unit tests

* Fix dependency for bundler

* Fix dependency for bundler

* Fix yarn.lock

* Add coverage tests for services

* Run bobalink in docker

* Fix integration test in circle ci

* Add env for API

* Debug production api tests

* Remove log

* Fix release and replace bobalink key

* Fix repeating time

* Fix lint

* Fix output in circleci

* Reduce waiting time for reporting coverage results

Co-authored-by: cby3149 <cby3149@gmail.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>

* [Gateway] :  Add Babylons ecosystem (#518)

* add babylons in ecosystem page

* console cleanup

* feat: bring back classic dao and separate veDao features (#462)

* feat: bring back classic dao and separate veDao features

* style: lint contract

* rem ve deps from monorepo

* get back the dep for package to build

* style: lint contract

* modify building images for release workflows (#520)

* building services

* we don't need foundry image

* [Gateway] : Updated Ecosystem page (#522)

#Syncing ecosystem page with boba.network :
 foxtrot
 foxwallet
 ghostNcolors
 BobaNameService 
 arab network
 bitkeep
 blockvision
 bridgeNetwork.
 bundlrNetwork
 ginFinance
 hedgey
 ontowallet
 viaprotocol
 witnet
 xdao

* Add account monitor feature in monitor service and simplify code in GPO service (#510)

* Simplify code

* Add unified functions and fix bugs

* Add unit tests

* Add balance monitor and improve codebase

* yarn conflict resolved

* Remove unused packages and bump up hardhat version

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>

* Reduce size of docker images (#525)

* Reduce size of docker images

* Remove dist folder from boba contract

* Add boba contract as default package

* Remove more packages

* Clean code

* Update codecov report

* Deploy Goerli API endpoints (#494)

* Deploy meta transaction API

* Update S3 bucket endpoint

* Add Goerli watcher API

* beamer is not supporting boba (#526)

* beamer is not supporting boba

* update BoringDAO discord link

* remove shibuidao discord link

* bobapaes url

* Thetanuts update

* Cache compilers in integration tests (#529)

* Cache compilers in integration tests

* Fix curl

* Fix curl

* cache compilers and check if files exist

* add 15 and 17

* cache versioning

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>

* aws ec2 for building releases on master (#527)

* aws ec2 for building releases on master

* cache compilers

better cache

* revert running action in PRs and mirror master building - cache

* find and add correct solc

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>

* Deploy BobaLink to Mainnet L2 and Goerli L2 (#492)

* Deploy BobaLink to Mainnet and Goerli

* Fix hardhat setting

* Update l2 contract addresses

* Update bobalink contract addresses

* Update LZ bridge addresses on Testnet (#476)

* Stabilize integration tests (#534)

* Fix boba api test

* debug tests

* Transfer value to spender

* Fix boba api test

* Avoid deposit if balance is enough

* remove retries

Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>

* feat: deploy entrypoint (#508)

* feat: deploy entrypoint

* update depl

* register on AM

* deploy bundler helper

* fix: src/runop

* fix: integ tests

* use dockerfile packages

* add solc

* move aa_deployer to docker-compose side

* add paymaster deploy scripts

* patch proxyd validId (#543)

* patch proxyd validId

* patch proxyd validId

patch proxyd validId

* Fix ts tests

* Fix typescript tests

* Remove unused package

* Remove unused scripts

* Fix coverage tests

* Enable integration tests

* Remove integration test tag

* stop all containers

* Fix bobalink tests

* Enable all tests

* Increase waiting time in bobalink

* Attach bobalink to same network

* Stabilize tests

* Fix dev tool page and add more assets from develop branch

---------

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
Co-authored-by: Ahmad Heidari <headria@gmail.com>
Co-authored-by: Jackson Felty <30478599+pnkfluffy@users.noreply.github.com>
Co-authored-by: Elijah Fischer <75019378+elfischernow@users.noreply.github.com>
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants