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

MetaMask - RPC Error: execution reverted #599

Open
waddaboo opened this issue Nov 1, 2024 · 1 comment
Open

MetaMask - RPC Error: execution reverted #599

waddaboo opened this issue Nov 1, 2024 · 1 comment
Labels
bug 🐛 Something isn't working

Comments

@waddaboo
Copy link
Collaborator

waddaboo commented Nov 1, 2024

Describe the bug
The error MetaMask - RPC Error: execution reverted will occasionally occur when trying to remove on-chain group members.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any on-chain group with member.
  2. Select a member to remove.
  3. Select OK for remove confirmation.
  4. See error Some error occurred! Check if you're on Sepolia network and the transaction is signed and completed.
  5. Browser console will show error MetaMask - RPC Error: execution reverted .

Sometimes the transaction will pass instead of error.

Expected behavior
The selected member should be removed successfully without any error.

Screenshots
Bandada alert error message
image

Browser console error message
image

@waddaboo waddaboo added the bug 🐛 Something isn't working label Nov 1, 2024
@vplasencia vplasencia added blocked and removed blocked labels Nov 1, 2024
@vplasencia
Copy link
Member

vplasencia commented Nov 1, 2024

This issue is due to the Semaphore Subgraph not working properly after a member is removed, see issue: semaphore-protocol/semaphore#858

Bandada could wait for the issue to be fixed or use the SemaphoreEthers class instead of the SemaphoreSubgraph class here: https://github.com/bandada-infra/bandada/blob/main/apps/dashboard/src/api/semaphoreAPI.ts#L1

Semaphore @semaphore-protocol/data docs: https://github.com/semaphore-protocol/semaphore/tree/main/packages/data#readme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants