8000 Fix/crashes and anchorage withdrawal by sk-enya · Pull Request #610 · bobanetwork/gateway · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix/crashes and anchorage withdrawal #610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 42 commits into from
Aug 30, 2024

Conversation

sk-enya
Copy link
Collaborator
@sk-enya sk-enya commented Aug 7, 2024

Fix/crashes and anchorage withdrawal

Changes:

  • invoke boba fee choice for only bnb mainnet
  • wait on time for btn enable on withdrawal light bridge
  • updated the readme for configuration.

Changes:

  • change: latest L2output block fetching to oracle service.
  • change: useAnchorageWithdrawal as separate hook
  • change to remove the MM add network warning!
  • Fetch block number from diputeGameFactory contract
  • update copy incase of fruad proof withdrawal enable
  • useAppConfig hook to handled app related configuration!.
  • provetransaction withdrawal for fruad proof service function with action to trigger.
  • checkWithdrawal with op_portal2 contract
  • withdrawal finalize status call from services to enable button.
  • hardcoded address for sepolia op portal2 with note.

TODO: Before Merging make sure to merge graphql utils
bobanetwork/graphql-utils#6

sk-enya added 3 commits August 7, 2024 14:04
- invoke boba fee choice for only bnb mainnet
- wait on time for btn enable on withdrawal light bridge
@sk-enya sk-enya marked this pull request as draft August 7, 2024 17:04
- updated axios package
- earn to be only enable for active network mainnet
- useNetworkInfo updated with isActiveNetworkSepolia.
- updated earn service with correct contract invokation with returning valid object.
- withdrawal of tbnb / Boba for bnb testnet inithandler setup.
- moved actions to bridgeAction from networkAction
- refactor verticle stepper to use correct redux flow.
- updated usenetwork info to check for active bnb testnet network.
- updated abi for L2toL1messagepasser & predeployed contract address.
- updated bridge service function handler for withdraw init.
- updated L2ToL1MessagePasser abi
- Added prove withdrawal and claim withdrawal function to bridge service.
- prepare actions for proof & claim and use in vertical stepper.
- refactor call in vertical stepper correctly to handle error
- estimate gas final withdrawal
- finalizeTransactionWithdrawal
- anchorageWithdrawNativeToken
- anchorageWithdrawErc20Token
- prooveTransactionWithdrawal
@sk-enya sk-enya marked this pull request as ready for review August 19, 2024 14:05
sk-enya added 11 commits August 19, 2024 19:36
- fetch block number from fdg contract
- update copy incase of fruad proof withdrawal enable
- useAppConfig hook to handled app related configuration!.
- proovetransaction withdrawal for fruad proof service function with action to trigger.
- checkwithdrawal with oppportal2 contract
- withdrawal finalize status call from services to enable button.
- hardcoded address for sepolia op portal2 with note.
sk-enya and others added 3 commits August 21, 2024 02:38
…dispute-game-contract

Fix : Sepolia withdrawal with dispute game factroy contract!
- withdrawal modal style fixes
- transaction reset on switching network and!
- rename functions names
- loading boba token details instead of fetching whole tokens and balances.
- fetching savings and stake info post deposit.
- cleanup repetative call for info and stake and balances.
- updated content and prepare redux state / reducer / action / selector accordgingly.
- added function for loading boba balance.
@boyuan-chen
Copy link
Contributor
boyuan-chen commented Aug 21, 2024

@sk-enya Why are the end-to-end tests disabled?

on: 
  # push: 
  #   branches: ['main', 'master']
  # pull_request:
  workflow_dispatch

@sk-enya
Copy link
Collaborator Author
sk-enya 8000 commented Aug 22, 2024

@sk-enya Why are the end-to-end tests disabled?

on: 
  # push: 
  #   branches: ['main', 'master']
  # pull_request:
  workflow_dispatch

It's not disabled setup to work on dispatch so we have to trigger it manually so we can run it on demand instead of every push to avoid the draining of funds from test account!

sk-enya and others added 4 commits August 22, 2024 12:26
…leanup-stake

Chore/loading boba balance cleanup stake
- refactored fetch transaction function for bnb and other networks.
- fetching based on currently connected networks such as active network bnb testnet to load data from subgraph.
@sk-enya sk-enya requested a review from wsdt August 23, 2024 06:52
@boyuan-chen
Copy link
Contributor

@sk-enya Why are the end-to-end tests disabled?

on: 
  # push: 
  #   branches: ['main', 'master']
  # pull_request:
  workflow_dispatch

It's not disabled setup to work on dispatch so we have to trigger it manually so we can run it on demand instead of every push to avoid the draining of funds from test account!

I have a lot of ETH. Could you enable the test and let me know the address?

…leanup-stake

Changes to load the BNB Testnet Anchorage txs
@sk-enya
Copy link
Collaborator Author
sk-enya commented Aug 26, 2024

Sure, will update with my next PR for integration spec for updated changes!

@sk-enya sk-enya closed this Aug 26, 2024
@sk-enya sk-enya reopened this Aug 26, 2024
@sk-enya sk-enya merged commit fc75fec into main Aug 30, 2024
3 of 4 checks passed
@sk-enya sk-enya deleted the fix/crashes-and-anchorage-withdrawal branch September 14, 2024 05:03
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.

3 participants
0