Skip to content

Commit

Permalink
chore: add status to btc delegation rest (#146)
Browse files Browse the repository at this point in the history
- 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`
  • Loading branch information
RafilxTenfen authored Oct 9, 2024
1 parent 935668b commit e1b085b
Show file tree
Hide file tree
Showing 8 changed files with 2,352 additions and 9,213 deletions.
9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Bug Fixes

* [#140](https://github.com/babylonlabs-io/babylon/pull/140) Removed `unbonding`
and add `verified` to delegation status parse `NewBTCDelegationStatusFromString`.

### State Machine Breaking

* [#132](https://github.com/babylonlabs-io/babylon/pull/132) Add CosmWasm parameters
Expand All @@ -59,6 +54,8 @@ refund transaction fee for certain transactions from protocol stakeholders
pre-approval flow.
* [#138](https://github.com/babylonlabs-io/babylon/pull/138) Intercept staking module
messages inside `authz.MsgExec`.
* [#146](https://github.com/babylonlabs-io/babylon/pull/146) Add property status as a filter
to BTC delegations rest request `QueryBTCDelegationsRequest`.

### Improvements

Expand All @@ -71,6 +68,8 @@ for upgrade handler `testnet` and `mainnet`.

* [#141](https://github.com/babylonlabs-io/babylon/pull/141) Generate voting
power events only once when reaching covenant committee quorum
* [#140](https://github.com/babylonlabs-io/babylon/pull/140) Removed `unbonding`
and add `verified` to delegation status parse `NewBTCDelegationStatusFromString`.

## v0.11.0

Expand Down
8 changes: 0 additions & 8 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@
"Params": "CheckpointingParams"
}
}
},
{
"url": "./tmp-swagger-gen/babylon/zoneconcierge/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ZoneConciergeParams"
}
}
}
]
}
Loading

0 comments on commit e1b085b

Please sign in to comment.