8000 Change fund names of internal variables: kgf/kir -> kff/kcf by aidan-kwon · Pull Request #1789 · klaytn/klaytn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Change fund names of internal variables: kgf/kir -> kff/kcf #1789

Merged
merged 2 commits into from
Feb 24, 2023

Conversation

aidan-kwon
Copy link
Member
@aidan-kwon aidan-kwon commented Feb 23, 2023

Proposed changes

This PR prepares KGP-6 that restructures Klaytn treasury. Though KGF(PoC)/KIR is not directly converted to KFF/KCF in the proposal, I'd like to utilise the exiting KGF/KIR mechanism for the easy of development.

This PR changed the name of internal variables and comments, but it didn't change the following tricky parts. It will be handled by another PR soon.

The following task will cover:

  • AddressBook and its connector: Because the deployed AddressBook of Cypress is not changed yet, the related code will be change the name.
  • StakingInfo struct: A node read/write marshalled StakingInfo and the data contains the current field names. So, the change of the field name can cause incompatibility of database.
  • RewardSpec json tag and APIs: Some APIs returning "kgf/kir" keywords will be changed after checking the side-effect.

NOTE: This PR can be reverted if KGP-6 is not approved by GC.

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

@aidan-kwon aidan-kwon self-assigned this Feb 23, 2023
@aidan-kwon aidan-kwon added this to the v1.10.2 milestone Feb 23, 2023
@aidan-kwon aidan-kwon added the need to merge Need to merge for the next time label Feb 24, 2023
@aidan-kwon aidan-kwon merged commit 8138ebb into klaytn:dev Feb 24, 2023
@aidan-kwon aidan-kwon deleted the 230204-kgfkir branch February 24, 2023 03:20
@aidan-kwon aidan-kwon mentioned this pull request Feb 27, 2023
@blukat29 blukat29 mentioned this pull request Mar 3, 2023
9 tasks
@aidan-kwon aidan-kwon mentioned this pull request May 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need to merge Need to merge for the next time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0