question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

If backend returns `null` for addresses the Transaction cannot be executed

See original GitHub issue

If gasToken or refundReceiver are null the interface cannot create the transaction hash and errors (see errors below). Therefore it is not possible to execute the transaction

Safe with example transactions: https://rinkeby.gnosis-safe.io/safes/0xd9395aeE9141a3Efeb6d16057c8f67fBE296734c/transactions

Errors shown on console:

Error: “invalid address (arg=“gasToken”, coderType=“address”, value=null)”
Error: “invalid address (arg=“refundReceiver”, coderType=“address”, value=null)”

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
fernandomgcommented, Mar 19, 2020

@rmeissner, This bug was reported a long time ago. Now I’m checking the transactions of the reported Safe, and none of them have a null for those values.

Seems like they defaulted to 0x0000000000000000000000000000000000000000 (@Uxio0 is this due to a change in the back-end?)

Anyway, I’ll do what I said in the previous comment (https://github.com/gnosis/safe-react/issues/573#issuecomment-597109363).

1reaction
Uxio0commented, Mar 30, 2020

This does not affect users that do only create transactions through the interface, correct?

@rmeissner, can you provide the steps to reproduce this? How to create transactions from outside the interface.

Just go to the swagger https://safe-transaction.staging.gnosisdev.com/ and POST a tx setting some values like refund_receiver or gasToken null instead of 0x000...000

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: cannot estimate gas; transaction may fail or may require ...
I frequently get errors like the following: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: ...
Read more >
current transaction is aborted, commands ignored until end of ...
I got this error using Java and PostgreSQL doing an insert on a table. I will illustrate how you can reproduce this error:...
Read more >
9.26. System Administration Functions - PostgreSQL
If no transactions have been replayed during recovery, this function returns NULL. Otherwise, if recovery is still in progress this will increase monotonically ......
Read more >
2 Server Error Message Reference - MySQL :: Developer Zone
Message: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a ... Message: Can't execute the query...
Read more >
Managing Transactions (Node.js Application Developer's Guide)
If the request or transaction timeout expires before a transaction is committed, the transaction is automatically rolled back and all updates are discarded....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found