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

chore: add testnet upgrade data #316

Merged
merged 30 commits into from
Dec 9, 2024
Merged

Conversation

RafilxTenfen
Copy link
Contributor

No description provided.

// Use staking indexer to generate signet blocks until the most recent
// block possible prior to the upgrade launch.
// sid btc-headers 195552 {latestTipBlockHeight} --home ... --output file/to/btc-headers.json
// script how to generate https://github.com/babylonlabs-io/babylon-deployment/blob/9f39a715e54eedf4842632bbbfbdd353fd16951f/deployments/local/upgrades/write-upgrade-btc-headers.sh#L36
Copy link
Contributor Author

Choose a reason for hiding this comment

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

✔️ tested to generate 28k headers and it worked fine 🎉
Close to the date 9 Dec the headers will be generated and inserted

@RafilxTenfen RafilxTenfen changed the title DNM: testnet upgrade data chore: add testnet upgrade data Dec 6, 2024
@RafilxTenfen RafilxTenfen marked this pull request as ready for review December 6, 2024 11:17
@RafilxTenfen RafilxTenfen requested a review from a team as a code owner December 6, 2024 11:17
@RafilxTenfen RafilxTenfen requested review from gitferry and samricotta and removed request for a team December 6, 2024 11:17
@RafilxTenfen RafilxTenfen requested a review from Lazar955 December 6, 2024 17:46
Copy link
Collaborator

@KonradStaniec KonradStaniec left a comment

Choose a reason for hiding this comment

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

In general looks good, there are some followups about particular values.

Lets also wait for 👍 from @babylon-devops team that the parameters and data in upgrade is correct.

test/e2e/initialization/config.go Outdated Show resolved Hide resolved
app/upgrades/v1/testnet/finality_params.go Outdated Show resolved Hide resolved
"min_commission_rate": "0.03",
"delegation_creation_base_gas_fee": 1000,
"allow_list_expiration_height": 26120,
"btc_activation_height": 220637
Copy link
Collaborator

Choose a reason for hiding this comment

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

as this are the last parameters in the list and the Babylon node does not have concepts of caps, this will be the params required for all new delegations.

We should decide on those values beforehand and make sure the correct ones are in this file. (can be done in separate pr as this require also some product input)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@gitferry gitferry left a comment

Choose a reason for hiding this comment

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

LGTM. Great work!

app/upgrades/v1/testnet/finality_params.go Outdated Show resolved Hide resolved
test/e2e/configurer/chain/queries_btclightclient.go Outdated Show resolved Hide resolved
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

@RafilxTenfen RafilxTenfen merged commit bf31f69 into main Dec 9, 2024
19 checks passed
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.

5 participants