FundMeTest : Question about Generated Address in Test Cases #211
-
Hello Everyone, If you are following the 2nd part of the course where we are writing the test cases for FundMe Contract, you may have noticed that the Ref : https://youtu.be/sas02qSFZ74?t=1375 I have reviewed the list of 10 generated addresses in the foundry and noticed that this address is not part of these addresses: (0) 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 Has anyone been able to determine the source or origin of the address "0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38"? It seems to be unrelated to the generated addresses provided in the foundry. Thank you for your assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @devrajsinghrawat you can find the answer in this section of the docs. That address is both the default |
Beta Was this translation helpful? Give feedback.
Hello @devrajsinghrawat you can find the answer in this section of the docs. That address is both the default
msg.sender
andtx.origin
in the tests.