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: refactor SystemScriptCell #156

Merged
merged 23 commits into from
Sep 27, 2022
Merged

feat: refactor SystemScriptCell #156

merged 23 commits into from
Sep 27, 2022

Conversation

fjchen7
Copy link
Contributor

@fjchen7 fjchen7 commented Sep 6, 2022

SystemScriptCell is a struct to get information about system scripts like secp256k1_blake160_sighash_all, anyone_can_pay and so on.

What does this PR do?

  • Replace SystemScriptCell with a more extensible type SystemScriptInfo
  • Remove methods that are in bad shape
  • Refactor and move method getCodeHash to package utils (where SystemScriptInfo is)

@fjchen7 fjchen7 merged commit ef4af24 into nervosnetwork:develop Sep 27, 2022
@fjchen7 fjchen7 deleted the feat/refactor-SystemScriptCell branch September 27, 2022 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants