Guard Vyper State-Changing Functions with nonreentrant
Use Vyper's built-in nonreentrant decorator to revert reentrant calls on guarded external functions, and verify it compiles and reverts in tests.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Vyper's built-in nonreentrant decorator to revert reentrant calls on guarded external functions, and verify it compiles and reverts in tests.
When to apply Vyper's @nonreentrant decorator, where trust boundaries sit, and how to verify the guard without replacing checks-effects-interactions.