Skip to content

Conversation

@linnnsss
Copy link
Contributor

update vm syscalls after the meepo hardfork

update vm syscalls after the meepo hardfork
@linnnsss linnnsss requested a review from a team as a code owner August 18, 2025 06:31
@linnnsss linnnsss requested a review from XuJiandong August 18, 2025 06:31
@XuJiandong
Copy link
Contributor

XuJiandong commented Aug 18, 2025

Update and RFC50 VM Syscalls 3 (currently under review)

| | | ckb_get_memory_limit | (To be added in CKB2023.) Return the maximum amount of memory available to the current script being executed. |
| | | ckb_set_content | (To be added in CKB2023.) Set the content of the designated memory region that can be read by the parent (calling) script which executed the current script via the spawn function. |
| | | ckb_load_extension | (To be added in CKB2023.) Load the extention field data and copy it using partial loading. |
| 2 | 2101 | [ckb_spawn](https://github.com/nervosnetwork/rfcs/blob/master/rfcs/0050-vm-syscalls-3/0050-vm-syscalls-3.md#spawn) | Run a Script executable from the specified Cell using the current VM context, but return to the original calling Script executable upon termination. This is similar to the [spawn function](<https://en.wikipedia.org/wiki/Spawn_(computing)>) found in several operating systems and programming languages. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants