![DappScout Profile](https://pbs.twimg.com/profile_images/1865870884101070848/kFBLGZYU_x96.jpg)
DappScout
@DappScout
Followers
31
Following
183
Statuses
117
Exploring Web3 🔎 Learning Blockchain & Smart Contracts daily 📚 | Building for the decentralized future 🌍 Telegram @DappScout
Wrocław, Polska
Joined November 2024
At what stage did you start participating in the public contests? What is necessary to start? #Web3 @CodeHawks
0
0
1
@ddimitrovv22 Awesome, thanks for sharing this😯 I probably wouldn't have come across it otherwise
0
0
2
That tripped me up while writing tests😵💫 ✨When you call a payable function and send Ether with it (msg.value), the EVM transfers the balance to the contract before executing any code—so before validation. In functions that rely on msg.sender, the updated balance will already be reflected. Is this related to reentrancy attacks? 🤔
0
0
2
@0xAlexSR Sometimes rest is essential to reach your goals. Take your time, I’m rooting for you 🫡
0
0
2
🧨When testing in Foundry, you can capture and decode emitted events: ✨Example: Vm.Log[] memory logs = vm.getRecordedLogs(); bytes32 topic0 = logs[0].topics[0]; // first topic is the event signature assertEq(topic0, keccak256("DataStored(address,uint256)"), "Event signature mismatch"); This ensures the correct event was emitted📝
0
0
1
RT @DappScout: What project ideas would you recommend for beginner in Solidity/Foundry? Or are there any repos that are worth checking ou…
0
1
0
🔔While testing contracts you will need to know how manipulate time🔔 In Foundry, you can manipulate time with: 🔥vm.warp(timestamp): Set a custom block timestamp. 🔥vm.skip(seconds): Fast-forward time by a set duration. Ethereum timestamps are Unix-based, second-precise, and not entirely immutable, because miners have some control ✅
0
0
4