Skip to content

False SUCCESS status of transaction in GetTransactionInfoById #4982

@const-tmp

Description

@const-tmp

System information

I use grpc.trongrid.io:50051

Example

I make USDT TRC20 transfer for 1000000$, while having 10$ on my balance.

Expected behaviour

GetTransactionInfoById returns unsuccess status.

Actual behaviour

GetTransactionInfoById returns SUCCESS status in first seconds after sending transaction. After a while, status changes.

Steps to reproduce the behaviour

  1. make TRC20 transfer with insufficient balance
  2. call GetTransactionInfoById, and check status
  3. repeat until status changes

I only have logs from my backend. But the bug definitely exists.

2023/02/10 15:20:29 /crypto/pkg/watcher/service/service_logging.gen.go:44: [ watcher ]	WatchTransaction result:
success(bool):   true

2023/02/10 15:20:42 /crypto/pkg/watcher/service/service_logging.gen.go:44: [ watcher ]	WatchTransaction result:
success(bool):   false

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic:apirpc/http related issuetopic:vmVM, smart contract

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions