ape-etherscan icon indicating copy to clipboard operation
ape-etherscan copied to clipboard

Handle genesis receipt

Open antazoey opened this issue 3 years ago • 0 comments
trafficstars

What went wrong?

The genesis receipt comes back funny:

In [6]: receipt = next(explorer.get_account_transactions(ZERO_ADDRESS))

In [7]: receipt
Out[7]: <Receipt GENESIS_0000000000000000000000000000000000000000>

In [8]: receipt.sender
Out[8]: 'GENESIS'

In [9]: 

How can it be fixed?

Change sender to ZERO_ADDRESS Look into what we can do about txn hash, if anything

antazoey avatar Sep 01 '22 18:09 antazoey