From 66b28b01f5ba64d93a39fbecea3eb146d1e558d6 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 00:32:54 +0100 Subject: [PATCH 01/10] fix atoms/uatoms --- app/src/renderer/scripts/num.js | 8 ++--- .../specs/components/common/TmBalance.spec.js | 4 +-- .../__snapshots__/TmBalance.spec.js.snap | 6 ++-- .../governance/ModalDeposit.spec.js | 8 ++--- .../governance/ModalPropose.spec.js | 4 +-- .../governance/TabParameters.spec.js | 6 ++-- .../__snapshots__/LiProposal.spec.js.snap | 8 ++--- .../__snapshots__/PageProposal.spec.js.snap | 14 ++++---- .../__snapshots__/TabParameters.spec.js.snap | 2 +- .../__snapshots__/TabProposals.spec.js.snap | 16 +++++----- .../__snapshots__/TableProposals.spec.js.snap | 32 +++++++++---------- .../__snapshots__/PageNetwork.spec.js.snap | 8 ++--- .../staking/DelegationModal.spec.js | 9 +++--- .../components/staking/LiValidator.spec.js | 2 +- .../components/staking/PageValidator.spec.js | 2 +- .../staking/UndelegationModal.spec.js | 2 +- .../ModalWithdrawAllRewards.spec.js.snap | 2 +- .../transactions/LiStakeTransaction.spec.js | 2 +- .../LiBankTransaction.spec.js.snap | 8 ++--- .../LiGovTransaction.spec.js.snap | 4 +-- .../LiStakeTransaction.spec.js.snap | 12 +++---- .../specs/components/wallet/LiCoin.spec.js | 2 +- .../wallet/__snapshots__/LiCoin.spec.js.snap | 2 +- 23 files changed, 82 insertions(+), 81 deletions(-) diff --git a/app/src/renderer/scripts/num.js b/app/src/renderer/scripts/num.js index 563bb21b2f..86a5b37136 100644 --- a/app/src/renderer/scripts/num.js +++ b/app/src/renderer/scripts/num.js @@ -29,12 +29,12 @@ function prettyDecimals(number = 0) { ).format(number) // remove all trailing zeros - while(longDecimals.charAt(longDecimals.length - 1) === `0`) { + while (longDecimals.charAt(longDecimals.length - 1) === `0`) { longDecimals = longDecimals.substr(0, longDecimals.length - 1) } // remove decimal separator from whole numbers - if(Number.isNaN(Number(longDecimals.charAt(longDecimals.length - 1)))) { + if (Number.isNaN(Number(longDecimals.charAt(longDecimals.length - 1)))) { longDecimals = longDecimals.substr(0, longDecimals.length - 1) } @@ -53,10 +53,10 @@ function percent(number = 0) { ).format(Math.round(number * 10000) / 100) + `%` } function atoms(number = 0) { - return BigNumber(number).div(10e6).toNumber() + return BigNumber(number).div(1e6).toNumber() } function uatoms(number = 0) { - return BigNumber(number).times(10e6).toString() + return BigNumber(number).times(1e6).toString() } module.exports = { diff --git a/test/unit/specs/components/common/TmBalance.spec.js b/test/unit/specs/components/common/TmBalance.spec.js index 92da8f6c2e..d35d67e8f2 100644 --- a/test/unit/specs/components/common/TmBalance.spec.js +++ b/test/unit/specs/components/common/TmBalance.spec.js @@ -35,10 +35,10 @@ describe(`TmBalance`, () => { }) it(`displays unbonded tokens`, () => { - expect(wrapper.vm.unbondedAtoms).toBe(`123.0000…`) + expect(wrapper.vm.unbondedAtoms).toBe(`1,230.0000…`) }) it(`gets user rewards`, () => { - expect(wrapper.vm.rewards).toBe(`100,045.0000…`) + expect(wrapper.vm.rewards).toBe(`1,000,450.0000…`) }) it(`shows 0 if user doesn't have rewards`, () => { diff --git a/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap b/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap index 6369842290..550d5d3796 100644 --- a/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap +++ b/test/unit/specs/components/common/__snapshots__/TmBalance.spec.js.snap @@ -27,7 +27,7 @@ exports[`TmBalance has the expected html structure before adding props 1`] = ` class="total-atoms__value" > - 321.0000… + 3,210.0000… @@ -44,7 +44,7 @@ exports[`TmBalance has the expected html structure before adding props 1`] = `

- 123.0000… + 1,230.0000…

@@ -56,7 +56,7 @@ exports[`TmBalance has the expected html structure before adding props 1`] = `

- 100,045.0000… + 1,000,450.0000…

{ let wrapper, store const { mount, localVue } = setup() localVue.use(Vuelidate) - localVue.directive(`tooltip`, () => {}) - localVue.directive(`focus`, () => {}) + localVue.directive(`tooltip`, () => { }) + localVue.directive(`focus`, () => { }) beforeEach(async () => { const coins = [ @@ -68,7 +68,7 @@ describe(`ModalDeposit`, () => { }) it(`when the amount deposited higher than the user's balance`, async () => { - wrapper.setData({ amount: 25 }) + wrapper.setData({ amount: 250 }) expect(wrapper.vm.validateForm()).toBe(false) await wrapper.vm.$nextTick() const errorMessage = wrapper.find(`input#amount + div`) @@ -110,7 +110,7 @@ describe(`ModalDeposit`, () => { { amount: [ { - amount: `100000000`, + amount: `10000000`, denom: `stake` } ], diff --git a/test/unit/specs/components/governance/ModalPropose.spec.js b/test/unit/specs/components/governance/ModalPropose.spec.js index 3de5275714..570534804d 100644 --- a/test/unit/specs/components/governance/ModalPropose.spec.js +++ b/test/unit/specs/components/governance/ModalPropose.spec.js @@ -83,7 +83,7 @@ describe(`ModalPropose`, () => { it(`if the amount for initial deposit is higher than the user's balance`, async () => { wrapper.setData(inputs) - wrapper.setData({ amount: 25 }) + wrapper.setData({ amount: 250 }) await wrapper.vm.$nextTick() expect(wrapper.vm.validateForm()).toBe(false) await wrapper.vm.$nextTick() @@ -162,7 +162,7 @@ describe(`ModalPropose`, () => { `submitProposal`, { description: `a valid description for the proposal`, - initial_deposit: [{ amount: `150000000`, denom: `stake` }], + initial_deposit: [{ amount: `15000000`, denom: `stake` }], title: `A new text proposal for Cosmos`, type: `Text`, password: `1234567890`, diff --git a/test/unit/specs/components/governance/TabParameters.spec.js b/test/unit/specs/components/governance/TabParameters.spec.js index 9f29b7cef7..01b39e74e5 100644 --- a/test/unit/specs/components/governance/TabParameters.spec.js +++ b/test/unit/specs/components/governance/TabParameters.spec.js @@ -9,8 +9,8 @@ describe(`TabParameters`, () => { let wrapper, store const { mount, localVue } = setup() localVue.use(Vuelidate) - localVue.directive(`tooltip`, () => {}) - localVue.directive(`focus`, () => {}) + localVue.directive(`tooltip`, () => { }) + localVue.directive(`focus`, () => { }) const $store = { commit: jest.fn(), @@ -47,7 +47,7 @@ describe(`TabParameters`, () => { }) it(`displays the minimum deposit`, () => { - expect(wrapper.vm.minimumDeposit).toEqual(`10 STAKEs`) + expect(wrapper.vm.minimumDeposit).toEqual(`100 STAKEs`) }) it(`displays deposit period in days`, () => { diff --git a/test/unit/specs/components/governance/__snapshots__/LiProposal.spec.js.snap b/test/unit/specs/components/governance/__snapshots__/LiProposal.spec.js.snap index 4ed1b12b3d..edb6b61ec6 100644 --- a/test/unit/specs/components/governance/__snapshots__/LiProposal.spec.js.snap +++ b/test/unit/specs/components/governance/__snapshots__/LiProposal.spec.js.snap @@ -45,7 +45,7 @@ exports[`LiProposal has the expected html structure 1`] = ` class="li-proposal__value yes" > - 500 + 5000 @@ -53,7 +53,7 @@ exports[`LiProposal has the expected html structure 1`] = ` class="li-proposal__value no" > - 25 + 250 @@ -61,7 +61,7 @@ exports[`LiProposal has the expected html structure 1`] = ` class="li-proposal__value no_with_veto" > - 10 + 100 @@ -69,7 +69,7 @@ exports[`LiProposal has the expected html structure 1`] = ` class="li-proposal__value abstain" > - 56 + 560 diff --git a/test/unit/specs/components/governance/__snapshots__/PageProposal.spec.js.snap b/test/unit/specs/components/governance/__snapshots__/PageProposal.spec.js.snap index ba846ef3de..76a33b5fcd 100644 --- a/test/unit/specs/components/governance/__snapshots__/PageProposal.spec.js.snap +++ b/test/unit/specs/components/governance/__snapshots__/PageProposal.spec.js.snap @@ -95,7 +95,7 @@ exports[`PageProposal has the expected html structure if user has signed in 1`]
- 200 stake + 2000 stake
@@ -302,7 +302,7 @@ exports[`PageProposal renders votes in HTML when voting is open 1`] = `
- 200 stake + 2000 stake
@@ -315,7 +315,7 @@ exports[`PageProposal renders votes in HTML when voting is open 1`] = `
- 1000 + 10000
@@ -335,7 +335,7 @@ exports[`PageProposal renders votes in HTML when voting is open 1`] = `
- 100 / 10% + 1000 / 10%
@@ -347,7 +347,7 @@ exports[`PageProposal renders votes in HTML when voting is open 1`] = `
- 200 / 20% + 2000 / 20%
@@ -360,7 +360,7 @@ exports[`PageProposal renders votes in HTML when voting is open 1`] = `
- 300 / 30% + 3000 / 30%
@@ -373,7 +373,7 @@ exports[`PageProposal renders votes in HTML when voting is open 1`] = `
- 400 / 40% + 4000 / 40%
diff --git a/test/unit/specs/components/governance/__snapshots__/TabParameters.spec.js.snap b/test/unit/specs/components/governance/__snapshots__/TabParameters.spec.js.snap index c5b677e6bd..9b1db685d7 100644 --- a/test/unit/specs/components/governance/__snapshots__/TabParameters.spec.js.snap +++ b/test/unit/specs/components/governance/__snapshots__/TabParameters.spec.js.snap @@ -29,7 +29,7 @@ exports[`TabParameters has the expected html structure 1`] = `
- 10 STAKEs + 100 STAKEs
diff --git a/test/unit/specs/components/governance/__snapshots__/TabProposals.spec.js.snap b/test/unit/specs/components/governance/__snapshots__/TabProposals.spec.js.snap index ae8f344711..c8b5a78f7d 100644 --- a/test/unit/specs/components/governance/__snapshots__/TabProposals.spec.js.snap +++ b/test/unit/specs/components/governance/__snapshots__/TabProposals.spec.js.snap @@ -143,7 +143,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value yes" > - 10 + 100 @@ -151,7 +151,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value no" > - 30 + 300 @@ -159,7 +159,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value no_with_veto" > - 100 + 1000 @@ -167,7 +167,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value abstain" > - 20 + 200 @@ -351,7 +351,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value yes" > - 500 + 5000 @@ -359,7 +359,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value no" > - 25 + 250 @@ -367,7 +367,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value no_with_veto" > - 10 + 100 @@ -375,7 +375,7 @@ exports[`TabProposals has the expected html structure 1`] = ` class="li-proposal__value abstain" > - 56 + 560 diff --git a/test/unit/specs/components/governance/__snapshots__/TableProposals.spec.js.snap b/test/unit/specs/components/governance/__snapshots__/TableProposals.spec.js.snap index ea3c1a53d5..8a5542f80f 100644 --- a/test/unit/specs/components/governance/__snapshots__/TableProposals.spec.js.snap +++ b/test/unit/specs/components/governance/__snapshots__/TableProposals.spec.js.snap @@ -143,7 +143,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value yes" > - 10 + 100 @@ -151,7 +151,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value no" > - 30 + 300 @@ -159,7 +159,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value no_with_veto" > - 100 + 1000 @@ -167,7 +167,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value abstain" > - 20 + 200 @@ -351,7 +351,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value yes" > - 500 + 5000 @@ -359,7 +359,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value no" > - 25 + 250 @@ -367,7 +367,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value no_with_veto" > - 10 + 100 @@ -375,7 +375,7 @@ exports[`TableProposals has the expected html structure 1`] = ` class="li-proposal__value abstain" > - 56 + 560 @@ -527,7 +527,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value yes" > - 10 + 100 @@ -535,7 +535,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value no" > - 30 + 300 @@ -543,7 +543,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value no_with_veto" > - 100 + 1000 @@ -551,7 +551,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value abstain" > - 20 + 200 @@ -735,7 +735,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value yes" > - 500 + 5000 @@ -743,7 +743,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value no" > - 25 + 250 @@ -751,7 +751,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value no_with_veto" > - 10 + 100 @@ -759,7 +759,7 @@ exports[`TableProposals should filter the proposals 1`] = ` class="li-proposal__value abstain" > - 56 + 560 diff --git a/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap b/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap index 7a7a529dd7..f9cb0bc08c 100644 --- a/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap +++ b/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap @@ -104,7 +104,7 @@ exports[`PageNetwork should display the network page with data and the blocks ta id="loose_tokens" > - 0.0000010 + 0.0000100 @@ -124,7 +124,7 @@ exports[`PageNetwork should display the network page with data and the blocks ta id="bonded_tokens" > - 0.0000125 + 0.0001250 @@ -288,7 +288,7 @@ exports[`PageNetwork should display the network page with the blocks table in a id="loose_tokens" > - 0.0000010 + 0.0000100 @@ -308,7 +308,7 @@ exports[`PageNetwork should display the network page with the blocks table in a id="bonded_tokens" > - 0.0000125 + 0.0001250 diff --git a/test/unit/specs/components/staking/DelegationModal.spec.js b/test/unit/specs/components/staking/DelegationModal.spec.js index 0d7498df22..f29d5bfd9a 100644 --- a/test/unit/specs/components/staking/DelegationModal.spec.js +++ b/test/unit/specs/components/staking/DelegationModal.spec.js @@ -84,7 +84,7 @@ describe(`DelegationModal`, () => { }) it(`if the user manually inputs a number greater than the balance`, () => { - wrapper.setData({ amount: 142 }) + wrapper.setData({ amount: 1420 }) expect(wrapper.vm.validateForm()).toBe(false) }) }) @@ -119,7 +119,8 @@ describe(`DelegationModal`, () => { session, from, submitDelegation, - submitRedelegation }, + submitRedelegation + }, `local`, `1234567890` ) expect(submitDelegation).toHaveBeenCalledWith(`local`, `1234567890`) @@ -163,7 +164,7 @@ describe(`DelegationModal`, () => { expect($store.dispatch).toHaveBeenCalledWith(`submitDelegation`, { - amount: `500000000`, + amount: `50000000`, validator_address: validator.operator_address, password: `1234567890`, submitType: `local` @@ -203,7 +204,7 @@ describe(`DelegationModal`, () => { expect($store.dispatch).toHaveBeenCalledWith(`submitRedelegation`, { - amount: `500000000`, + amount: `50000000`, validatorSrc: delegates.delegates[0], validatorDst: validator, password: `1234567890`, diff --git a/test/unit/specs/components/staking/LiValidator.spec.js b/test/unit/specs/components/staking/LiValidator.spec.js index f03c8e6bf9..1c82651c54 100644 --- a/test/unit/specs/components/staking/LiValidator.spec.js +++ b/test/unit/specs/components/staking/LiValidator.spec.js @@ -182,7 +182,7 @@ describe(`LiValidator`, () => { } } - expect(wrapper.find(`.li-validator__rewards`).html()).toContain(`123.0000…`) + expect(wrapper.find(`.li-validator__rewards`).html()).toContain(`1,230.0000…`) }) it(`works if user is not signed in`, () => { diff --git a/test/unit/specs/components/staking/PageValidator.spec.js b/test/unit/specs/components/staking/PageValidator.spec.js index e3f0aa559f..225f134af6 100644 --- a/test/unit/specs/components/staking/PageValidator.spec.js +++ b/test/unit/specs/components/staking/PageValidator.spec.js @@ -232,7 +232,7 @@ describe(`PageValidator`, () => { const rewardsString = PageValidator.computed.rewards.call( { session, bondDenom, distribution, validator } ) - expect(rewardsString).toBe(`10.0000000 stake`) + expect(rewardsString).toBe(`100.0000000 stake`) }) it(`when validator rewards are 0`, () => { diff --git a/test/unit/specs/components/staking/UndelegationModal.spec.js b/test/unit/specs/components/staking/UndelegationModal.spec.js index 876485b8ac..8039fa282d 100644 --- a/test/unit/specs/components/staking/UndelegationModal.spec.js +++ b/test/unit/specs/components/staking/UndelegationModal.spec.js @@ -101,7 +101,7 @@ describe(`UndelegationModal`, () => { expect($store.dispatch).toHaveBeenCalledWith(`submitUnbondingDelegation`, { - amount: -42000000, + amount: -4200000, validator, submitType: `local`, password: `1234567890` diff --git a/test/unit/specs/components/staking/__snapshots__/ModalWithdrawAllRewards.spec.js.snap b/test/unit/specs/components/staking/__snapshots__/ModalWithdrawAllRewards.spec.js.snap index cf09e5d412..cf6659b3ab 100644 --- a/test/unit/specs/components/staking/__snapshots__/ModalWithdrawAllRewards.spec.js.snap +++ b/test/unit/specs/components/staking/__snapshots__/ModalWithdrawAllRewards.spec.js.snap @@ -23,7 +23,7 @@ exports[`ModalWithdrawAllRewards should show the withdraw rewards modal 1`] = ` id="amount" readonly="readonly" type="number" - value="1" + value="10" /> diff --git a/test/unit/specs/components/transactions/LiStakeTransaction.spec.js b/test/unit/specs/components/transactions/LiStakeTransaction.spec.js index 32eb893fa8..52dba4cf5b 100644 --- a/test/unit/specs/components/transactions/LiStakeTransaction.spec.js +++ b/test/unit/specs/components/transactions/LiStakeTransaction.spec.js @@ -80,7 +80,7 @@ describe(`LiStakeTransaction`, () => { propsData.unbondingTime = Date.now() - 1000 wrapper.setProps({ unbondingTime: Date.now() - 1000 }) expect(wrapper.vm.$el).toMatchSnapshot() - expect(wrapper.text()).toContain(`1,000.00`) + expect(wrapper.text()).toContain(`10,000.0000000`) }) it(`should default to ended if no unbonding delegation is present`, () => { diff --git a/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap b/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap index fc911a3261..41ee3daded 100644 --- a/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap +++ b/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap @@ -10,7 +10,7 @@ exports[`LiBankTransaction should show bank transaction when user hasn't signed Sent  - 1,234.0000000 + 12,340.0000000 @@ -44,7 +44,7 @@ exports[`LiBankTransaction should show incoming transactions 1`] = ` Received  - 1,234.0000000 + 12,340.0000000 @@ -72,7 +72,7 @@ exports[`LiBankTransaction should show outgoing transactions 1`] = ` Sent  - 1,234.0000000 + 12,340.0000000 @@ -101,7 +101,7 @@ exports[`LiBankTransaction should show outgoing transactions send to herself 1`] Sent  - 1,234.0000000 + 12,340.0000000 diff --git a/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap b/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap index 222d85cebc..32014cc234 100644 --- a/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap +++ b/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap @@ -11,7 +11,7 @@ exports[`LiGovTransaction deposits 1`] = ` Deposit  - 100.0000000 + 1,000.0000000 @@ -45,7 +45,7 @@ exports[`LiGovTransaction proposals 1`] = ` Submit text proposal  - 100.0000000 + 1,000.0000000 diff --git a/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap b/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap index 76a6d31484..2d268e2599 100644 --- a/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap +++ b/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap @@ -11,7 +11,7 @@ exports[`LiStakeTransaction create validator 1`] = ` Create validator  - 0.1000000 + 1.0000000 @@ -45,7 +45,7 @@ exports[`LiStakeTransaction delegations should show delegations 1`] = ` Delegation  - 4,200.0000000 + 42,000.0000000 @@ -101,7 +101,7 @@ exports[`LiStakeTransaction redelegations should show redelegations and calculat - 3.0000000 + 30.0000000 @@ -147,7 +147,7 @@ exports[`LiStakeTransaction unbonding delegations should default to ended if no - 1,000.0000000 + 10,000.0000000 @@ -185,7 +185,7 @@ exports[`LiStakeTransaction unbonding delegations should show unbonding delegati - 1,000.0000000 + 10,000.0000000 @@ -223,7 +223,7 @@ exports[`LiStakeTransaction unbonding delegations should show unbondings and cal - 1,000.0000000 + 10,000.0000000 diff --git a/test/unit/specs/components/wallet/LiCoin.spec.js b/test/unit/specs/components/wallet/LiCoin.spec.js index abcba2c2c6..fd7fe2ce1d 100644 --- a/test/unit/specs/components/wallet/LiCoin.spec.js +++ b/test/unit/specs/components/wallet/LiCoin.spec.js @@ -20,7 +20,7 @@ describe(`LiCoin`, () => { }) it(`should calculate the full amount of the coin`, () => { - expect(wrapper.vm.amount).toEqual(`1,000.0000000`) + expect(wrapper.vm.amount).toEqual(`10,000.0000000`) }) it(`should capitalize the coin denomination`, () => { diff --git a/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap b/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap index 14c602c695..fe880644de 100644 --- a/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap +++ b/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap @@ -35,7 +35,7 @@ exports[`LiCoin has the expected html structure 1`] = ` class="coin-amount" > - 1,000.0000000 + 10,000.0000000

From 6e7f8d255e0347d934ff48a763125a1fc0ddcbac Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 00:33:55 +0100 Subject: [PATCH 02/10] pending --- PENDING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PENDING.md b/PENDING.md index 0ed4303870..fbb3cfb18c 100644 --- a/PENDING.md +++ b/PENDING.md @@ -5,7 +5,8 @@ ### Fixed - Fix for inflation on our testnet -- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console error on page validator if loading the page from URL @faboweb +- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console +- [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze ### Changed From 195129ea3bd2b4d7344d5a3a36ada97aa514fbbe Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 01:10:38 +0100 Subject: [PATCH 03/10] smallest and string format --- app/src/renderer/scripts/num.js | 4 ++-- .../network/__snapshots__/PageNetwork.spec.js.snap | 8 ++++---- .../specs/components/staking/PageValidator.spec.js | 6 +++--- .../staking/__snapshots__/PageValidator.spec.js.snap | 4 ++-- .../transactions/LiStakeTransaction.spec.js | 2 +- .../__snapshots__/LiBankTransaction.spec.js.snap | 8 ++++---- .../__snapshots__/LiGovTransaction.spec.js.snap | 4 ++-- .../__snapshots__/LiStakeTransaction.spec.js.snap | 12 ++++++------ test/unit/specs/components/wallet/LiCoin.spec.js | 2 +- .../wallet/__snapshots__/LiCoin.spec.js.snap | 2 +- test/unit/specs/scripts/num.spec.js | 2 +- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/app/src/renderer/scripts/num.js b/app/src/renderer/scripts/num.js index 86a5b37136..67a68ec82b 100644 --- a/app/src/renderer/scripts/num.js +++ b/app/src/renderer/scripts/num.js @@ -6,10 +6,10 @@ import BigNumber from "bignumber.js" * @module num */ -const SMALLEST = 1e-7 +const SMALLEST = 1e-6 const language = window.navigator.userLanguage || window.navigator.language function full(number = 0) { - return new Intl.NumberFormat(language, { minimumFractionDigits: 7 }) + return new Intl.NumberFormat(language, { minimumFractionDigits: 6 }) .format(number) } function shortNumber(number = 0) { diff --git a/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap b/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap index f9cb0bc08c..4e82e66451 100644 --- a/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap +++ b/test/unit/specs/components/network/__snapshots__/PageNetwork.spec.js.snap @@ -104,7 +104,7 @@ exports[`PageNetwork should display the network page with data and the blocks ta id="loose_tokens" > - 0.0000100 + 0.000010 @@ -124,7 +124,7 @@ exports[`PageNetwork should display the network page with data and the blocks ta id="bonded_tokens" > - 0.0001250 + 0.000125 @@ -288,7 +288,7 @@ exports[`PageNetwork should display the network page with the blocks table in a id="loose_tokens" > - 0.0000100 + 0.000010 @@ -308,7 +308,7 @@ exports[`PageNetwork should display the network page with the blocks table in a id="bonded_tokens" > - 0.0001250 + 0.000125 diff --git a/test/unit/specs/components/staking/PageValidator.spec.js b/test/unit/specs/components/staking/PageValidator.spec.js index 225f134af6..fb58997d24 100644 --- a/test/unit/specs/components/staking/PageValidator.spec.js +++ b/test/unit/specs/components/staking/PageValidator.spec.js @@ -200,7 +200,7 @@ describe(`PageValidator`, () => { const delegationString = PageValidator.computed.myDelegation.call( { bondDenom, myBond } ) - expect(delegationString).toBe(`10.0000000 stake`) + expect(delegationString).toBe(`10.000000 stake`) }) it(`when user doesn't have any delegations`, () => { @@ -232,7 +232,7 @@ describe(`PageValidator`, () => { const rewardsString = PageValidator.computed.rewards.call( { session, bondDenom, distribution, validator } ) - expect(rewardsString).toBe(`100.0000000 stake`) + expect(rewardsString).toBe(`100.000000 stake`) }) it(`when validator rewards are 0`, () => { @@ -246,7 +246,7 @@ describe(`PageValidator`, () => { const rewardsString = PageValidator.computed.rewards.call( { session, bondDenom, distribution, validator } ) - expect(rewardsString).toBe(`0.0000000 stake`) + expect(rewardsString).toBe(`0.000000 stake`) }) it(`when user doesn't have any delegations`, () => { diff --git a/test/unit/specs/components/staking/__snapshots__/PageValidator.spec.js.snap b/test/unit/specs/components/staking/__snapshots__/PageValidator.spec.js.snap index a34fe1beb0..7014784455 100644 --- a/test/unit/specs/components/staking/__snapshots__/PageValidator.spec.js.snap +++ b/test/unit/specs/components/staking/__snapshots__/PageValidator.spec.js.snap @@ -90,7 +90,7 @@ exports[`PageValidator shows a validator profile information errors signing info
- 0.0000000 STAKE + 0.000000 STAKE
@@ -417,7 +417,7 @@ exports[`PageValidator shows a validator profile information if user has signed
- 0.0000000 STAKE + 0.000000 STAKE
diff --git a/test/unit/specs/components/transactions/LiStakeTransaction.spec.js b/test/unit/specs/components/transactions/LiStakeTransaction.spec.js index 52dba4cf5b..a974cd7a88 100644 --- a/test/unit/specs/components/transactions/LiStakeTransaction.spec.js +++ b/test/unit/specs/components/transactions/LiStakeTransaction.spec.js @@ -80,7 +80,7 @@ describe(`LiStakeTransaction`, () => { propsData.unbondingTime = Date.now() - 1000 wrapper.setProps({ unbondingTime: Date.now() - 1000 }) expect(wrapper.vm.$el).toMatchSnapshot() - expect(wrapper.text()).toContain(`10,000.0000000`) + expect(wrapper.text()).toContain(`10,000.000000`) }) it(`should default to ended if no unbonding delegation is present`, () => { diff --git a/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap b/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap index 41ee3daded..47668c979f 100644 --- a/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap +++ b/test/unit/specs/components/transactions/__snapshots__/LiBankTransaction.spec.js.snap @@ -10,7 +10,7 @@ exports[`LiBankTransaction should show bank transaction when user hasn't signed Sent  - 12,340.0000000 + 12,340.000000 @@ -44,7 +44,7 @@ exports[`LiBankTransaction should show incoming transactions 1`] = ` Received  - 12,340.0000000 + 12,340.000000 @@ -72,7 +72,7 @@ exports[`LiBankTransaction should show outgoing transactions 1`] = ` Sent  - 12,340.0000000 + 12,340.000000 @@ -101,7 +101,7 @@ exports[`LiBankTransaction should show outgoing transactions send to herself 1`] Sent  - 12,340.0000000 + 12,340.000000 diff --git a/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap b/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap index 32014cc234..061107f282 100644 --- a/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap +++ b/test/unit/specs/components/transactions/__snapshots__/LiGovTransaction.spec.js.snap @@ -11,7 +11,7 @@ exports[`LiGovTransaction deposits 1`] = ` Deposit  - 1,000.0000000 + 1,000.000000 @@ -45,7 +45,7 @@ exports[`LiGovTransaction proposals 1`] = ` Submit text proposal  - 1,000.0000000 + 1,000.000000 diff --git a/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap b/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap index 2d268e2599..81de9fe9b8 100644 --- a/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap +++ b/test/unit/specs/components/transactions/__snapshots__/LiStakeTransaction.spec.js.snap @@ -11,7 +11,7 @@ exports[`LiStakeTransaction create validator 1`] = ` Create validator  - 1.0000000 + 1.000000 @@ -45,7 +45,7 @@ exports[`LiStakeTransaction delegations should show delegations 1`] = ` Delegation  - 42,000.0000000 + 42,000.000000 @@ -101,7 +101,7 @@ exports[`LiStakeTransaction redelegations should show redelegations and calculat - 30.0000000 + 30.000000 @@ -147,7 +147,7 @@ exports[`LiStakeTransaction unbonding delegations should default to ended if no - 10,000.0000000 + 10,000.000000 @@ -185,7 +185,7 @@ exports[`LiStakeTransaction unbonding delegations should show unbonding delegati - 10,000.0000000 + 10,000.000000 @@ -223,7 +223,7 @@ exports[`LiStakeTransaction unbonding delegations should show unbondings and cal - 10,000.0000000 + 10,000.000000 diff --git a/test/unit/specs/components/wallet/LiCoin.spec.js b/test/unit/specs/components/wallet/LiCoin.spec.js index fd7fe2ce1d..d942149653 100644 --- a/test/unit/specs/components/wallet/LiCoin.spec.js +++ b/test/unit/specs/components/wallet/LiCoin.spec.js @@ -20,7 +20,7 @@ describe(`LiCoin`, () => { }) it(`should calculate the full amount of the coin`, () => { - expect(wrapper.vm.amount).toEqual(`10,000.0000000`) + expect(wrapper.vm.amount).toEqual(`10,000.000000`) }) it(`should capitalize the coin denomination`, () => { diff --git a/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap b/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap index fe880644de..054e34259c 100644 --- a/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap +++ b/test/unit/specs/components/wallet/__snapshots__/LiCoin.spec.js.snap @@ -35,7 +35,7 @@ exports[`LiCoin has the expected html structure 1`] = ` class="coin-amount" > - 10,000.0000000 + 10,000.000000

diff --git a/test/unit/specs/scripts/num.spec.js b/test/unit/specs/scripts/num.spec.js index 9877436f0d..88560214d5 100644 --- a/test/unit/specs/scripts/num.spec.js +++ b/test/unit/specs/scripts/num.spec.js @@ -2,7 +2,7 @@ import num from "renderer/scripts/num" describe(`number helper`, () => { it(`should format numbers showing many decimals`, () => { - expect(num.full(1001950.123456)).toBe(`1,001,950.1234560`) + expect(num.full(1001950.123456)).toBe(`1,001,950.123456`) }) it(`should format numbers showing many decimals`, () => { From d11c857044e8da5ac79228f7d3bea48c1d4ff317 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 01:10:38 +0100 Subject: [PATCH 04/10] smallest and string format From a54dec79efc2dfeff1d738f089c76ccb4d76cc3c Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 11:22:37 +0100 Subject: [PATCH 05/10] Revert "develop to branch" This reverts commit e758ddfb228a7cc6fe2c371e1d2b35e1b1ab615b, reversing changes made to 195129ea3bd2b4d7344d5a3a36ada97aa514fbbe. --- CHANGELOG.md | 18 ------------------ PENDING.md | 13 ++++++++++++- ...ernanceParameters.vue => TabParameters.vue} | 4 ++-- app/src/renderer/routes.js | 2 +- package.json | 6 +++--- ...arameters.spec.js => TabParameters.spec.js} | 6 +++--- ...spec.js.snap => TabParameters.spec.js.snap} | 2 +- 7 files changed, 22 insertions(+), 29 deletions(-) rename app/src/renderer/components/governance/{TabGovernanceParameters.vue => TabParameters.vue} (98%) rename test/unit/specs/components/governance/{TabGovernanceParameters.spec.js => TabParameters.spec.js} (88%) rename test/unit/specs/components/governance/__snapshots__/{TabGovernanceParameters.spec.js.snap => TabParameters.spec.js.snap} (97%) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8fcf819d9..f56d38b2eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,24 +7,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [1.0.0-beta.19] - 2019-03-15 - -### Added - -- [\#2263](https://github.com/cosmos/voyager/pull/2263) Added guide on how to connect via a local full node to any network @faboweb - -### Fixed - -- Fix for inflation on our testnet -- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console error on page validator if loading the page from URL @faboweb - -### Changed - -- [\#2255](https://github.com/cosmos/voyager/pull/2255) removed onboarding tutorial @fedekunze -- [\#2259](https://github.com/cosmos/voyager/issues/2259) removed PagePreferences @fedekunze -- [\#1337](https://github.com/cosmos/voyager/issues/1337) refactor unit tests: Page404, ShortBech32 @fedekunze - - ## [1.0.0-beta.18] - 2019-03-14 ### Fixed diff --git a/PENDING.md b/PENDING.md index be9194d575..fbb3cfb18c 100644 --- a/PENDING.md +++ b/PENDING.md @@ -1,4 +1,15 @@ +### Added + +- [\#2263](https://github.com/cosmos/voyager/pull/2263) Added guide on how to connect via a local full node to any network @faboweb + ### Fixed +- Fix for inflation on our testnet - [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console -- [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze \ No newline at end of file +- [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze + +### Changed + +- [\#2255](https://github.com/cosmos/voyager/pull/2255) removed onboarding tutorial @fedekunze +- [\#2259](https://github.com/cosmos/voyager/issues/2259) removed PagePreferences @fedekunze +- [\#1337](https://github.com/cosmos/voyager/issues/1337) refactor unit tests: Page404, ShortBech32 @fedekunze diff --git a/app/src/renderer/components/governance/TabGovernanceParameters.vue b/app/src/renderer/components/governance/TabParameters.vue similarity index 98% rename from app/src/renderer/components/governance/TabGovernanceParameters.vue rename to app/src/renderer/components/governance/TabParameters.vue index a95ebf8e95..5296d9ab02 100644 --- a/app/src/renderer/components/governance/TabGovernanceParameters.vue +++ b/app/src/renderer/components/governance/TabParameters.vue @@ -24,7 +24,7 @@
-
+
Maximum Deposit Period ({ atoms, depositTooltips: { diff --git a/app/src/renderer/routes.js b/app/src/renderer/routes.js index a5532f7300..a7c96a14d3 100644 --- a/app/src/renderer/routes.js +++ b/app/src/renderer/routes.js @@ -21,7 +21,7 @@ export default [ { path: `governance-parameters`, name: `Governance Parameters`, - component: require(`./components/governance/TabGovernanceParameters`).default + component: require(`./components/governance/TabParameters`).default } ] }, diff --git a/package.json b/package.json index c81cdfcf6f..99d2994e93 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cosmos-voyager", "productName": "Cosmos Voyager", - "version": "1.0.0-beta.19", + "version": "1.0.0-beta.18", "description": "Voyager is an electron-based user interface for the Cosmos Network.", "author": "All In Bits, Inc ", "license": "Apache-2.0", @@ -43,7 +43,7 @@ "frontend:fixed-https": "yarn frontend --cert 'server_dev.crt' --key 'server_dev.key'", "connect": "concurrently -k \"yarn stargate\" \"yarn proxy\"", "backend:new": "concurrently -k \"yarn connect\" \"yarn nodes 2\"", - "backend": "concurrently -k \"yarn connect\" \"yarn nodes 2 skip-rebuild\"", + "backend": "concurrently -k \"yarn yarn connect\" \"yarn nodes 2 skip-rebuild\"", "backend:fixed-https": "concurrently -k \"yarn nodes 2 skip-rebuild\" \"yarn stargate --ssl-certfile 'server_dev.crt' --ssl-keyfile 'server_dev.key'\"" }, "devDependencies": { @@ -149,4 +149,4 @@ "vuelidate": "0.7.3", "vuex": "3.0.1" } -} +} \ No newline at end of file diff --git a/test/unit/specs/components/governance/TabGovernanceParameters.spec.js b/test/unit/specs/components/governance/TabParameters.spec.js similarity index 88% rename from test/unit/specs/components/governance/TabGovernanceParameters.spec.js rename to test/unit/specs/components/governance/TabParameters.spec.js index 4b207795f8..01b39e74e5 100644 --- a/test/unit/specs/components/governance/TabGovernanceParameters.spec.js +++ b/test/unit/specs/components/governance/TabParameters.spec.js @@ -1,11 +1,11 @@ import Vuelidate from "vuelidate" import setup from "../../../helpers/vuex-setup" -import TabGovernanceParameters from "renderer/components/governance/TabGovernanceParameters" +import TabParameters from "renderer/components/governance/TabParameters" import lcdClientMock from "renderer/connectors/lcdClientMock.js" const { governanceParameters, stakingParameters } = lcdClientMock.state -describe(`TabGovernanceParameters`, () => { +describe(`TabParameters`, () => { let wrapper, store const { mount, localVue } = setup() localVue.use(Vuelidate) @@ -23,7 +23,7 @@ describe(`TabGovernanceParameters`, () => { } beforeEach(() => { - const instance = mount(TabGovernanceParameters, { + const instance = mount(TabParameters, { localVue, doBefore: ({ store }) => { store.commit(`setGovParameters`, governanceParameters) diff --git a/test/unit/specs/components/governance/__snapshots__/TabGovernanceParameters.spec.js.snap b/test/unit/specs/components/governance/__snapshots__/TabParameters.spec.js.snap similarity index 97% rename from test/unit/specs/components/governance/__snapshots__/TabGovernanceParameters.spec.js.snap rename to test/unit/specs/components/governance/__snapshots__/TabParameters.spec.js.snap index a634be6c2e..9b1db685d7 100644 --- a/test/unit/specs/components/governance/__snapshots__/TabGovernanceParameters.spec.js.snap +++ b/test/unit/specs/components/governance/__snapshots__/TabParameters.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`TabGovernanceParameters has the expected html structure 1`] = ` +exports[`TabParameters has the expected html structure 1`] = `
Date: Fri, 15 Mar 2019 11:24:58 +0100 Subject: [PATCH 06/10] pending and master --- CHANGELOG.md | 18 ++++++++++++++++++ PENDING.md | 15 --------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f56d38b2eb..b4e1688db4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [1.0.0-beta.19] - 2019-03-14 + +### Added + +- [\#2263](https://github.com/cosmos/voyager/pull/2263) Added guide on how to connect via a local full node to any network @faboweb + +### Changed + +- [\#1337](https://github.com/cosmos/voyager/issues/1337) refactor unit tests: Page404, ShortBech32 @fedekunze +- [\#2255](https://github.com/cosmos/voyager/pull/2255) removed onboarding tutorial @fedekunze +- [\#2259](https://github.com/cosmos/voyager/issues/2259) removed PagePreferences @fedekunze + +### Fixed + +- Fix for inflation on our testnet +- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console +- [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze + ## [1.0.0-beta.18] - 2019-03-14 ### Fixed diff --git a/PENDING.md b/PENDING.md index fbb3cfb18c..e69de29bb2 100644 --- a/PENDING.md +++ b/PENDING.md @@ -1,15 +0,0 @@ -### Added - -- [\#2263](https://github.com/cosmos/voyager/pull/2263) Added guide on how to connect via a local full node to any network @faboweb - -### Fixed - -- Fix for inflation on our testnet -- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console -- [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze - -### Changed - -- [\#2255](https://github.com/cosmos/voyager/pull/2255) removed onboarding tutorial @fedekunze -- [\#2259](https://github.com/cosmos/voyager/issues/2259) removed PagePreferences @fedekunze -- [\#1337](https://github.com/cosmos/voyager/issues/1337) refactor unit tests: Page404, ShortBech32 @fedekunze From 0787967837ccf9165bb1f298b92e53ee5e64e7ef Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 11:28:48 +0100 Subject: [PATCH 07/10] hotfix --- CHANGELOG.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4e1688db4..6588e3eb35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [1.0.0-beta.19] - 2019-03-14 +## [1.0.1-beta.20] - 2019-03-15 + +### Fixed + +- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console +- [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze + +## [1.0.0-beta.19] - 2019-03-15 ### Added @@ -22,8 +29,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Fix for inflation on our testnet -- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console -- [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze +- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console error on page validator if loading the page from URL @faboweb + ## [1.0.0-beta.18] - 2019-03-14 From 96ce0e3b9c2d70b611c59c67861401a3af59a5b1 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 11:29:19 +0100 Subject: [PATCH 08/10] patch number --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6588e3eb35..ce48ee1294 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [1.0.1-beta.20] - 2019-03-15 +## [1.0.0-beta.20] - 2019-03-15 ### Fixed From 58680fcc5e17f1bbbc5f2a055847ae6e1ef8fa9d Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Fri, 15 Mar 2019 11:31:12 +0100 Subject: [PATCH 09/10] version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 99d2994e93..a2762302bb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cosmos-voyager", "productName": "Cosmos Voyager", - "version": "1.0.0-beta.18", + "version": "1.0.0-beta.20", "description": "Voyager is an electron-based user interface for the Cosmos Network.", "author": "All In Bits, Inc ", "license": "Apache-2.0", From e097de20371e2e9224da2a62631564ba2fb1e93f Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 15 Mar 2019 11:37:10 +0100 Subject: [PATCH 10/10] Update CHANGELOG.md --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce48ee1294..70f0082f03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed -- [\#2257](https://github.com/cosmos/voyager/pull/2257) fixed console - [\#2273](https://github.com/cosmos/voyager/issues/2273) fixed atoms and uatoms conversion @fedekunze ## [1.0.0-beta.19] - 2019-03-15