Tony D’Addeo pfp
Tony D’Addeo
@deodad
wifes out tonight time to try write an rpc proxy using viems fallback transport hiccup: the http transport throws instead of returning rpc responses when an rpc error is encountered opened a PR to add a `raw` option that will return { result, error } instead throwing https://github.com/wevm/viem/pull/3396
4 replies
3 recasts
47 reactions

Monteluna pfp
Monteluna
@monteluna
Promises were a mistake for javascript and more people should use GADTs, and return things like Error Types instead of throwing (this looks basically like that). I will die on this hill.
2 replies
0 recast
1 reaction

lightcap pfp
lightcap
@lightcap.eth
compile time > runtime amen
1 reply
0 recast
0 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
yea
0 reply
0 recast
0 reaction