Vectorized pfp
Vectorized
@optimizoor
Noob question: how do I submit a Base txn with >100M gas? Wanna test something.
4 replies
1 recast
8 reactions

Philippe Castonguay pfp
Philippe Castonguay
@phabc
Write a contract with al giant for loop that deploys contracts or write to storage. Writing to storage is probably a little healthier for the chain
1 reply
0 recast
1 reaction

Vectorized pfp
Vectorized
@optimizoor
I noticed that if I use 30M gas doing ecrecover in foundry, the time needed to process it is about 0.8s on a relatively fast CPU. Thus, I wonder what will happen if I could submit a txn that burns 100M gas with ecrecover on Base, which has a block time of 2 seconds.
1 reply
0 recast
1 reaction

Philippe Castonguay pfp
Philippe Castonguay
@phabc
There are probably worst opcodes and operations out there to DDOS a chain, Geth team has some good benchmarks on mispriced opcodes IIRC. If you havent yet, you should read on Shanghai's attacks, which was basically what you are trying to do but on Ethereum mainnet ; https://ethos.dev/shanghai-attacks
1 reply
0 recast
0 reaction

Philippe Castonguay pfp
Philippe Castonguay
@phabc
You should try and do it, but note that it will cost you a decent amount to sustain this DDOS over multiple seconds / minutes. But even 5-10 blocks should be enough to see whether it had an impact or not on block production speed
1 reply
0 recast
1 reaction

Sumaa pfp
Sumaa
@sumaa
In my head a proposer would timeout due to extended time in the execution client and therefore not propose a valid block, and this repeats w/ new proposer. Where would cost come in?
0 reply
0 recast
0 reaction