Deploy Different Contracts at Same Address | Hack Solidity 0.8

  Рет қаралды 6,236

Smart Contract Programmer

Smart Contract Programmer

Күн бұрын

Пікірлер: 35
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Tornado Cash Hack kzbin.info/www/bejne/rZnNg5ZqfZKld8U 0:00 - Intro 2:05 - Code overview 2:49 - DeployerDeployer contract 5:00 - Deployer contract 6:51 - Attack contract 8:52 - Remix demo overview 10:21 - Remix demo Code solidity-by-example.org/hacks/deploy-different-contracts-same-address/ Take a course www.smartcontract.engineer/
@harrydare8191
@harrydare8191 Жыл бұрын
This guy's solidity level is fire
@SUPERMAN_I4G
@SUPERMAN_I4G Жыл бұрын
Ngl I am obsessed with your video tutorials! Gone through 50% of the solidity playlist and decided to finish this playlist before I continue. Like how are you so good? Who are you? Dayumn! Well, thank you so much for all the insightful videos you make accessible for free! Can't thank you enough🙌🏽
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Just a programmer
@patrykloda6345
@patrykloda6345 Жыл бұрын
Your videos and course have been such a great help! The fact your course is a monthly subscription is great, other courses have a huge one time cost, but your monthly subscription makes it so much more accessible! Keep it up!
@lawniczakjohn
@lawniczakjohn Жыл бұрын
Have you taken it and been enjoying it?
@patrykloda6345
@patrykloda6345 Жыл бұрын
@@lawniczakjohn Yes, about 50% of the way through the solidity course. I've got quite a bit of solidity experience already, so the first 25% of the course was quite simple, however the later HIGH difficulty tasks are interesting and I've learnt quite a lot of interesting things from them. Definitely would recommend!
@Robinson-lw7ys
@Robinson-lw7ys Жыл бұрын
I was looking for this 🔥
@captpython3725
@captpython3725 Жыл бұрын
Your videos are like Solidity Super dose ..
@codertjay
@codertjay 5 ай бұрын
legendary
@Tanjiro_Killua
@Tanjiro_Killua 7 ай бұрын
Gold!!
@AkashDarji-mq8vc
@AkashDarji-mq8vc Жыл бұрын
Love you man ❤
@razorjhon2622
@razorjhon2622 Жыл бұрын
How u so good in Solidity please , make an advanced solidity tutorials like this one but a whole package 🙏
@herikaniugu
@herikaniugu Жыл бұрын
Unbelievable
@0xh8h
@0xh8h Жыл бұрын
so when the Tornado governance reviewed the proposal, they saw a contract that has function `selfdestruct` and they still think it's normal? I thought this kind of metamorphic contract exists since 2019
@muhanadtur8785
@muhanadtur8785 Жыл бұрын
Awesome!
@thileepanilankumaran6840
@thileepanilankumaran6840 Жыл бұрын
Selfdestruct is deprecated from Solidity 0.8.18. So contracts deployed before are vulnerable. How can we avoid this create vulnerability ?
@difference018
@difference018 Жыл бұрын
Is there any reason why this attack wouldn't work by simply upgrading the contract?
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
It won't be approved by the dao
@rbrickproductions123
@rbrickproductions123 Жыл бұрын
So it’s pretty unsafe to blindly call contract code, could this have been mitigated by storing the EXTCODEHASH of the original proposal with the extcodehash upon execution? Selfdestruct has been deprecated for almost a year. Hopefully this attack will encourage further review of the proposals to remove it/change behavior.
@kcstorytime4898
@kcstorytime4898 Жыл бұрын
Amazing. Do you coach developers? I could use some coaching from someone like you to make sure I have the skills I need to start applying to dev jobs.
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
nope
@lawniczakjohn
@lawniczakjohn Жыл бұрын
Seems like a type of Reentrancy in contract form. Deploy… within the deploy! 😮
@jingli9232
@jingli9232 Жыл бұрын
curious about the gas estimation extension
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
default feature on Remix
@nemtom20
@nemtom20 Жыл бұрын
I see you have an extension that tells you how much gas each function costs - is it built into Remix ? Does anyone know of a VsCode extension that does the same ?
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Yes, it's part of Remix
@zumbazumzum6463
@zumbazumzum6463 Жыл бұрын
Hello, the video was very clear. But I have a doubt, can we use DeployerDeployer contract directly to deploy Attack and Proposal, instead of using Deployer contract to deploy them.
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Nope, all is necessary
@sweetjimmy
@sweetjimmy Жыл бұрын
@@smartcontractprogrammer Buy why is that? The address of the Proposal and the Attack contract must still be the same if the DeployerDeployer contract uses create2 to create them directly, right?
@danial_hamedi
@danial_hamedi Жыл бұрын
@@smartcontractprogrammer have the save question
@magnetto90
@magnetto90 Жыл бұрын
Only 127 likes?? Come on people!!
@haashishp4424
@haashishp4424 Жыл бұрын
Bro, Can you create a coin for me in same contract address...Suggest me sites...i am weak in coding
@viktorlavrenenko1713
@viktorlavrenenko1713 Жыл бұрын
Is it another implementation of create3?
Vault Inflation Attack | Hack Solidity 0.8
11:09
Smart Contract Programmer
Рет қаралды 3,4 М.
Tornado Cash Hack - How to Deploy Different Contracts At the Same Address | DeFi
8:29
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 8 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 8 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 12 МЛН
Read Only Reentrancy | Hack Solidity (0.8)
19:55
Smart Contract Programmer
Рет қаралды 12 М.
Hardhat Tutorial | Smart contract framework (Truffle alternative)
34:08
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 14 М.
Denial of Service | Hack Solidity (0.6)
10:59
Smart Contract Programmer
Рет қаралды 9 М.
Fuzz | Testing with Foundry
9:07
Smart Contract Programmer
Рет қаралды 4,7 М.
Delegatecall | Solidity 0.8
9:26
Smart Contract Programmer
Рет қаралды 25 М.
Flash Loan Arbitrage | Aave Flash Loan Tutorial
48:34
Block Explorer
Рет қаралды 155 М.
6 Smart Contract Best Practices | Do you know them all???
5:49
EatTheBlocks
Рет қаралды 13 М.
Crowd Fund | Solidity 0.8
20:58
Smart Contract Programmer
Рет қаралды 13 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 8 МЛН