Skip to content

Commit

Permalink
Merge pull request #2484 from luniehq/release-candidate/v1.0.0-beta.48
Browse files Browse the repository at this point in the history
automatic release created for v1.0.0-beta.48
  • Loading branch information
faboweb authored Apr 25, 2019
2 parents 7d9f522 + f0b80b5 commit 63ad4b6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.0.0-beta.48] - 2019-04-25

### Fixed

- [#2475](https://github.com/cosmos/lunie/issues/2475) fixed delegation, redelegation, and undelegation issues @jbibla
- [#2476](https://github.com/cosmos/lunie/issues/2476) fixed redelegation errors @jbibla

### Security

- [#2463](https://github.com/cosmos/lunie/pull/2463) Added a CSP header to limit source of JS and connections content of the website can do @faboweb

## [1.0.0-beta.47] - 2019-04-24

### Fixed
Expand Down
5 changes: 1 addition & 4 deletions app/src/renderer/components/staking/DelegationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,7 @@ export default {
return await this.$store.dispatch(`simulateRedelegation`, {
validatorSrc,
validatorDst: this.validator,
amount: {
amount: String(uatoms(this.amount)),
denom: this.denom
}
amount: String(uatoms(this.amount)),
})
},
async submitRedelegation(gasEstimate, gasPrice, password, submitType) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lunie",
"productName": "lunie",
"version": "1.0.0-beta.47",
"version": "1.0.0-beta.48",
"description": "Lunie is the user interface for the Cosmos Hub.",
"author": "Lunie International Software Systems Inc. <hello@lunie.io>",
"license": "Apache-2.0",
Expand Down Expand Up @@ -151,4 +151,4 @@
"git add"
]
}
}
}
7 changes: 2 additions & 5 deletions test/unit/specs/components/staking/DelegationModal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ describe(`DelegationModal`, () => {
})
})

describe(`simulateDelegation`, () => {
describe(`simulateRedelegation`, () => {
it(`should simulate transaction to estimate gas used`, async () => {
const estimate = 1234567
const validator = { operator_address: `cosmosvaloper1address` }
Expand All @@ -270,10 +270,7 @@ describe(`DelegationModal`, () => {

expect($store.dispatch).toHaveBeenCalledWith(`simulateRedelegation`,
{
amount: {
amount: `50000000`,
denom: `uatom`,
},
amount: `50000000`,
validatorSrc: delegates.delegates[0],
validatorDst: validator
}
Expand Down

0 comments on commit 63ad4b6

Please sign in to comment.