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

Add new DSL statement: def_type & ref_type #69

Merged
merged 3 commits into from
Apr 10, 2023
Merged

Add new DSL statement: def_type & ref_type #69

merged 3 commits into from
Apr 10, 2023

Conversation

mohanson
Copy link
Collaborator

@mohanson mohanson commented Apr 9, 2023

Add two rules for preprocessing of tx_file:

  • replace {{ def_type ANY_NAME }} to { "code_hash": "0x00000000000000000000000000000000000000000000000000545950455f4944", "hash_type": "type", "args": "hex(ANY_NAME)" }
  • replace {{ ref_type ANY_NAME }} to hex data calculated by script_hash(type_id_ANY_NAME)

@mohanson mohanson requested a review from XuJiandong April 9, 2023 08:30
ckb-debugger/src/main.rs Outdated Show resolved Hide resolved
ckb-debugger/src/main.rs Outdated Show resolved Hide resolved
ckb-debugger/src/main.rs Show resolved Hide resolved
@XuJiandong XuJiandong merged commit e2de82e into nervosnetwork:develop Apr 10, 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.

2 participants