sirius icon indicating copy to clipboard operation
sirius copied to clipboard

Fix the contract creator display in a case where the contract creation failed

Open ChenxingLi opened this issue 2 years ago • 0 comments

Do you want to request a feature or report a bug?

Feature

If this is a feature request, what is motivation or use case for changing the behavior?

In a rare case, a contract creation transaction will create a contract with empty bytecode. See this transaction. The created contract is shown as "This contract has not been deployed" in the contract detail page.

However, it may confuse the user since the transaction is executed successfully, but the contract is not deployed.

What is the expected behavior?

For a contract address whose nonce is larger than 0, the contract detailed page should also display its creator, even if its bytecode is empty.

ChenxingLi avatar Apr 20 '22 08:04 ChenxingLi