emo.eth
@emo_eth
Followers
5K
Following
10K
Statuses
5K
building something new | prev: nook, @opensea, seaport co-author | musician, poet, & cryptographic performance artist | he/him | views are your mom's
Oakland, CA
Joined May 2021
@real_philogy yeah selfdestruct is always post-tx since that’s when the client can clean up the account state selfdestruct in the constructor itself should result in zero code at the address though, since it halts execution like return does
0
0
1
the null vs zero-length distinction is also important
@emo_eth No you can’t create2 multiple times, empty code is not the same as no code
0
0
1
@lovethewired that’s if you use selfdestruct - my q was about empty bytecode in particular as an alternative (but it doesn’t work)
0
0
0
isn’t cbor metadata the fastest way to notify projects about compiler vulnerabilities? and only insight into language + compiler version metrics for chains? it won’t change the bytecode unless you change solc version (which will probably change the bytecode) right? so including is harmless for deterministic deploys
0
0
0
@gndizzy @merkleplant_eth @zerosnacks good note about inline config, haven’t had a chance to use that yet. also good reminder that even in fork tests you need to explicitly set evm version :(
0
0
2
@merkleplant_eth @zerosnacks forge fork test as part of ci could catch incompatibilities when adding new chains/rpcs automatically at least still needs eng lift to support the incompatible ones vs just managing signing keys though, i can see that being a pain point
1
0
0
@merkleplant_eth @zerosnacks do you think the worry is that people will deposit on the wrong chain? otherwise doesn’t really matter if contract is simple even if bytecode changes right?
1
0
0
interesting - repos being spammed by AI PRs maybe try committing a “robots.txt” that’s just 1m+ tokens of lorem ipsum
@tiznah i think it exceeds the max context length or something.
0
0
3
@CupOJoseph the destination smart contract nonce gets incremented by create/2 per eip-161 bc clients were purging smart contracts as they were being created bc they had 0 code and 0 nonce and looked uninitialize lol
1
0
3
pls leave selfdestruct alone i need it @ethereum
@CupOJoseph selfdestruct is still allowed in same tx so it’s still useful for some things but since nonce is incremented for duration of tx can’t do it multiple times in a tx
1
0
7
@CupOJoseph selfdestruct is still allowed in same tx so it’s still useful for some things but since nonce is incremented for duration of tx can’t do it multiple times in a tx
1
0
4
@CupOJoseph yeah was trying to see if there was a way to avoid selfdestruct, guess not but can only selfdestruct once per tx so would need to use a bundler not important tho just want to avoid bytecode costs
1
0
1