Skip to content

Commit

Permalink
Isildur's Bane release/v0.5.0 (#669)
Browse files Browse the repository at this point in the history
* Update README.md (#554)

remove ambiguity of "package-to-test"

(cherry picked from commit 73f0338)

* Update variable name (#568)

(cherry picked from commit 0074559)

* rinkeby deprecation (#552)

* rinkeby deprecation

* update network-parameters.md

---------

Co-authored-by: souradeep-das <[email protected]>
(cherry picked from commit 50facc3)

* Hybrid Compute log levels (#575)

* Reduce the log level of many Turing messages to TRACE.

 Changes to be committed:
	modified:   l2geth/core/state/statedb.go
	modified:   l2geth/core/vm/evm.go
	modified:   l2geth/rollup/client.go

* More logfile reduction.
 Changes to be committed:
	modified:   core/types/transaction_meta.go
	modified:   core/vm/evm.go

* Lowered some more log levels.

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

(cherry picked from commit ffc1b33)

* [AA] fix: entrypoint deployment reliability (#549)

* fix: AA deployment

* push yarn lock

* fix aa-sdk for deterministic depl

* get dep

* fix: sdk dep

* fix: lint

* rem unused files

* add aa_deployer dockerfile

* add deterministicDeployer test

* test: add network factory test

* add comments for network

(cherry picked from commit eb5eda9)

* add settings script & chain rpc (#499)

(cherry picked from commit f9d9749)

* Add extra filter for message relayer (#455)

* Add extra relayer filter

* Add env to env.example

* Add default value to RELAYER_FILTER_WHITELIST

* Add unit tests

* Fix package

(cherry picked from commit cb60113)

* Fix boba link api and tests (#596)

(cherry picked from commit 42c2a59)

* rename am registration (#597)

(cherry picked from commit d6aed89)

* Add goerli setting (#601)

(cherry picked from commit 1b7d847)

* [AA] unify aa-contracts package (#613)

* unify aa package

* restore artifacts structure because deploy script would overwrite

* build

* remove outdir

* check version

* check version

* remove npmignore

* remove npmignore

* package version

* update prepack script

* update prepack script

* udpate integ

* fix integ tests

* Update packages/boba/account-abstraction/package.json

---------

Co-authored-by: Ino Murko <[email protected]>
(cherry picked from commit a159ed3)

* [Gateway] : One Gateway for all chains and deployments. (#483)

* change:
 - one gateway deployment selector
 - updated icons for all deployments layer
 - setup reducer state update for deployment selection.

* updated sentry with app chain from ui selection

* seting up network state on changing the app chain

* change:
 - reset basedenabled state on switching chain
 - updated ethereum to mainnet
 - add rinkeby and ethereum chains config.
 - updated the getNetwork function to return all chains info.

* change
 - setting up network with redux persitant
 - maintain state in session to avoid reset on reload of page.
 - create network reducer and corresponding setup.

* updated sentry & fix linting issues.

* change:
- icon setup for bobabase
- network type setup with tabs
- representing current network setup correctly.

* change:
- updated network and network type in redux for state persistant
- cleanup setup reducer, action, selector
- import SelectNetwork from networkSelector.
- ChainSwitcher => NetworkSwitcher.
- created Menu Config
- updated menu list component.
- Tabs style change to capitalize.
- move network related const to network.util

* changing layer icons on switching network from networkSwitcher.

* change:
- updated initialize account & base with network, type
- create networkdetails function to fetch details w.r.to. each chain
- created wallet switch
- refactor network service.
- create separate files for each chains.
- cleanup network util
-

* change:
- fix menu listing w.r.to active network.

* bobaexplorer url fix for each network and layer.

* change: selected icons on networkList items along with check

* updated icons for chains and remove unused IconComponent

* fix for import

* persist the earlier layer and connect on the same layer on new network

* remove consoles.

* change:
- Updated config for all network (Mainnet/Testnet) BNB, FANTOM, AVAX, MOONBEAM, ETHEREUM
- Move moonbase to testnet block
- Fix networkSwitcher tab to work based on selected networktype
- cleanup & warning fixes

* change:
- updated network util config
- added support for network l1, l2 names
- bridge page names and logos changes based on selected network.

* udpated icons for boba chains project listing.

* reverted master config change

* change:
- prepare & setup routes with components based on active networks
- disable monster for other networks except ethereum
- optimized way to disable the routes and menu items.
- refactored menu list styling.
- cleanup on layout component.

* console cleanup

* partial: query param based network selection
only ethereum, avax chainId

* change: add chain id's for other fantom, bnb, moonbeam

* moved default values to constant files.

* fix for setting index routes on generated route config.

* add native token symbol and name to l1 config.

* disable bridge page for now from other deployment.

* set network from useNetwork hook only in case of query param.

* [ Gateway ] One gateway sync alt l1 (#497)

* change
 - setting up network with redux persitant
 - maintain state in session to avoid reset on reload of page.
 - create network reducer and corresponding setup.

* updated sentry & fix linting issues.

* setting up address and app service for multi chains

* updated sentry packages.

* decrement sentry package due unexpected errors onbuild

* change:
- supported tokens and addresss moved to app.service
- update initiation of watcher
- removed dead code.

* change:
- enable nft only for ethereum
- updated address for get balance and initialize base invokation for ethereum only.

* change:
- wallet page to be working on all network with bridging.

* Change:
- prepare transaction services  to load the transaction for history page.

* change:
- moved fetchTrasaction to transactionService.
- cleanup fetchExits specific files as it's not used any more.

* fix earn page listing of lp.

* change: remove warning in console.

* fix network names & fix omg watcher axios instance

* change:
- fixes gasSwitcher footer values w.r.to each deployment
- savings will visible for ethereum network only.
- prepare seperate service to fetch gas and verifier status
- fix CrossDomainMessenger watcher / fastWatcher

* emergency swap content update for each deployment.

* update sentry config

* fix: emergency swap deployments
fix: switchFee function calls

* fix: fuacet as component, faucet service
fix: cleanup token component

* referening address from this.addresses instead of allAddresses

* fix: fetch calls only on ETH network
fix: cleanup feeswitcher network.

* updated the file name

* setting up fees for boba

* change: network hash is broken on history page.

* cleanup network service

* One Gateway : Wallet Token Listing Fixes

* L1 to L2 bridging

- setting up history tabs for multichain
- setting up classic input bridge
- updated CrosschainMessenger contract address for other deployment
- fix for classic deposit to l2 validated for goerli (eth / erc20 / native)
- fix for classic deposit to l2 account (eth / erc20 / native)
- fee switcher should only be visible for L2 layer.

* fetch transaction on connect only
* avoid fetching data from etherscan
* adding sushi to BNB network
* updated layerzero testnet adresses
* updated sentry to latest pack
* Added naming for l1 native token on exit

* clean up etherscan fetch call

* removed l1 etherscan url

* fix for devtools

* crash fix for switch chain + labels on history tx list.

* remove console error

* cleanup console

* fetch boba feee choice only incase of L2

* cleanup unused vars.

* masterconfig cleanup with respective import

* - fix for supported alt l1 chains
- cleanup react_app_chain param

* fix: earn page labels, boba chains broken, disable subgraph on goerli.

* fix: loading address only on initAccount phase to fix crash.

* fix: verifier instance if url not found

* wallet page crash fixes.

* invoking functions only when basedEnabled means connected to MM.

* cleanup console

* Added meta token to bnb testnet

* [Gateway] : Gateway Version on footer of the page along with styling fixes (#573)

* [Gateway] Fix: Style fixes component. (#581)

* Auto switching MM network (#605)

* Wavect/mockups: Design alignment (#595)

* change:
 - one gateway deployment selector
 - updated icons for all deployments layer
 - setup reducer state update for deployment selection.

* updated sentry with app chain from ui selection

* seting up network state on changing the app chain

* change:
 - reset basedenabled state on switching chain
 - updated ethereum to mainnet
 - add rinkeby and ethereum chains config.
 - updated the getNetwork function to return all chains info.

* change
 - setting up network with redux persitant
 - maintain state in session to avoid reset on reload of page.
 - create network reducer and corresponding setup.

* updated sentry & fix linting issues.

* change:
- icon setup for bobabase
- network type setup with tabs
- representing current network setup correctly.

* change:
- updated network and network type in redux for state persistant
- cleanup setup reducer, action, selector
- import SelectNetwork from networkSelector.
- ChainSwitcher => NetworkSwitcher.
- created Menu Config
- updated menu list component.
- Tabs style change to capitalize.
- move network related const to network.util

* changing layer icons on switching network from networkSwitcher.

* change:
- updated initialize account & base with network, type
- create networkdetails function to fetch details w.r.to. each chain
- created wallet switch
- refactor network service.
- create separate files for each chains.
- cleanup network util
-

* change:
- fix menu listing w.r.to active network.

* bobaexplorer url fix for each network and layer.

* change: selected icons on networkList items along with check

* updated icons for chains and remove unused IconComponent

* fix for import

* persist the earlier layer and connect on the same layer on new network

* remove consoles.

* change:
- Updated config for all network (Mainnet/Testnet) BNB, FANTOM, AVAX, MOONBEAM, ETHEREUM
- Move moonbase to testnet block
- Fix networkSwitcher tab to work based on selected networktype
- cleanup & warning fixes

* change:
- updated network util config
- added support for network l1, l2 names
- bridge page names and logos changes based on selected network.

* udpated icons for boba chains project listing.

* reverted master config change

* change:
- prepare & setup routes with components based on active networks
- disable monster for other networks except ethereum
- optimized way to disable the routes and menu items.
- refactored menu list styling.
- cleanup on layout component.

* console cleanup

* partial: query param based network selection
only ethereum, avax chainId

* change: add chain id's for other fantom, bnb, moonbeam

* moved default values to constant files.

* fix for setting index routes on generated route config.

* add native token symbol and name to l1 config.

* disable bridge page for now from other deployment.

* set network from useNetwork hook only in case of query param.

* [ Gateway ] One gateway sync alt l1 (#497)

* change
 - setting up network with redux persitant
 - maintain state in session to avoid reset on reload of page.
 - create network reducer and corresponding setup.

* updated sentry & fix linting issues.

* setting up address and app service for multi chains

* updated sentry packages.

* decrement sentry package due unexpected errors onbuild

* change:
- supported tokens and addresss moved to app.service
- update initiation of watcher
- removed dead code.

* change:
- enable nft only for ethereum
- updated address for get balance and initialize base invokation for ethereum only.

* change:
- wallet page to be working on all network with bridging.

* Change:
- prepare transaction services  to load the transaction for history page.

* change:
- moved fetchTrasaction to transactionService.
- cleanup fetchExits specific files as it's not used any more.

* fix earn page listing of lp.

* change: remove warning in console.

* fix network names & fix omg watcher axios instance

* change:
- fixes gasSwitcher footer values w.r.to each deployment
- savings will visible for ethereum network only.
- prepare seperate service to fetch gas and verifier status
- fix CrossDomainMessenger watcher / fastWatcher

* emergency swap content update for each deployment.

* update sentry config

* fix: emergency swap deployments
fix: switchFee function calls

* fix: fuacet as component, faucet service
fix: cleanup token component

* referening address from this.addresses instead of allAddresses

* fix: fetch calls only on ETH network
fix: cleanup feeswitcher network.

* updated the file name

* setting up fees for boba

* change: network hash is broken on history page.

* cleanup network service

* One Gateway : Wallet Token Listing Fixes

* L1 to L2 bridging

- setting up history tabs for multichain
- setting up classic input bridge
- updated CrosschainMessenger contract address for other deployment
- fix for classic deposit to l2 validated for goerli (eth / erc20 / native)
- fix for classic deposit to l2 account (eth / erc20 / native)
- fee switcher should only be visible for L2 layer.

* fetch transaction on connect only
* avoid fetching data from etherscan
* adding sushi to BNB network
* updated layerzero testnet adresses
* updated sentry to latest pack
* Added naming for l1 native token on exit

* clean up etherscan fetch call

* removed l1 etherscan url

* fix for devtools

* crash fix for switch chain + labels on history tx list.

* remove console error

* cleanup console

* fetch boba feee choice only incase of L2

* cleanup unused vars.

* masterconfig cleanup with respective import

* - fix for supported alt l1 chains
- cleanup react_app_chain param

* fix: earn page labels, boba chains broken, disable subgraph on goerli.

* fix: loading address only on initAccount phase to fix crash.

* fix: verifier instance if url not found

* wallet page crash fixes.

* invoking functions only when basedEnabled means connected to MM.

* cleanup console

* Added meta token to bnb testnet

* [Gateway] : Gateway Version on footer of the page along with styling fixes (#573)

* [Gateway] Fix: Style fixes component. (#581)

* redesigned pageHeader(implemented boba icon), some small changes
redesigned colors, margins, overall design on bobaBridge when connected
fixed margins next to the IconSwitcher
redesign bobaBridge 'when not connected'
fixed all "Ethereum" spelling mistakes
redesigned bobaBridge - changed some colors, variants, sizes
align new design (1.02) to footer

* - some changes to the History page to align the design with the overall design of the figma file
- redesigned/reworked the Tooltip Component + changed the tooltip prop in the Button component according to the Tooltip Component,
- some changes to the pageHeader (underlined fee,
- some changes to the index.js (Tooltip style overwrite, tooltip background colors)
- adjusted Social Media Icon hover + fixed Discord Icon hover
- some small adjustments (redesigned Fee, maxWith on Transaction history block)
- redesigned the LayerSwitcher
- redesigned Wallet page when connected including tab colors, connection-part, connect-button
- redesigned Ecosystem page (small changes to some background colors and hover effect)

* fixed some "merge conflict resolving" artifacts

* Fixed: transaction hash is to long, will now be shortened if screen size is below 1920px

* Fixed: "Fee" is shown double & add HelpOutlineIcon again
Fixed: FeeSwitcher should only be visible on L2

* Switched some wordings on the wallet page (disconnect -> disconnected, connecting -> connected) because it makes more sense that way.

* Fixed/changes back to the old user prompt and aligned it to the new figma design as well hide the Token/NFT tabs when not logged in

---------

Co-authored-by: Sahil Kashetwar <[email protected]>
Co-authored-by: Sahil K <[email protected]>
Co-authored-by: Riedl Kevin, Bsc <[email protected]>

* Fix [Gateway] : One gateway bridging (#589)

* invoke get monster and other functions once account initlized

* bridge styling fixes mobile view

* fix: clenaup deposit signature status setup as it's not required
Enable bridge buttons once tx is completed.

* fetch fee choice only in case of L2
fix switching between layers and network.

* cleanup

* reverted the layer switch change

* fix for the fast depositing to l2.

* farm deposit fixes.

* transfer modal button fixes.

* - fix farm deposit modal for l2
- farm withdraw modal button style fix
- transfer nft modal btn style fix
- fix liquidity estimate fn in ns.
- checking for native token balance instead of ETH for fee switching.

- disable unstake and stake more button when layer is different

* - fast desposit clean up.
- listing of native tokens on farm l2.

* - fix min balance for fee switch to native token.

* fix: fetch exit cost function with l2 -> l1 validataion

* L2 -> L1 Bridging fixes for ethereum and other deployments

* add btn variant to cancel modal.

* - layerswitcher cleanup and fix for the click on connect layer on closing mm popup.
- throw error from switch chain.

* fix: crash on earn page on deposit goerli.

* fix: updated min native balance for fee to const with 0.002

* fix: fetch min native token for fee from contract for alt-l1

* fix: farm deposit crash ethereum L2.

* console cleanup

* Automatically switch RPC network in gateway (#616)

* Automatically switch L1 RPC endpoint
* Update variable name

---------

Co-authored-by: Boyuan-Chen <[email protected]>

* fast exit fixes (#619)

* Add wallet service and fix switchChain (#620)

---------

Co-authored-by: Wavect GmbH <[email protected]>
Co-authored-by: Riedl Kevin, Bsc <[email protected]>
Co-authored-by: Boyuan-Chen <[email protected]>
(cherry picked from commit bb3ca48)

* bump aa contracts with 0.3.0 changes (#632)

(cherry picked from commit 29077dc)

* change: (#624)

- updated the l1 native token on formDepositModal
- remove the connected and connecting text from wallet.

(cherry picked from commit ac4b902)

* Add CDM completion modal (#634)

* Add CDM completion modal
* updated modal cosmetics to match with design chagnes.

---------

Co-authored-by: Sahil K <[email protected]>
Co-authored-by: Sahil Kashetwar <[email protected]>
(cherry picked from commit d596ea6)

* Refactor earn page to function components (#631)

* Refactor earn page to function components

* Rename farm to earn

* Rename farm to earn everywhere

* fix for user prompt on earn page

---------

Co-authored-by: Sahil Kashetwar <[email protected]>
Co-authored-by: Sahil K <[email protected]>
(cherry picked from commit 5a4bf03)

* Fixed FeeSwitcher Button hover effect (#635)

Co-authored-by: wavect-gmbh <[email protected]>
Co-authored-by: Riedl Kevin, Bsc <[email protected]>
Co-authored-by: Sahil K <[email protected]>
(cherry picked from commit 9278d41)

* Fix gasLimit for unstaking and earn page (#630)

Co-authored-by: Sahil K <[email protected]>
(cherry picked from commit ba78539)

* sideload bundler and add address manager (#531)

* sideload bundler and add address manager

* update fetching contracts and addresses, pass in L1 network

* provider and linter fixes

* linter fixes and removing some of the logging

* bundler depends on ++ print all images built

* extract bundler sub-packages

* extract bundler sub-packages

* sideload bundler and add address manager

update fetching contracts and addresses, pass in L1 network

provider and linter fixes

linter fixes and removing some of the logging

top level linting and add tsconfig.packages.json

dep issues, webpack, disable linting for now

add bundler utils to the package dockerfile

add bundler utils to the package dockerfile

* deterministic deployer change

* deterministic deployer change - bring it back

* deterministic deployer tests

* decouple aa from bundler_utils - fix test

* execute tests in coverage

(cherry picked from commit 13b9b0c)

* merge alt-l1 branch to develop (#567)

* Add flag to enable l2geth for alt l1s

* Rename variable

* Set l2geth for Ethereum L2

* DTL and SDK support alt l1s

* Support core contracts for Alt L1s

* Fix deployment and eslint

* Add tests and fix state dump

* Restructure folders

* Add boba deployer contracts

* Support Alt L1 in boba deployer

* Add integration test files for alt l1s

* Fix Ethereum L2 test

* Revert script changes

* Add moonbeam integration test

* Add scripts to start docker

* Add KMS seeds

* Rewrite boba deployer

* Fix genesis block for Ethereum L2

* Remove unused packages

* Fix boba deployer

* Fix some tests

* Fix more tests

* Add script for filtering tests

* Fix integration script

* Restructure folder for integration tests

* Fix roots

* Enable all tests

* Fix more tests

* Fix LP tests

* Fix tests

* Fix integration tests

* Fix bobalink tests

* Fix the building issue on M1

* Fix order of variables

* Fix geth

* Add other alt l1s

* Fix the deployment for boba_deployer

* Fix bobalink contract addresses

* Fix NFT bridge tests

* Clean code

* Add gas price oracle for Alt L1s

* Fix issue of building images on M1 chip

* Support Alt L2 in monitor

* Fix typo

* Add MaxGasLimit in batch submitter for moonbeam

* Add API templates

* Update go version

* Simplify circleci config

* Fix template

* Fix tab and env

* Update command name

* Use one bash to start networks

* Fix docker file for integration tests

* Fix circleci config

* Fix file names

* Simplify configuration of replica

* Fix filter logic

* Upgrade golang lint

* Upgrade lint version

(cherry picked from commit 5c4913f)

* Support WalletConnect in gateway (#625)

(cherry picked from commit 7b5d24d)

* Revert "merge alt-l1 branch to develop (#567)"

This reverts commit 5c4913f.

(cherry picked from commit 2e5006d)

* Fix/one gateway sentry cleanup (#660)

(cherry picked from commit 21d00cf)

* Remove Acrossbridge (#658)

* Remove Accross bridge

* Remove unnused asset

---------

Co-authored-by: Sahil K <[email protected]>
(cherry picked from commit 7d8e319)

* Gateway 2.0 Bugs and Fixes. (#655)

* bridge page design fixes
* enable the whole button to be clicked rather than dropdown
* enable network switcher in case of mobile
* updated text on the ecosystem page
* fix connect to boba on dev tools
* update the faq link and clean the help page
* zen desk &version in the footer
* Added script deploy one gateway
* updated crash fixed on devTools.

(cherry picked from commit ebf694d)

* Fix bobascope and add popup for switching the network (#661)

* Fix bobascope and add popup

* tx related function to transaction service

* created hook to listen to network change and removed dead code

* fix for crash

---------

Co-authored-by: Sahil Kashetwar <[email protected]>
(cherry picked from commit e2eb703)

* Merge alt l1 to develop (#659)

* Add flag to enable l2geth for alt l1s

* Rename variable

* Set l2geth for Ethereum L2

* DTL and SDK support alt l1s

* Support core contracts for Alt L1s

* Fix deployment and eslint

* Add tests and fix state dump

* Restructure folders

* Add boba deployer contracts

* Support Alt L1 in boba deployer

* Add integration test files for alt l1s

* Fix Ethereum L2 test

* Revert script changes

* Add moonbeam integration test

* Add scripts to start docker

* Add KMS seeds

* Rewrite boba deployer

* Fix genesis block for Ethereum L2

* Remove unused packages

* Fix boba deployer

* Fix some tests

* Fix more tests

* Add script for filtering tests

* Fix integration script

* Restructure folder for integration tests

* Fix roots

* Enable all tests

* Fix more tests

* Fix LP tests

* Fix tests

* Fix integration tests

* Fix bobalink tests

* Fix the building issue on M1

* Fix order of variables

* Fix geth

* Add other alt l1s

* Fix the deployment for boba_deployer

* Fix bobalink contract addresses

* Fix NFT bridge tests

* Clean code

* Add gas price oracle for Alt L1s

* Fix issue of building images on M1 chip

* Support Alt L2 in monitor

* Fix typo

* Add MaxGasLimit in batch submitter for moonbeam

* Add API templates

* Update go version

* Simplify circleci config

* Fix template

* Fix tab and env

* Update command name

* Use one bash to start networks

* Fix docker file for integration tests

* Fix circleci config

* Fix file names

* Simplify configuration of replica

* Fix filter logic

* Upgrade golang lint

* Upgrade lint version

* Remove local-network-config from root

* await for transaction

* build the stack through parameters

---------

Co-authored-by: Riedl Kevin, Bsc <[email protected]>
Co-authored-by: Ino Murko <[email protected]>
(cherry picked from commit aa609fa)

* Wavect/mockups: Lightmode design alignment  (#653)

* Aligned Header to lightmode design
+ reworked some .scss files to styled components
+ added some logos/icons for lightmode

* Aligned Footer to lightmode design

* Aligned Bridge page design to lightmode
Aligned Ecosystem page design to lightmode
reworked Footer socialButtons design for better implementation

* Aligned Wallet page design to lightmode

* Fixed bug, where used Boba2 logo was the wrong one

* Aligned History page to lightmode design
+ aligned DAO to lightmode design (one fix on the select missing)
+ some alignments to index, Select
+ some darkmode fixes

* Reworked the react-select to an MuiSelect to fix all the design bugs.

* Wavect/mockups: Implemented Design feedback from Yoonhee (#662)

* Design changes as requested by Yoonhee
------
Ecosystem: centered text, bold headline, more line height
Footer: is now below fold (screen size) and at least 80px below the page content (added a mui theme variable for easier change of that number)
Bridge: centered the text now with the boba bridge container + bigger font size (made it responsive + responsive glass icon), better alignment for the background

* changes:
 - reverted select changes as veDao is dependent on it which is going to increase work again doesn't make sense to touch it
 - fix for boba logo on dark mode as it's not add to git.
 - clean up icon for calender

---------

Co-authored-by: wavect-gmbh <[email protected]>
Co-authored-by: Sahil Kashetwar <[email protected]>

* import fixes for typography

* fixes for styling history page, extended layout theme

* design style for light mode background glassy

* Add nowpayments ecosystem (#663)

* add nowpayments ecosystem

---------

Co-authored-by: Sahil K <[email protected]>

* fix for nowpayments

---------

Co-authored-by: wavect-gmbh <[email protected]>
Co-authored-by: Riedl Kevin, Bsc <[email protected]>
Co-authored-by: Sahil K <[email protected]>
Co-authored-by: Sahil Kashetwar <[email protected]>
Co-authored-by: fayfry <[email protected]>
(cherry picked from commit b02744b)

---------

Co-authored-by: Jia Liu <[email protected]>
Co-authored-by: Boyuan-Chen <[email protected]>
Co-authored-by: Michael Montour <[email protected]>
Co-authored-by: Souradeep Das <[email protected]>
Co-authored-by: Riedl Kevin, Bsc <[email protected]>
Co-authored-by: Sahil K <[email protected]>
Co-authored-by: Dave <[email protected]>
Co-authored-by: cby3149 <[email protected]>
Co-authored-by: alvaro-ricotta <[email protected]>
  • Loading branch information
10 people authored Mar 22, 2023
1 parent 7eb7fb0 commit bce7e2d
Show file tree
Hide file tree
Showing 808 changed files with 324,974 additions and 12,273 deletions.
340 changes: 170 additions & 170 deletions .circleci/config.yml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
- name: golangci-lint gas-oracle
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.2
version: v1.51.0
working-directory: go/gas-oracle
- name: golangci-lint batch-submitter
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.2
version: v1.51.0
working-directory: go/batch-submitter
- name: golangci-lint bss-core
uses: golangci/golangci-lint-action@v2
with:
version: v1.45.2
version: v1.51.0
working-directory: go/bss-core
310 changes: 0 additions & 310 deletions .github/workflows/publish-canary.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ ops_boba/api/metatransaction-api/yarn.lock

#
packages/boba/contracts/coverage/

packages/boba/account-abstraction/deployments/hardhat/
packages/boba/bundler_sdk/coverage/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ You'll need the following:
* [Docker](https://docs.docker.com/get-docker/)
* [Docker Compose](https://docs.docker.com/compose/install/)

**Note: this is only relevant to developers who wish to work on Boba core services. For most test uses, e.g. deploying your contracts, it's simpler to use https://rinkeby.boba.network**.
**Note: this is only relevant to developers who wish to work on Boba core services. For most test uses, e.g. deploying your contracts, it's simpler to use https://goerli.boba.network**.

Clone the repository, open it, and install nodejs packages with `yarn`:

Expand Down Expand Up @@ -122,7 +122,7 @@ When the command returns with `Pass: Found L2 Liquidity Pool contract address`,
To run unit tests for a specific package:

```bash
cd packages/package-to-test
cd packages/<package-to-test>
yarn test
```

Expand Down
12 changes: 4 additions & 8 deletions boba_community/boba-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ The [boba_community/boba-node](../../boba_community/boba-node) repo runs a repli

1. Running a local Boba node (replica) does not allow you to mine ETH, OMG, or BOBA. There is no mining on L2.

2. If you looking for best possible rpc read data (lowest possible latency) you are **strongly advised** not to run your own node, but to use **https://lightning-replica.boba.network**. This is an autoscaling rpc endpoint that speaks directly to the core Boba L2 geth.
2. If you looking for best possible rpc read data (lowest possible latency) you are **strongly advised** not to run your own node, but to use **https://replica.boba.network**. This is an autoscaling rpc endpoint that speaks directly to the core Boba L2 geth.

3. The Boba L2 is (at present) a single proposer/sequencer system and the only way to write transactions is via **https://mainnet.boba.network**. You cannot use a local node to write transactions.

4. If your application _does not need autoscaling and low latency_, and can tolerate sync delays, you can run your own Boba node (replica). This replica will try to follow the core L2 geth via data provided by Infura and **https://lightning-replica.boba.network**, so it will necessarily lag behind **https://lightning-replica.boba.network**.
4. If your application _does not need autoscaling and low latency_, and can tolerate sync delays, you can run your own Boba node (replica). This replica will try to follow the core L2 geth via data provided by Infura and **https://replica.boba.network**, so it will necessarily lag behind **https://replica.boba.network**.

5. Please design your rpc connectors in a resource efficient manner. Notably, calling `eth_getLogs(fromBlock: 0)` 1000 times per second serves no conceivable purpose since the Ethereum blocktime is 12 seconds and the Boba blocktime is > 1 second. All that does is to degrade your replica and trigger rate-limiting and/or IP blocking at **https://lightning-replica.boba.network**.
5. Please design your rpc connectors in a resource efficient manner. Notably, calling `eth_getLogs(fromBlock: 0)` 1000 times per second serves no conceivable purpose since the Ethereum blocktime is 12 seconds and the Boba blocktime is > 1 second. All that does is to degrade your replica and trigger rate-limiting and/or IP blocking at **https://replica.boba.network**.

## Prerequisites

Expand All @@ -30,15 +30,11 @@ $ git clone https://github.com/bobanetwork/boba.git
$ cd boba_community/boba-node
```

**Create a .env file**. Create a `.env` file in `boba_community/boba-node`. If you do not have an Infura key, you can obtain one for free from [Infura](https://infura.io) or any other node provider.
**Create a .env file**. Create a `.env` file in `boba_community/boba-node`.

```yaml
# release tag
RELEASE_VERSION=v0.X.X

L1_NODE_WEB3_URL=https://mainnet.infura.io/v3/YOUR_INFURA_KEY # for mainnet
# Or ...
L1_NODE_WEB3_URL=https://goerli.infura.io/v3/YOUR_INFURA_KEY # for goerli
```

**Pull images**
Expand Down
Loading

0 comments on commit bce7e2d

Please sign in to comment.