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: ADR-23 Update staking parameters structure #45

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

KonradStaniec
Copy link
Collaborator

@KonradStaniec KonradStaniec commented Sep 2, 2024

ref: https://github.com/babylonlabs-io/pm/issues/19
Implement ADR-23 to make babylon chain parameters compatible with phase-1:

  • Update parameters struct
  • Add table driven tests to check all parameters validation rules
  • Add upgrade that handle overwriting new parameters ofver the old ones

@KonradStaniec KonradStaniec added consensus breaking change modifies `appHash` of the application api breaking breaks grpc api in non-compatible way labels Sep 3, 2024
First from series of prs to implement adr -
https://github.com/babylonlabs-io/pm/blob/main/adr/adr-023-update-btcstaking-params.md

- updates parameters struct to match the one in adr
- fix tests
- add utilites to modify params through command line
Comprehensive table driven test suite to check validations on message
validation
@KonradStaniec KonradStaniec force-pushed the feat/adr-23-update-staking-parameters branch from 3f52c5d to dc01d2b Compare September 4, 2024 05:41
- Add parameters upgrade from TGE chain
- Add e2e test
Copy link
Contributor

@RafilxTenfen RafilxTenfen left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

Copy link
Member

@Lazar955 Lazar955 left a comment

Choose a reason for hiding this comment

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

LGTM, nice work

@KonradStaniec KonradStaniec merged commit b1e255a into main Sep 4, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api breaking breaks grpc api in non-compatible way consensus breaking change modifies `appHash` of the application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants