Skip to content

Wavect/mockups: Design alignment#595

Merged
sk-enya merged 63 commits intofeat/one-gatewayfrom
wavect/fix-design-alignment
Mar 1, 2023
Merged

Wavect/mockups: Design alignment#595
sk-enya merged 63 commits intofeat/one-gatewayfrom
wavect/fix-design-alignment

Conversation

@wavect-gmbh
Copy link
Copy Markdown
Contributor

@wavect-gmbh wavect-gmbh commented Feb 17, 2023

Overview

First adaptations to the Figma mockups, related to #335 (most work done on the Bridge page)

Changes

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

  • 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)

Testing

Describe how to test your new feature/bug fix and if possible, a step by step guide on how to demo this.

  • Local tests
  • P2P review with @wsdt

 - one gateway deployment selector
 - updated icons for all deployments layer
 - setup reducer state update for deployment selection.
 - 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.
 - setting up network with redux persitant
 - maintain state in session to avoid reset on reload of page.
 - create network reducer and corresponding setup.
- icon setup for bobabase
- network type setup with tabs
- representing current network setup correctly.
- 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
- 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
-
- fix menu listing w.r.to active network.
- 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
- updated network util config
- added support for network l1, l2 names
- bridge page names and logos changes based on selected network.
- 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.
@wsdt
Copy link
Copy Markdown
Contributor

wsdt commented Feb 24, 2023

@InoMurko @sk-enya please review & merge to keep PR's smaller.

@this-dave
Copy link
Copy Markdown
Contributor

Changes from todays weekly push:

  • redesigned the LayerSwitcher
  • redesigned Wallet page when connected including tab colors, connection-part, connect-button
  • redesigned Ecosystem page (adjustments to some background colors and hover effect)
  • redesigned History page according to current figma design (there was no figma design of "History", so I made changes on my own to fit the rest of the design)
  • redesigned/reworked the Tooltip Component + adjusted the tooltip prop in the Button component according to the Tooltip component
  • adjustments to the PageHeader
  • some changes to the index.js (Tooltip style overwrite)
  • adjusted Social Media icon hover + fixed Discord Icon hover
  • some overall small adjustments

@InoMurko
Copy link
Copy Markdown
Contributor

I trust your judgment!

@sk-enya
Copy link
Copy Markdown
Contributor

sk-enya commented Feb 27, 2023

On the history page, some text seems to overlap please ref the screenshot below.
Screenshot 2023-02-27 at 12 21 58 PM

@InoMurko would love to know your thoughts footer design and placement part, as I feel keeping social links for bobanetwork and the boba website link together.

Old :
Screenshot 2023-02-27 at 12 27 10 PM

Redesigned one:
Screenshot 2023-02-27 at 12 27 31 PM

style={{ width: '140px', paddingTop: '', paddingLeft: '15px' }}
/>
<MenuItems setOpen={setOpen} />
<FeeSwitcher />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

FeeSwitcher only needs to be enable for layer l2, can you please fix it.
{layer === LAYER.L2 ? <FeeSwitcher /> : null}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Makes sense! Will be done

Comment on lines +147 to +152
<Tooltip
title={`BOBA or ${networkService.L1NativeTokenSymbol} will be used across ${networkName['l2']} according to your choice.`}
>
<Typography variant="body2" sx={{ textDecoration: 'underline' }}>
Fee
</Typography>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There should be HelpOutline Icon which shows tooltip on hover.
Seems like fee getting added multiple times.

Screenshot 2023-02-27 at 11 54 38 AM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good take on the double fee!
But the HelpOutline icon is missing in the Figma design as well. But we can add it again.

Copy link
Copy Markdown
Contributor

@sk-enya sk-enya Feb 27, 2023

Choose a reason for hiding this comment

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

yeah, it was added later but not updated in design.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

noted, already added to our issue! @this-dave FYI

Comment on lines +20 to +28
<Button
type="primary"
variant="contained"
size="large"
onClick={() => dispatch(setConnect(true))}
sx="font-weight: 500;"
>
Connect
</Button>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you please userPrompt back as its only rendering the connect button other page as the userPrompts added intentionally.

Earlier :
Screenshot 2023-02-27 at 12 00 02 PM

After your change:
Screenshot 2023-02-27 at 11 59 53 AM

Which is affecting on other pages well please take look

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Button design looks good!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

prefer a CTA message too, but doesn't look like we have a design for it. So, to clarify you want to just replace the new button with the previous highlighted section?

Copy link
Copy Markdown
Contributor

@sk-enya sk-enya Feb 27, 2023

Choose a reason for hiding this comment

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

Would be great if you have a better suggestion on this, yeah this is not in the design but was added by Jan previously to provide better info to end user.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ok will leave this to @this-dave as he is more creative than me :-) thx! will create an issue

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sk-enya So do you want that the old user prompt is displayed on all sites again and also move the connect button to the box (like on the wallet page) instead of the current (live) "no data" icon as it is in the design files? (Image 2)

Or do you want the whole old user prompt back and just implement an additional connect button in the box like on this picture (there would be two 'connect' buttons then):
brave_ic9Kd2hLOz

There are no big changes on the history page, but on the wallet page, for example, the "Connect" button has been moved to the field where the data is displayed.

So there are three possible solutions:

    1. Bring back the older user prompt and just redesign it (connect button will stay in place)
    1. Bring back the older user prompt (with a redesign) and move the button as in the Figma design approach (for example: into the box on the wallet page)
    1. Bring back the old user prompt (with redesign) but add a connect button additional (like to the box on the wallet page)

How should I fix it? For me, I think 1) or 2) is the best because on 3) you have two connect buttons that are not needed

Visualized here:
boba2702

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@this-dave on the wallet page it doesn't make sense to show the Token and NFT tab before connecting to Metamask.

I would suggest just keeping only the top box with the userPrompt and connect button like the history page.

Screenshot 2023-02-27 at 7 55 21 PM

Copy link
Copy Markdown
Contributor

@wsdt wsdt Feb 28, 2023

Choose a reason for hiding this comment

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

sure, the change will be incorporated! Thanks for the clarification. Could be beneficial if we have these kind of differences to the mockup somewhere documented, otherwise the mockups are implemented exactly as is and then have to be partially reversed in the PR. Any chance we could do this @sk-enya ? Would save developer resources.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah @wsdt Absolutely to save developer efforts this needs to be documented somewhere, prepared the issue for this as of now so we can come back to this later #608

@wsdt
Copy link
Copy Markdown
Contributor

wsdt commented Feb 27, 2023

On the history page, some text seems to overlap please ref the screenshot below. Screenshot 2023-02-27 at 12 21 58 PM

@InoMurko would love to know your thoughts footer design and placement part, as I feel keeping social links for bobanetwork and the boba website link together.

Old : Screenshot 2023-02-27 at 12 27 10 PM

Redesigned one: Screenshot 2023-02-27 at 12 27 31 PM

That was already the case before starting the work, created an issue for this:
https://github.com/bobanetwork/boba/issues/603

@this-dave

@InoMurko
Copy link
Copy Markdown
Contributor

On the history page, some text seems to overlap please ref the screenshot below. Screenshot 2023-02-27 at 12 21 58 PM
@InoMurko would love to know your thoughts footer design and placement part, as I feel keeping social links for bobanetwork and the boba website link together.
Old : Screenshot 2023-02-27 at 12 27 10 PM
Redesigned one: Screenshot 2023-02-27 at 12 27 31 PM

That was already the case before starting the work, created an issue for this: #603

@this-dave

We could trim the transaction hashes similar to how Safe is doing them:
image

The redesigned one for socials and other links look much better, thanks

@wsdt
Copy link
Copy Markdown
Contributor

wsdt commented Feb 27, 2023

@InoMurko would love to know your thoughts footer design and placement part, as I feel keeping social links for bobanetwork and the boba website link together.

@sk-enya @InoMurko The new design is according to the mockups - shouldn't we settle for a design first before implementing it? Looking forward to your feedback

@wsdt
Copy link
Copy Markdown
Contributor

wsdt commented Feb 27, 2023

0x38e8...kjfk

@InoMurko exactly already on it

@InoMurko
Copy link
Copy Markdown
Contributor

@InoMurko would love to know your thoughts footer design and placement part, as I feel keeping social links for bobanetwork and the boba website link together.

@sk-enya @InoMurko The new design is according to the mockups - shouldn't we settle for a design first before implementing it? Looking forward to your feedback

I agree. Let me know what you need from me.

@sk-enya
Copy link
Copy Markdown
Contributor

sk-enya commented Feb 27, 2023

@InoMurko would love to know your thoughts footer design and placement part, as I feel keeping social links for bobanetwork and the boba website link together.

@sk-enya @InoMurko The new design is according to the mockups - shouldn't we settle for a design first before implementing it? Looking forward to your feedback

Yeah @wsdt, seems like most of the design changes have been already done and I was expecting @InoMurko views on the footer design which he has already shared so no changes are required on the footer all good!

@wsdt
Copy link
Copy Markdown
Contributor

wsdt commented Feb 27, 2023

@InoMurko would love to know your thoughts footer design and placement part, as I feel keeping social links for bobanetwork and the boba website link together.

@sk-enya @InoMurko The new design is according to the mockups - shouldn't we settle for a design first before implementing it? Looking forward to your feedback

Yeah @wsdt, seems like most of the design changes have been already done and I was expecting @InoMurko views on the footer design which he has already shared so no changes are required on the footer all good!

ok awesome, thanks @sk-enya !

Fixed: FeeSwitcher should only be visible on L2
…, connecting -> connected) because it makes more sense that way.
…igma design as well hide the Token/NFT tabs when not logged in
@wsdt wsdt requested review from InoMurko, sk-enya and wsdt March 1, 2023 15:42
@wsdt
Copy link
Copy Markdown
Contributor

wsdt commented Mar 1, 2023

We just had a live review, looks good to me. Will review the code now.

…x-design-alignment

# Conflicts:
#	packages/boba/gateway/src/components/mainMenu/layerSwitcher/LayerSwitcher.js
Copy link
Copy Markdown
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.

One thing @this-dave noted was that we may want to use the prettier-formatting config we have in the repo to keep changes low. Sahil had the same issue when he began working on the Gateway.

This could help avoiding merge conflicts in future. But is out of scope here.

@this-dave
Copy link
Copy Markdown
Contributor

Fixed all issues including:

  • brought back user prompt with new Figma design
  • fee is now only shown when connected to L2 + fixed the double fee bug
  • helpline icon added to fee again
  • transaction hash will be shortened now if the screen width is less than 1920px
  • wallet page "Token", "NFT" is not only visible when logged in

Additional:
Changed the wording from "connecting" and "disconnect" to "connected" and "disconnected" because that makes more sense
(Will open a [TBD] issue if this text is needed as it has no additional value to the user as well is never used anywhere else)

Copy link
Copy Markdown
Contributor

@sk-enya sk-enya 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!

@sk-enya sk-enya merged commit 25b68a3 into feat/one-gateway Mar 1, 2023
@sk-enya sk-enya deleted the wavect/fix-design-alignment branch March 1, 2023 18:15
sk-enya added a commit that referenced this pull request Mar 3, 2023
* 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 <sahil@enya.ai>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>

* 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 <46272347+Boyuan-Chen@users.noreply.github.com>

* fast exit fixes (#619)

* Add wallet service and fix switchChain (#620)

---------

Co-authored-by: Wavect GmbH <120394111+wavect-gmbh@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
InoMurko pushed a commit that referenced this pull request Mar 22, 2023
* 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 <sahil@enya.ai>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>

* 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 <46272347+Boyuan-Chen@users.noreply.github.com>

* fast exit fixes (#619)

* Add wallet service and fix switchChain (#620)

---------

Co-authored-by: Wavect GmbH <120394111+wavect-gmbh@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
(cherry picked from commit bb3ca48)
InoMurko added a commit that referenced this pull request Mar 22, 2023
* 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 <dsouradeep2@gmail.com>
(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 <ino.murko.github@protonmail.com>
(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 <sahil@enya.ai>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>

* 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 <46272347+Boyuan-Chen@users.noreply.github.com>

* fast exit fixes (#619)

* Add wallet service and fix switchChain (#620)

---------

Co-authored-by: Wavect GmbH <120394111+wavect-gmbh@users.noreply.github.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
(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 <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(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 <sahil@enya.ai>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
(cherry picked from commit 5a4bf03)

* Fixed FeeSwitcher Button hover effect (#635)

Co-authored-by: wavect-gmbh <office@wavect.io>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
(cherry picked from commit 9278d41)

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

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
(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 <86316370+sk-enya@users.noreply.github.com>
(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 <sahil@enya.ai>
(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 <kevin.riedl@wavect.io>
Co-authored-by: Ino Murko <2582555+InoMurko@users.noreply.github.com>
(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 <office@wavect.io>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>

* 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 <86316370+sk-enya@users.noreply.github.com>

* fix for nowpayments

---------

Co-authored-by: wavect-gmbh <office@wavect.io>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
Co-authored-by: fayfry <nowheredeer@gmail.com>
(cherry picked from commit b02744b)

---------

Co-authored-by: Jia Liu <58184672+kitounliu@users.noreply.github.com>
Co-authored-by: Boyuan-Chen <46272347+Boyuan-Chen@users.noreply.github.com>
Co-authored-by: Michael Montour <83612658+mmontour1306@users.noreply.github.com>
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Dave <49922326+this-dave@users.noreply.github.com>
Co-authored-by: cby3149 <cby3149@gmail.com>
Co-authored-by: alvaro-ricotta <81116391+alvaro-ricotta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants