SunWeb3Sec/DeFiHackLabs

Address Not Found in src/test/LiFi_exp.sol

seyyedaliayati opened this issue · 3 comments

Consider the following snippet from src/test/LiFi_exp.sol:

address lifi = address(0x005a9fd7c39a6c488e715437d7b1f3c823d5596ed1);

When I search the given address i.e. 0x005a9fd7c39a6c488e715437d7b1f3c823d5596ed1 on etherscan.io, nothing found! Why?
If this address doesn't exist on the blockchain, how the test case passes successfully?

I found that some addresses in this exp file seem to have one more byte, that is, the first two zero should be removed. For example variables from, lifi and exploiter.

I found that some addresses in this exp file seem to have one more byte, that is, the first two zero should be removed. For example variables from, lifi and exploiter.

Ops! Got it.
Thanks.

You can close this issue mate!!