ReentranceDenied

Error v334 → current 29.22

A reentrant call was denied by the contract or runtime .

Encountered by: developers

Why This Error Exists

Reentrancy is blocked for safety. Restructure your call flow.

From Chain Metadata

A call tried to invoke a contract that is flagged as non-reentrant. The only other cause is that a call from a contract into the runtime tried to call back into `pallet-contracts`. This would make the whole pallet reentrant with regard to contract code execution which is not supported.

What This Means

A reentrant call was denied by the contract or runtime.

Common Causes

  • Contract has reentrancy protection
  • Runtime reentrancy guard triggered

How to Fix

  • Avoid reentrant call patterns
  • Complete current call before starting new one
  • Use state patterns instead of callbacks

Runtime Info

Pallet Index
29
Error Index
22
Error Code
29.22
Runtime Version
v393