-
Notifications
You must be signed in to change notification settings - Fork 16
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
merge devnet-5 version to base branch #266
base: base/consumer-chain-support
Are you sure you want to change the base?
Commits on Sep 26, 2024
-
fix: testnet command minor issues (#91)
- Add default gen state to `ibc` module - Add `jq` to dockerfile, needed to local deployments - Specify min gas prices as default `1ubbn` in a single place
Configuration menu - View commit details
-
Copy full SHA for 83fb0e7 - Browse repository at this point
Copy the full SHA 83fb0e7View commit details
Commits on Sep 27, 2024
-
fix: Epoch initial height (#93)
When we initialize epoch, we should also initialize epoch 1. Otherwise, epoch 0 will be accessed
Configuration menu - View commit details
-
Copy full SHA for 22f9283 - Browse repository at this point
Copy the full SHA 22f9283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f8e56 - Browse repository at this point
Copy the full SHA 39f8e56View commit details -
chore: add changelog for pr 91 (#97)
Forgot to add changelog in #91
Configuration menu - View commit details
-
Copy full SHA for da4cc46 - Browse repository at this point
Copy the full SHA da4cc46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b656dd - Browse repository at this point
Copy the full SHA 8b656ddView commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 13b1e35 - Browse repository at this point
Copy the full SHA 13b1e35View commit details -
Remove
x/zoneconcierge
module (#55)just a show case of changes necessary to remove zoneconciege module
Configuration menu - View commit details
-
Copy full SHA for d640591 - Browse repository at this point
Copy the full SHA d640591View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47863ba - Browse repository at this point
Copy the full SHA 47863baView commit details -
chore: upgrade token distribution (#103)
- Update upgrade name from signet-launch to v1 - A new file with data for token distribution to run during the upgrade. Expected template: ```json { "token_distribution": [ { "address_sender": "bbn14d97wthm9fqvvdd96ax8lnfppwknndxztevs7k", "address_receiver": "bbn13t5cnqj6t0p4xa40cwhmgv4wju0zl6g8slk8rz", "amount": 100000 }, ... ] } ``` - New function from test suite to run before the upgrade `type PreUpgradeFunc func([]*chain.Config)`
Configuration menu - View commit details
-
Copy full SHA for c11bbb3 - Browse repository at this point
Copy the full SHA c11bbb3View commit details
Commits on Oct 1, 2024
-
feat: in-protocol minimum gas price (#107)
Resolves babylonlabs-io/pm#49 This PR introduces the in-protocol minimum gas price mechanism, in which the consensus (more specifically the AnteHandler) enforces every tx has to set a gas price at least 0.002 ubbn. The PR also provides relevant tests. The impl closely follows celestiaorg/celestia-app#2985. In addition, this PR creates a new package `app/ante` to abstract out the construction of the AnteHandler for Babylon, following the practice at Celestia. - RFC: babylonlabs-io/pm#56 - ADR: babylonlabs-io/pm#61
Configuration menu - View commit details
-
Copy full SHA for ae2e53e - Browse repository at this point
Copy the full SHA ae2e53eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b5e633 - Browse repository at this point
Copy the full SHA 6b5e633View commit details
Commits on Oct 2, 2024
-
feat: Implement ADR-26 - pre-approval flow (#117)
Initial implementation of pre-approval flow following - https://github.com/babylonlabs-io/pm/blob/main/adr/adr-026-pre-approval-staking-flow.md --------- Co-authored-by: Cirrus Gai <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04e12eb - Browse repository at this point
Copy the full SHA 04e12ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd526f1 - Browse repository at this point
Copy the full SHA fd526f1View commit details
Commits on Oct 3, 2024
-
docs: Update
btcstaking
module documentation (#123)### Summary Update to `btcstaking` docs - Revised wording to align with standard Cosmos SDK practices, ensuring clarity for users. Each module should utilise a single KV store, with different data types organised using prefixed namespaces within that store, instead of creating multiple KV stores. - Updates to query params documentation
Configuration menu - View commit details
-
Copy full SHA for b8bcb89 - Browse repository at this point
Copy the full SHA b8bcb89View commit details
Commits on Oct 4, 2024
-
feat(ADR-028): refunding transaction fee for certain txs (#125)
Resolves babylonlabs-io/pm#64 This PR introduces the functionality of refunding fee for certain txs, including BTC headers/checkpoints in BTC timestamping protocol, and finality signature, BTC delegation inclusion proof, covenant signatures, undelegation, selective slashing evidence in BTC staking protocol. The implementation leverages a new key-only KV store in the incentive module for storing refundable messages, and a new PostHandler for refunding a tx if all msgs in it are refundable. Along the way, this PR also adds dependency from BTC light client / BTC staking modules to the incentive module, and adds relevant e2e tests to ensure that the tx fee refunding indeed works. - RFC: https://github.com/babylonlabs-io/pm/blob/main/rfc/rfc-010-transaction-fee-refund-protocol.md - ADR: https://github.com/babylonlabs-io/pm/blob/main/adr/adr-028-transaction-fee-refund-protocol.md
Configuration menu - View commit details
-
Copy full SHA for 6e5210d - Browse repository at this point
Copy the full SHA 6e5210dView commit details -
chore: upgrade multibuild (#113)
- Slipt the upgrade data into two - testnet `app/upgrades/v1/testnet` - mainnet `app/upgrades/v1/mainnet` - Add new build tag `mainnet` or `testnet` that adds the upgrade handler with the expected data - By default `make build` creates a binary with an upgrade plan that contains mainnet data, if `make build-testnet` is run it adds the `testnet` build flag and adds the upgrade plan that contains testnet data
Configuration menu - View commit details
-
Copy full SHA for b56406b - Browse repository at this point
Copy the full SHA b56406bView commit details
Commits on Oct 7, 2024
-
chore: tx fee refunding follow-up (#130)
This follow-up PR fixes the comments in #125, including - changelog and typo comments in BTCCheckpoint module - allow covenant signatures after covenant quorum are reached, and return error if the covenant signature is duplicated. This is to ensure covenants won't have operational cost when submitting covenant sig late, and avoid refunding to duplicated covenant signatures - reject duplicated finality signature. This is to avoid refunding to duplicated covenant signatures - add a dedup check in the PostHandler, to ensure one won't exploit the refunding by having many duplicated messages in a single tx. Also added a fuzz test for this.
Configuration menu - View commit details
-
Copy full SHA for 6a74ebc - Browse repository at this point
Copy the full SHA 6a74ebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89dd901 - Browse repository at this point
Copy the full SHA 89dd901View commit details -
fix: intercept staking module messages inside MsgExec (#138)
Resolves #127 This PR fixes the `DropValidatorMsgDecorator` AnteHandler to handle disallowed staking related messages inside `MsgExec` (ref https://jumpcrypto.com/writing/bypassing-ethermint-ante-handlers/).
Configuration menu - View commit details
-
Copy full SHA for b128f1d - Browse repository at this point
Copy the full SHA b128f1dView commit details -
chore: Do not convert int to uint32 in btcstaking lib (#135)
This PR handles the conversion of ints to uint32s in the btcstaking library. The conversions that were modified were not unsafe as they were the results of the `len()` call, but they still made static analyzers complain. Instead, we opted to convert uint32s to ints. However, this makes the assumption that the program will be executed in 64-bit architectures in order to be safe, which afaik is already a requirement.
Configuration menu - View commit details
-
Copy full SHA for 64b6897 - Browse repository at this point
Copy the full SHA 64b6897View commit details -
New external staking events (#131)
Implements events generation as described in https://babylonlabs.atlassian.net/wiki/spaces/BABYLON/pages/31195227/API+asks+for+BBN+node
Configuration menu - View commit details
-
Copy full SHA for efeb745 - Browse repository at this point
Copy the full SHA efeb745View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6a7c28 - Browse repository at this point
Copy the full SHA a6a7c28View commit details -
chore: Remove nolint:errcheck and instead handle errors (#134)
As we are adding static analyzers in the codebase, many of them will point out unhandled errors. If we add annotations to our codebase for each of them, this might bloat the codebase. Another approach is to only allow a single static analyzer fail about unhandled errors, while ignoring the rest. In this PR, I opted to just handle the errors by panicking in order to remove the `nolint:errcheck` from the annotations. These methods failing are programmatic errors.
Configuration menu - View commit details
-
Copy full SHA for da9ba2a - Browse repository at this point
Copy the full SHA da9ba2aView commit details
Commits on Oct 8, 2024
-
fix handling covent message when quorum is already reached (#141)
Pr: #130 allowed for accepting covenant signatures after quorum is reached. This change introduces regression i.e covenant signatures accepted after quorum is reached also generated voting power events, this could lead to weird results in processing voting power events. This pr fixes that by making sure that events of any kind are generated only if this is first time quorum is reached.
Configuration menu - View commit details
-
Copy full SHA for 029873d - Browse repository at this point
Copy the full SHA 029873dView commit details -
test: adapt tests to the pre-approval flow (#137)
Resolves #121 Resolves #119 This PR adapts the tests under `x/btcstaking` to the pre-approval flow. This includes - generalising the `h.CreateDelegation` function to support both pre-approval and non-pre-approval flow - new test util function for submitting inclusion proof - adapt most of the tests to use pre-pre-approval ~~In addition, this PR proposes to rename status `VERIFIED` to `APPROVED` for clarity: verified is a bit generic while approved is more consistent with existing terms (pre-"approval").~~ Also this PR fixes the flaky `FuzzBTCDelegation` test (checked the fix via fuzzing locally).
Configuration menu - View commit details
-
Copy full SHA for bbdfa4e - Browse repository at this point
Copy the full SHA bbdfa4eView commit details -
chore: Upgrade CosmWasm Parameters (#132)
- Update cosmwasm params during upgrade - Mainnet only gov account can store new contracts - Testnet everybody can store new contracts
Configuration menu - View commit details
-
Copy full SHA for 07e4437 - Browse repository at this point
Copy the full SHA 07e4437View commit details
Commits on Oct 9, 2024
-
feat: Add new external events related to finality provider status cha…
…nge (#144) This is a follow-up PR of #131. This PR implements events generation related to finality providers as described in https://babylonlabs.atlassian.net/wiki/spaces/BABYLON/pages/31195227/API+asks+for+BBN+node. In particular, this PR 1. adds events for fp creation and editing, which are emitted within corresponding message handlers 2. adds events for fp status update, i.e., active, inactive, jailed, slashed, which are emitted during voting power table update per BeginBlock
Configuration menu - View commit details
-
Copy full SHA for fe232fe - Browse repository at this point
Copy the full SHA fe232feView commit details -
chore: remove signed finality provider (#142)
Finality providers will register themselfs after the chain is public launched, so the signed msgs can be removed from the upgrade handler Should be reviewed after #132 is merged
Configuration menu - View commit details
-
Copy full SHA for 935668b - Browse repository at this point
Copy the full SHA 935668bView commit details -
chore: add status to btc delegation rest (#146)
- Removed ZoneConcierge params from swagger docs - Add status to `QueryBTCDelegationsRequest` - Moved from `/babylon/btcstaking/v1/btc_delegations/{staking_tx_hash_hex}` to `/babylon/btcstaking/v1/btc_delegation/{staking_tx_hash_hex}` in `QueryBTCDelegationRequest`
Configuration menu - View commit details
-
Copy full SHA for e1b085b - Browse repository at this point
Copy the full SHA e1b085bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d00e8c - Browse repository at this point
Copy the full SHA 2d00e8cView commit details -
chore: backport github action (#149)
Part of #110 This PR introduces the backport Github action. One can label a hotfix PR to `main` with `backport release/0.Y.x`, and this GH action will open a backport PR automatically.
Configuration menu - View commit details
-
Copy full SHA for 0b203a6 - Browse repository at this point
Copy the full SHA 0b203a6View commit details
Commits on Oct 10, 2024
-
chore(query): Add block results query (#148)
Needed by api querying block execution results
Configuration menu - View commit details
-
Copy full SHA for 223c541 - Browse repository at this point
Copy the full SHA 223c541View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4a655b - Browse repository at this point
Copy the full SHA e4a655bView commit details -
ci: add Github actions for changelog reminder and goreleaser (#155)
Resolves #110 This PR adds Github actions for changelog reminder and goreleaser. Also this PR bumps the dependency of babylonlabs-io/.github to v0.7.0 TODOs before merging: - [x] wait until v0.7.0 tag of https://github.com/babylonlabs-io/.github - [x] apply v0.7.0 to all reusable workflows
Configuration menu - View commit details
-
Copy full SHA for ea1b174 - Browse repository at this point
Copy the full SHA ea1b174View commit details -
fix(btcstaking/client): edit fp arg (#154)
We're accessing arg at index 1, but should be at 0
Configuration menu - View commit details
-
Copy full SHA for a5c4e94 - Browse repository at this point
Copy the full SHA a5c4e94View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f6b3a - Browse repository at this point
Copy the full SHA a2f6b3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8436249 - Browse repository at this point
Copy the full SHA 8436249View commit details
Commits on Oct 11, 2024
-
ci: add goreleaser setup and move out changelog reminder (#170)
This PR - sets up Go releaser for Babylon. Currently it only supports linux amd64. Other targets will be supported in the future. To test locally, run `make release-snapshot` - moves changelog reminder out from the CI flow
Configuration menu - View commit details
-
Copy full SHA for 23ff41d - Browse repository at this point
Copy the full SHA 23ff41dView commit details -
chore: Improve external events format (#169)
This PR flattened the external events and changed all the event fields to string so that it's easier for subscribers to parse them
Configuration menu - View commit details
-
Copy full SHA for 86f6bc5 - Browse repository at this point
Copy the full SHA 86f6bc5View commit details -
fix: Non-determinism in sorting finality providers in the voting powe…
…r table (#180) Non-determinism is caused due to not considering cases where both two items are jailed or non-timestamped, and when voting power is equal. This PR addressed this by determining the order in those cases by the increasing order of btc pk hex.
Configuration menu - View commit details
-
Copy full SHA for 58e13f0 - Browse repository at this point
Copy the full SHA 58e13f0View commit details -
chore: Remove localnet functionality from Makefile (#184)
This functionality is not useful as a network of Babylon nodes just by itself does not allow us to test much. This is evident by the fact that we never use this for testing. Instead we typically utilise a deployment containing all the interconnected components consisting of the Babylon network.
Configuration menu - View commit details
-
Copy full SHA for e66765c - Browse repository at this point
Copy the full SHA e66765cView commit details -
chore: Bitcoin heights and depths made uint32 (#181)
Resolves #179 This is an impactful change that brings the BTC height types that we use more in sync with the expected types for BTC block heights, similar to those that are used by other libraries. It is part of the code improvement efforts that we are doing in preparation of the next testnet. Given that it touches many files, I believe that this change should happen sooner than later so that it can be appropriately tested.
Configuration menu - View commit details
-
Copy full SHA for d0eca74 - Browse repository at this point
Copy the full SHA d0eca74View commit details
Commits on Oct 14, 2024
-
Properly validate whether tranactions are standard (#185)
Add: - new `btcstaking` library function to validate whether transactions are standard based on https://github.com/btcsuite/btcd/blob/ee68dc66a835bf2c9333f3d7b33791841f561c84/mempool/policy.go#L285 - use those function to validate unbonding / slashing transactions - test suite to test new functions
Configuration menu - View commit details
-
Copy full SHA for 508046b - Browse repository at this point
Copy the full SHA 508046bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c87a7 - Browse repository at this point
Copy the full SHA b7c87a7View commit details -
Do not panic on nil proof when handling votes (#186)
If not would receive finality vote with `nil` Proof, it would panic. Pr: - fixes that - add test case
Configuration menu - View commit details
-
Copy full SHA for c4c25b6 - Browse repository at this point
Copy the full SHA c4c25b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c35c6a0 - Browse repository at this point
Copy the full SHA c35c6a0View commit details -
docs: Add documentation to btccheckpoint module (#147)
## Summary There is currently nothing documenting the code for btccheckpoint module. This adds information on the following: state, messages, endblocker, queries and general concepts regarding the module.
Configuration menu - View commit details
-
Copy full SHA for 4996ca1 - Browse repository at this point
Copy the full SHA 4996ca1View commit details
Commits on Oct 15, 2024
-
docs: small additional edits for btccheckpoint module (#195)
Additional edits that werent saved
Configuration menu - View commit details
-
Copy full SHA for c4f1ff0 - Browse repository at this point
Copy the full SHA c4f1ff0View commit details -
fix:
BTCDelgationResponse
missingstaking_time
(#197)In pre-approval flow, the delegation has zero value for both `startHeight` and `endHeight`. Therefore, the staking time should not be inferred from `endHeight - startHeight`. Instead, it should be stored seprately. This PR adds `stakingTime` to `BTCDelegationResponse`
Configuration menu - View commit details
-
Copy full SHA for 6f1808b - Browse repository at this point
Copy the full SHA 6f1808bView commit details -
chore: Handle
FinalityProviderSigningInfo
object (#194)## Summary Part closes: babylonlabs-io/pm#72 Currently some of the objects in the babylon apis are exposed and need to be handled correctly seen in [here](babylonlabs-io/pm#72) This PR handles the `FinalityProviderSigningInfo` in https://github.com/babylonlabs-io/babylon/blob/v0.11.0/x/finality/keeper/grpc_query.go#L230
Configuration menu - View commit details
-
Copy full SHA for c6167e5 - Browse repository at this point
Copy the full SHA c6167e5View commit details -
chore: update exposed db objects in
x/checkpointing
module (#201)## Summary Part closes: babylonlabs-io/pm#72 Currently some of the objects in the babylon apis are exposed and need to be handled correctly seen in babylonlabs-io/pm#72 This PR handles the exposed objects in `x/checkpointing`
Configuration menu - View commit details
-
Copy full SHA for 089917e - Browse repository at this point
Copy the full SHA 089917eView commit details
Commits on Oct 16, 2024
-
refactor: simplify logics in FP set rotation (#188)
Resolves #145 Resolves #191 (fuzzed locally and it's not flaky anymore) This PR simplifies the logics in FP set rotation, including: - Moving event emitting to msg handlers whereever possible (mostly for jailing/unjailing). - Removing the handling of special case `len(events) == 0`. This is not necessary and can be handled altogether in `ProcessAllPowerDistUpdateEvents` with same complexity. - Splitting `recordVotingPowerAndCache` into two functions, one for recording voting power table/cache and the other for emitting events/hooks for Fp state update. - Some minor abstraction for separating event emitting and voting power rotation algorithm. Will do a second round of refactoring in another PR, together with #72
Configuration menu - View commit details
-
Copy full SHA for 35610ce - Browse repository at this point
Copy the full SHA 35610ceView commit details -
chore: update exposed db objects in
x/incentive
module (#200)## Summary Part closes: babylonlabs-io/pm#72 Currently some of the objects in the babylon apis are exposed and need to be handled correctly seen in babylonlabs-io/pm#72 This PR handles the exposed objects in `x/incentive`
Configuration menu - View commit details
-
Copy full SHA for 1c00726 - Browse repository at this point
Copy the full SHA 1c00726View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6044d7 - Browse repository at this point
Copy the full SHA a6044d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a3f401 - Browse repository at this point
Copy the full SHA 5a3f401View commit details
Commits on Oct 17, 2024
-
chore: update exposed db object
RewardGuages
inx/incentive
module (#203) Part closes: babylonlabs-io/pm#72 Currently some of the objects in the babylon apis are exposed and need to be handled correctly seen in babylonlabs-io/pm#72 This PR handles the exposed objects in `x/incentive` Specifically the `RewardGuages` object.
Configuration menu - View commit details
-
Copy full SHA for bdf1e52 - Browse repository at this point
Copy the full SHA bdf1e52View commit details -
chore: rename total voting power to total bonded sat (#207)
Resolves #72 This PR renames total voting power to total bonded sat. After timestamping pub rand and jailing, having bonded BTC does not mean having voting power anymore, and the corresponding variables need to be renamed.
Configuration menu - View commit details
-
Copy full SHA for f418d1f - Browse repository at this point
Copy the full SHA f418d1fView commit details
Commits on Oct 18, 2024
-
chore: update exposed db object
Evidence
inx/finality
module (#208)Part closes: babylonlabs-io/pm#72 Currently some of the objects in the babylon apis are exposed and need to be handled correctly seen in babylonlabs-io/pm#72 This PR handles the exposed objects in `x/finality` Specifically the `Evidence` object.
Configuration menu - View commit details
-
Copy full SHA for c836041 - Browse repository at this point
Copy the full SHA c836041View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78581a7 - Browse repository at this point
Copy the full SHA 78581a7View commit details
Commits on Oct 21, 2024
-
chore: bump wasmd and re-enable static linking (#213)
Resolves #26 Also addresses the GH action warning on Dockerfiles NOTE: `init.Dockerfile` still uses dynamic linking because it builds v0.9.3. This can only be fixed in the v2 upgrade, unless we release v0.9.4 with this PR backported (which I don't think it's the case).
Configuration menu - View commit details
-
Copy full SHA for b1a4b48 - Browse repository at this point
Copy the full SHA b1a4b48View commit details
Commits on Oct 22, 2024
-
feat: Implement ADR-29 - generalized unbonding (#215)
Highlights: - Now `MsgBTCUndelegate` contains stake spending transaction as well as inclusion proof - `BTCDelegation` contains news field `DelegatorUnbondingInfo` instead of old staker signature field - new field `DelegatorUnbondingInfo` contains information about in which header unbonding happened. Also, if `StakeSpendingTx` in the message was different that registered `UnbondingTx`, `DelegatorUnbondingInfo` contains whole stake spending tx. - New event is emitted if unbonding happens through different transaction the the pre-registered one.
Configuration menu - View commit details
-
Copy full SHA for 6a0ccac - Browse repository at this point
Copy the full SHA 6a0ccacView commit details
Commits on Oct 23, 2024
-
chore: add check in finality for block height finality parameter to a…
…ccept finality vote/pubrand (#204) Add finality param to minimum block height to allow receiving Finality and Pub Rand Commit of `x/finality` This value is a module parameter and it can be updated by governance proposal
Configuration menu - View commit details
-
Copy full SHA for 9efe79b - Browse repository at this point
Copy the full SHA 9efe79bView commit details -
chore: Make injected checkpoint a standard tx (#224)
Closes #129 by introducing the encoder and decoder into the proposal handler
Configuration menu - View commit details
-
Copy full SHA for 0831dc6 - Browse repository at this point
Copy the full SHA 0831dc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a31a234 - Browse repository at this point
Copy the full SHA a31a234View commit details
Commits on Oct 25, 2024
-
chore: Add inclusion height to early unbonding event (#228)
Closes #225. * added unbonding start height to early unbonding event * changed that early unbonding event is emitted as a tx event
Configuration menu - View commit details
-
Copy full SHA for 77462ca - Browse repository at this point
Copy the full SHA 77462caView commit details -
Fix removing voting power during expiry (#218)
fixes: #176 - expire delegations `max(w, min_unbonding_time)` blocks before timeloc ends
Configuration menu - View commit details
-
Copy full SHA for 0caa9be - Browse repository at this point
Copy the full SHA 0caa9beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0082d2d - Browse repository at this point
Copy the full SHA 0082d2dView commit details
Commits on Oct 29, 2024
-
feat(finality): move voting power table to finality module (#217)
Resolves #24 This PR moves voting power table to finality module, including all relevant KV stores, APIs and functions. This ensures that - BTC staking module becomes the "staking hub" for storing all FPs and BTC delegations of Babylon and consumer chains - Finality module becomes the 1st use case of this staking hub, namely providing BTC staking finality for Babylon chain
Configuration menu - View commit details
-
Copy full SHA for fcc6fdc - Browse repository at this point
Copy the full SHA fcc6fdcView commit details -
change defaults for cache (#235)
In case of large values of iavl cache Babylon hits oom error.
Configuration menu - View commit details
-
Copy full SHA for c9a55a5 - Browse repository at this point
Copy the full SHA c9a55a5View commit details
Commits on Oct 30, 2024
-
mint: Babylon inflation module (#211)
Resolves babylonlabs-io/pm#92 This PR provides the implementation of the inflation module. - The module shares the same interfaces as `x/mint`, and serves as a drop-in replacement of Cosmos SDK's `x/mint`. - The module implements a different inflation function. Currently, it employs Celestia's [algorithm](https://docs.celestia.org/learn/staking-governance-supply) where the inflation rate decreases gradually w.r.t. the block timestamp. It contains all necessary dependencies for implementing any inflation function. - The implementation is adapted from [Celestia](https://github.com/celestiaorg/celestia-app/tree/main/x/mint) and [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/tree/main/x/mint). Steps for implementation: - [x] copy https://github.com/celestiaorg/celestia-app/tree/main/x/mint to `x/mint` - [x] fix all dependencies - [x] bump module to Cosmos SDK v0.50 - [x] replace Cosmos x/mint with the new x/mint - [x] fix unit tests - [x] fix e2e tests - [x] fix software upgrade e2e - [x] changelog - [x] write ADR - [x] implement the design - [x] properly initialise the new mint module in upgrade handler - [x] fix doc
Configuration menu - View commit details
-
Copy full SHA for a98cfd9 - Browse repository at this point
Copy the full SHA a98cfd9View commit details -
Add more info to staking creation event (#238)
Fixes: #237 - Adding `PkScript` makes is possible to listen to confirmation event using lnd libraries (and therefore btc lightclients) - Addinng `StakingOutputIndex` makes it possible to identify staking output as utxo i.e tuple (hash, idx)
Configuration menu - View commit details
-
Copy full SHA for c7eddc9 - Browse repository at this point
Copy the full SHA c7eddc9View commit details
Commits on Oct 31, 2024
-
backport: change log (#239) (#240)
Co-authored-by: KonradStaniec <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2cf760 - Browse repository at this point
Copy the full SHA a2cf760View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f1b296 - Browse repository at this point
Copy the full SHA 0f1b296View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e41021e - Browse repository at this point
Copy the full SHA e41021eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2851bf5 - Browse repository at this point
Copy the full SHA 2851bf5View commit details -
chore: remove before upgrade to use tag (#229)
Modified to use docker hub tag from version [v0.9.3](https://hub.docker.com/layers/babylonlabs/babylond/v0.9.3/images/sha256-2f527a0606374658c21a8caffef4db81b1ae1e1a2d1a78f42ac9da8e1aa7404f?context=explore)
Configuration menu - View commit details
-
Copy full SHA for 98e9746 - Browse repository at this point
Copy the full SHA 98e9746View commit details
Commits on Nov 6, 2024
-
chore: Fix flunky TestValidateParsedMessageAgainstTheParams (#252)
Closes #251. The flunky is caused due to the fact that the test uses `uint16` type for the `stakingTimeBlocks` which is generated in a range of min and max staking time (0, 100000). However, the max value of `uint16` is 65535. This PR changes the value of max staking time to 10000 to avoid overflow.
Configuration menu - View commit details
-
Copy full SHA for 232f604 - Browse repository at this point
Copy the full SHA 232f604View commit details -
chore(*): upgrade comet bft and go version (#253)
Upgrades comet bft to v0.38.14
Configuration menu - View commit details
-
Copy full SHA for 6fe5781 - Browse repository at this point
Copy the full SHA 6fe5781View commit details
Commits on Nov 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c07e4ef - Browse repository at this point
Copy the full SHA c07e4efView commit details
Commits on Nov 8, 2024
-
Retry library should not be part of the core babylon repo. It is up to the caller to decide which errors he should hanle and in what mannet
Configuration menu - View commit details
-
Copy full SHA for cbdc68a - Browse repository at this point
Copy the full SHA cbdc68aView commit details -
fix error handling in checkpointing module (#257)
Fix error handling in checkpointing module: - the line `err = types.ErrInvalidCkptStatus.Wrapf("the status of the checkpoint should be %s", from.String())` was just allocating error and not doing anything with it - error from `ckptWithMeta, err := k.GetRawCheckpoint(ctx, epoch)` was just getting swallowed
Configuration menu - View commit details
-
Copy full SHA for aa99e2e - Browse repository at this point
Copy the full SHA aa99e2eView commit details
Commits on Nov 9, 2024
-
feat: fix go releaser and hook by github action (#258)
Make github action actually make a go release package and added into release note to be able download by all the audience. Remove libwasmvm for github action using whatever is defined in the go mod file library.
Configuration menu - View commit details
-
Copy full SHA for 90e6b5c - Browse repository at this point
Copy the full SHA 90e6b5cView commit details
Commits on Nov 12, 2024
-
chore(gomod): upgrade dependancies (#262)
Upgrades wasmd, cosmos sdk, relayer
Configuration menu - View commit details
-
Copy full SHA for d4d31e1 - Browse repository at this point
Copy the full SHA d4d31e1View commit details
Commits on Nov 13, 2024
-
incentive: full tokenomics implementation (#260)
Resolves babylonlabs-io/pm#100 This PR implements the leftover issues in the tokenmomics, including - removing BTC timestamping related incentive mechanisms - rewarding all active FPs rather than those who voted (we can do this because of jailing mechanism, and this is in line with Cosmos SDK) The rest of the [tokenomics issue](babylonlabs-io/pm#100) are mostly parameters and benchmarking, which depend on external factors and other engineering efforts.
Configuration menu - View commit details
-
Copy full SHA for dd4009d - Browse repository at this point
Copy the full SHA dd4009dView commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d10dd40 - Browse repository at this point
Copy the full SHA d10dd40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 540d59f - Browse repository at this point
Copy the full SHA 540d59fView commit details
Commits on Nov 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1be1c2b - Browse repository at this point
Copy the full SHA 1be1c2bView commit details