Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deferred call context error #4868

Closed
modship opened this issue Mar 14, 2025 · 1 comment · Fixed by #4869
Closed

Deferred call context error #4868

modship opened this issue Mar 14, 2025 · 1 comment · Fixed by #4869
Assignees

Comments

@modship
Copy link
Member

modship commented Mar 14, 2025

When the execution of the deferred call fail we need more information about the fail in the event generated in the context of the caller SC.

@modship modship self-assigned this Mar 14, 2025
@modship modship linked a pull request Mar 14, 2025 that will close this issue
8 tasks
@HahaZaineb
Copy link

HahaZaineb commented Mar 17, 2025

I second this,
I am developing a vesting smart contract on the Massa blockchain using Deferred Calls. Despite successful contract deployment and token locking, I encounter persistent errors related to deferred call execution in the releaseVestedTokens function (Repo) .

Expected Behavior

  • The vesting schedule should be stored and retrievable from storage during ReleaseVestedTokens execution.
  • Deferred calls to ReleaseVestedTokens should execute successfully at scheduled periods, transferring tokens to the beneficiary.

Current Behavior

  • Deferred calls fail with "DeferredCall execution fail call_id" errors, often showing "beneficiary cannot be empty" or "data entry not found" runtime errors.
  • The deferred call appears to be registered successfully, but its execution consistently fails, and there are no ways to obtain more detailed information about the failure for effective debugging.

Additional Context

  • Serialization/deserialization has been verified, and extensive logging added, yet the errors persist.
  • Can you suggest debugging steps or solutions to resolve these failures and improve error reporting for deferred call issues?

Else, we do need more information about the fail in the event generated.

@modship modship closed this as completed Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants