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

fix(scripts/spawn): always consume extra_cycles #4127

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

mohanson
Copy link
Contributor

What problem does this PR solve?

Problem Summary:

In Spawn syscall, if loading binary fails, only 500 cycles will be added. This is much lower than the actual resource consumption of the Spawn syscall.

What is changed and how it works?

What's Changed:

Add extra_cycles even if loading fails.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code ci-runs-only: [ quick_checks,linters ]

Release note

Note: Add a note under the PR title in the release note.

@mohanson mohanson requested a review from a team as a code owner August 30, 2023 08:14
@mohanson mohanson requested review from quake and removed request for a team August 30, 2023 08:14
@zhangsoledad zhangsoledad added this pull request to the merge queue Aug 31, 2023
Merged via the queue into nervosnetwork:develop with commit 97e2cbf Aug 31, 2023
35 checks passed
@zhangsoledad zhangsoledad mentioned this pull request Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants