scaffold-eth / se-2-challenges

SpeedRunEthereum challenges (Powered by Scaffold-ETH 2)
https://speedrunethereum.com
MIT License
82 stars 162 forks source link

Ch1 backmerge 21/03/24 #161

Closed rin-st closed 6 months ago

rin-st commented 6 months ago

Let's update this in every challenge backmerge PR 🙌

Created wrapper for that type of functions and added it to challenges 0-2.

Tried to use fn.name instead errorMessageFnDescription but it doesn't work well in our case since it returns name of initial function. Example:

f1 = () => {};
f1 = f2;
// f1.name = 'f1'; f2.name = 'f1';

If it's ok I'll add it to other challenges too