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

feat: Add flatmemory feature for FlatMemory based machine types #3859

Merged

Conversation

xxuejie
Copy link
Collaborator

@xxuejie xxuejie commented Mar 1, 2023

What problem does this PR solve?

This change adds a new flatmemory feature to ckb-script, which will use FlatMemory as the memory type for
CoreMachine/CoreMachineType. While this is not gonna be used in CKB, a FlatMemory will be quite useful in the development of surrounding tools, including ckb-debugger. Note that one option is that a debugger could maintain its own ckb-script package, but considering the fact that the change here is rather small, I would suggest we include this here feature in CKB.

This change adds a new `flatmemory` feature to ckb-script, which will
use `FlatMemory` as the memory type for
`CoreMachine`/`CoreMachineType`. While this is not gonna be used in
CKB, a FlatMemory will be quite useful in the development of
surrounding tools, including ckb-debugger. Note that one option is
that a debugger could maintain its own ckb-script package, but
considering the fact that the change here is rather small, I would
suggest we include this here feature in CKB.
@xxuejie xxuejie requested a review from a team as a code owner March 1, 2023 02:50
@xxuejie xxuejie requested review from zhangsoledad and removed request for a team March 1, 2023 02:50
@zhangsoledad zhangsoledad added this pull request to the merge queue Mar 1, 2023
Merged via the queue into nervosnetwork:develop with commit 0f484a9 Mar 1, 2023
@xxuejie xxuejie deleted the add-flat-memory-machine-types branch March 2, 2023 03:15
@doitian doitian mentioned this pull request Apr 13, 2023
3 tasks
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