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

Duplicated transactions when received Eth from another Safe and no ETHEREUM_TRACING_NODE_URL is set #1556

Open
nick8319 opened this issue Jul 7, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@nick8319
Copy link

nick8319 commented Jul 7, 2023

Describe the bug
When sending ETH from one Safe to another on Base Goerli Testnet chain, the transaction is indexed twice.
image

To Reproduce
Steps to reproduce the behavior:

  1. Create 2 Safes in Base Goerli Testnet.
  2. Send some ETH to Safe 1.
  3. Send ETH from Safe 1 to Safe 2.
  4. Safe 2 will have 2 "Received" transactions.
    Example: https://app.safe.global/transactions/history?safe=base-gor:0xD281290BF31aD660369A71E1aD6840a3048a0c17

Expected behavior
Safe 2 should have 1 "Received" transaction.

Environment (please complete the following information):

  • Staging or production? Production
  • Which chain? Base Goerli Testnet
  • OS: MacOs
  • Browser Firefox
  • Version 4.21.3

Additional context
From what I noticed, this affects L2 chains which do not have ETHEREUM_TRACING_NODE_URL.

@nick8319 nick8319 added the bug Something isn't working label Jul 7, 2023
@Uxio0
Copy link
Member

Uxio0 commented Jul 18, 2023

@JagoFigueroa are you able to reproduce this?

@JagoFigueroa
Copy link

JagoFigueroa commented Jul 18, 2023

Can confirm this duplication on chains like Base Goerli Testnet, Base Mainnet, Polygon and Celo.

Edited the message after some more testing

@Uxio0
Copy link
Member

Uxio0 commented Jul 18, 2023

Problem is

if args["value"] and not data: # Simulate ether transfer
and
elif event_name == "SafeReceived": # Received ether

For Safe sending to another Safe we index the SafeReceived event and the MultisigTransaction of the other Safe. I don't see a clean solution for this, as there's no easy way to prove that a Ether received on the event is a result of the MultisigTransaction

@liliya-soroka
Copy link
Member

The issue is actual for the zkSync Era mainnet network as well

@Uxio0
Copy link
Member

Uxio0 commented Sep 14, 2023

The issue is actual for the zkSync Era mainnet network as well

This is expected to happen for every network

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

4 participants