kadenzipfel / smart-contract-vulnerabilities

A collection of smart contract vulnerabilities along with prevention methods
https://kadenzipfel.github.io/smart-contract-vulnerabilities/
1.63k stars 218 forks source link

Unexpected Balances #91

Open indeqs opened 2 weeks ago

indeqs commented 2 weeks ago

Checklist

Describe the changes you've made:

Supersedes this PR with the changes suggested by @kadenzipfel

Type of change

Select the appropriate checkbox:

indeqs commented 2 weeks ago

WDYM @rakesh0x7

0xSandyy commented 2 weeks ago

Hi @indeqs, you should add more force feeding methods like selfdestruct and Pre-calculated Deployments.

rakesh0x7 commented 2 weeks ago

WDYM @rakesh0x7

@indeqs In this PR #66, @0xSandyy, @kadenzipfel, and I had a discussion related to linking./forcibly-sending-ether.md in dos-revert.md. Please go through it once here. I thought that would be handled by you.

indeqs commented 2 weeks ago

@0xSandyy by Pre-calculated Deployments do you mean the create2 opcode?

0xSandyy commented 2 weeks ago

I was referring from this source: https://scsfg.io/hackers/unexpected-ether/#pre-calculated-deployments.