fix tests
This commit is contained in:
parent
96ac6eb83f
commit
1769bfb695
|
@ -3,8 +3,8 @@
|
||||||
[status-im.utils.ethereum.ens :as ens]))
|
[status-im.utils.ethereum.ens :as ens]))
|
||||||
|
|
||||||
(deftest namehash
|
(deftest namehash
|
||||||
(is (= ens/default-namehash (ens/namehash nil)))
|
(is (= (str "0x" ens/default-namehash) (ens/namehash nil)))
|
||||||
(is (= ens/default-namehash (ens/namehash "")))
|
(is (= (str "0x" ens/default-namehash) (ens/namehash "")))
|
||||||
(is (= "0x93cdeb708b7545dc668eb9280176169d1c33cfd8ed6f04690a0bcc88a93fc4ae"
|
(is (= "0x93cdeb708b7545dc668eb9280176169d1c33cfd8ed6f04690a0bcc88a93fc4ae"
|
||||||
(ens/namehash "eth")))
|
(ens/namehash "eth")))
|
||||||
(is (= "0xde9b09fd7c5f901e23a3f19fecc54828e9c848539801e86591bd9801b019f84f"
|
(is (= "0xde9b09fd7c5f901e23a3f19fecc54828e9c848539801e86591bd9801b019f84f"
|
||||||
|
|
Loading…
Reference in New Issue