Content pfp
Content
@
0 reply
0 recast
2 reactions

shotaro pfp
shotaro
@shotaro
Using transient storage as global state variables is a mistake and an Anti-Pattern. Arbitrum and AMB bridges use this to store the message sender of a call. Prefer local variables with limited scope over global state variables. More functional programming style.
1 reply
0 recast
4 reactions

Jessica pfp
Jessica
@jes5-
Ah, another weird thing is it's also copying the unbounded returnData to memory. So I think you can potentially impose some absurdly high gas cost on a relayer?🤯
0 reply
0 recast
2 reactions