Skip to content
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

refactor WalletConnectAuth using signCustomTransaction() #637

Conversation

Viterbo
Copy link
Collaborator

@Viterbo Viterbo commented Oct 13, 2023

Fixes #626

Description

This PR includes the refactoring of the class WalletConnectAuth to support new custom contract functions. The bug blocking this PR was solved so now this work can be tested and reviewed.

Test scenarios

Test scenarios

  • go to this link
  • log in using Metamask or SafePal
  • try the following:
    • Send ERC20 Tokens
    • Wrap / Unwrap
    • Stake / Unstake / withdraw

All should work as always.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have cleaned up the code in the areas my change touches
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have removed any unnecessary console messages
  • I have included all english text to the translation file and/or created a new issue with the required translations for the currently supported languages
  • I have tested for mobile functionality and responsiveness
  • I have added appropriate test coverage

@Viterbo Viterbo self-assigned this Oct 13, 2023
@Viterbo Viterbo linked an issue Oct 13, 2023 that may be closed by this pull request
@netlify
Copy link

netlify bot commented Oct 13, 2023

Deploy Preview for wallet-staging ready!

Name Link
🔨 Latest commit 83a09c5
🔍 Latest deploy log https://app.netlify.com/sites/wallet-staging/deploys/652e8c7fc24b320008d2f1c4
😎 Deploy Preview https://deploy-preview-637--wallet-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 13, 2023

Deploy Preview for wallet-develop-mainnet ready!

Name Link
🔨 Latest commit 83a09c5
🔍 Latest deploy log https://app.netlify.com/sites/wallet-develop-mainnet/deploys/652e8c7fbf820d0008712c92
😎 Deploy Preview https://deploy-preview-637--wallet-develop-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Viterbo Viterbo marked this pull request as ready for review October 17, 2023 13:25
@Viterbo Viterbo changed the base branch from develop to epic/623-custom-contract-function-support October 17, 2023 13:34
…actor-walletconnectauth-using-signcustomtransaction
@donnyquixotic donnyquixotic requested a review from ezra-sg October 19, 2023 03:04
@donnyquixotic donnyquixotic merged commit 7150022 into epic/623-custom-contract-function-support Oct 23, 2023
1 check passed
@donnyquixotic donnyquixotic deleted the 626-refactor-walletconnectauth-using-signcustomtransaction branch October 23, 2023 17:31
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.

Refactor WalletConnectAuth using signCustomTransaction
2 participants