Merge pull request #1744 from poanetwork/ab-remove-burn-address-from-tests

remove `0x0..0` from tests
pull/1763/head
Ayrat Badykov 6 years ago committed by GitHub
commit 5b10a8cf19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 6
      apps/explorer/test/support/factory.ex

@ -17,6 +17,7 @@
- [#1749](https://github.com/poanetwork/blockscout/pull/1749) - Replace the link in the footer with the official POA announcements tg channel link
- [#1718](https://github.com/poanetwork/blockscout/pull/1718) - Flatten indexer module hierarchy and supervisor tree
- [#1753](https://github.com/poanetwork/blockscout/pull/1753) - Add a check mark to decompiled contract tab
- [#1744](https://github.com/poanetwork/blockscout/pull/1744) - remove `0x0..0` from tests
## 1.3.9-beta

@ -125,7 +125,11 @@ defmodule Explorer.Factory do
|> sequence(& &1)
|> Hash.Address.cast()
address_hash
if to_string(address_hash) == "0x0000000000000000000000000000000000000000" do
address_hash()
else
address_hash
end
end
def block_factory do

Loading…
Cancel
Save