ethernaut icon indicating copy to clipboard operation
ethernaut copied to clipboard

Add ability to pass level with revert

Open kylriley opened this issue 7 years ago • 2 comments

It'd be helpful in some cases to be able to pass a level by the contract throwing, e.g. a level that requires you to exceed the block gas limit

kylriley avatar Mar 19 '18 02:03 kylriley

Hmm. Interesting.

Can you make a suggestion as to how this would be achieved, considering Ethernaut.sol's validateInstance function?

eternauta1337 avatar Apr 06 '18 14:04 eternauta1337

This sounds useful, but it would be great to motivate it with an actual level idea that would work like this.

frangio avatar Sep 17 '21 13:09 frangio

I guess that the gerneral try / catch solution already works for this but yes this might be handy with a level idea, fell free to open a github discussion under the "level idea" category and raise that up there. Closing this for inactivity

xaler5 avatar Dec 25 '22 20:12 xaler5