Discussion
Share your thoughts.
Posts
4- Excited to Continue Learning Solidity!DiscussionJun 16, 2024
Hi everyone, I’m thrilled to share that I’m a new learner who has just completed a Solidity 101 course. The journey so far has been incredibly exciting and insightful. I’m eager to continue exploring and deepening my knowledge in Solidity and blockchain development. Looking forward to engaging with this amazing community and learning together! I’m curious to know what resources have helped others at my level improve. Any recommendations on websites, courses, tools, or any other materials would be greatly appreciated. Cheers, Philip
- Cyfrin Updraft
- Solidity
04 - Reentrancy VulnerabilityDiscussionMay 30, 2024
Hello everyone , I've noticed that the offer function uses the .call{value: amount}("") method to send Ether to the recipient's address. Could anyone provide insight into whether this function is indeed vulnerable to reentrancy and suggest any best practices or modifications to mitigate such risks? function _offer(address to, uint256 amount) internal { balance -= amount; (bool success, ) = to.call{value: amount}(""); if (!success) { revert TransferFailed(address(0), address(this), to, amount); } } `
- Foundry
- Security
- Solidity
- Blockchain
- Smart Contract
00 - BlockOutOfRangeErrorDiscussionMar 26, 2024
I'm getting this error when clicking on the getBalance button of the live page of port 5500 for my anvil: "BlockOutOfRangeError: block height is 150 but requested was 12092" Can anyone help explain what I missed here? Thank you!
- Cyfrin Updraft
- Foundry
00
- 1780
- 11
- 10
- 10
- 10
- 10
- 10
- 10
- 10
- 10
- Solidity
- Smart Contract
- Transaction
- Foundry
- Blockchain
- Gas
- Security
- Cyfrin Updraft
- Course
- erc20