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

Fabo/0.33.0 #2225

Merged
merged 24 commits into from
Mar 11, 2019
Merged

Fabo/0.33.0 #2225

merged 24 commits into from
Mar 11, 2019

Conversation

faboweb
Copy link
Collaborator

@faboweb faboweb commented Mar 9, 2019

Closes #2103

Updates to SDK 0.33.0
Improves on local testnet generation and usage. Always sends tokens to a fixed address: "cosmos1ek9cd8ewgxg9w5xllq9um0uf4aaxaruvcw4v9e"

Needs the backend to be updated

Description:

Thank you! 🚀


For contributor:

  • Added entries in PENDING.md with issue # and GitHub username
  • Reviewed Files changed in the github PR explorer
  • Attach screenshots of the UI components on the PR description (if applicable)
  • Scope of work approved for big PRs

For reviewer:

  • Manually tested the changes on the UI

@faboweb faboweb added the blocked ✋ issues blocked by other implementations/issues label Mar 9, 2019
@codecov
Copy link

codecov bot commented Mar 9, 2019

Codecov Report

Merging #2225 into develop will decrease coverage by 0.72%.
The diff coverage is 90.47%.

@@             Coverage Diff             @@
##           develop    #2225      +/-   ##
===========================================
- Coverage    95.39%   94.66%   -0.73%     
===========================================
  Files          109      109              
  Lines         2279     2288       +9     
  Branches       114      116       +2     
===========================================
- Hits          2174     2166       -8     
- Misses          92      109      +17     
  Partials        13       13
Impacted Files Coverage Δ
app/src/renderer/connectors/api.js 100% <ø> (ø) ⬆️
...rer/components/transactions/LiStakeTransaction.vue 94.11% <ø> (ø) ⬆️
...rc/renderer/components/staking/DelegationModal.vue 92.59% <ø> (ø) ⬆️
app/src/renderer/vuex/getters.js 90.56% <100%> (ø) ⬆️
app/src/renderer/scripts/time.js 100% <100%> (ø) ⬆️
...derer/components/transactions/LiAnyTransaction.vue 100% <100%> (ø) ⬆️
...c/renderer/components/staking/TabMyDelegations.vue 100% <100%> (ø) ⬆️
app/src/renderer/vuex/modules/delegation.js 62.71% <60%> (-28.67%) ⬇️

@codecov
Copy link

codecov bot commented Mar 9, 2019

Codecov Report

Merging #2225 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2225      +/-   ##
===========================================
+ Coverage     95.4%   95.42%   +0.01%     
===========================================
  Files          109      109              
  Lines         2287     2295       +8     
  Branches       114      116       +2     
===========================================
+ Hits          2182     2190       +8     
  Misses          92       92              
  Partials        13       13
Impacted Files Coverage Δ
.../renderer/components/common/TmConnectedNetwork.vue 100% <ø> (ø) ⬆️
app/src/renderer/components/common/AppHeader.vue 94.44% <ø> (ø) ⬆️
...c/renderer/components/governance/TabParameters.vue 100% <ø> (ø) ⬆️
app/src/renderer/connectors/api.js 100% <ø> (ø) ⬆️
...rer/components/transactions/LiStakeTransaction.vue 94.11% <ø> (ø) ⬆️
...rc/renderer/components/staking/DelegationModal.vue 92.59% <ø> (ø) ⬆️
...c/renderer/components/staking/TabMyDelegations.vue 100% <100%> (ø) ⬆️
app/src/renderer/scripts/num.js 100% <100%> (ø) ⬆️
app/src/renderer/scripts/time.js 100% <100%> (ø) ⬆️
app/src/renderer/vuex/getters.js 90.56% <100%> (ø) ⬆️
... and 2 more

@faboweb
Copy link
Collaborator Author

faboweb commented Mar 9, 2019 via email

@@ -159,11 +156,11 @@ export default ({ node }) => {

await dispatch(`sendTx`, {
type: `postDelegation`,
to: wallet.address, // TODO strange syntax
to: session.address, // TODO strange syntax
Copy link
Collaborator

Choose a reason for hiding this comment

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

still strange syntax?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yep, just changed the source of the address

Copy link
Contributor

Choose a reason for hiding this comment

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

what's the strange syntax? can we create an issue ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

there is already an issue around refactoring the send module #1828

@@ -36,7 +36,7 @@
"prepush": "bash ./tasks/changelog-changed-check.sh && yarn lint",
"postcheckout": "yarn",
"watch": "tasks/watch.sh",
"nodes": "node ./tasks/testnet.js",
"nodes": "node ./tasks/local-testnet/start.js",
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@fedekunze
Copy link
Contributor

hmm I still get the error from undelegations: Error fetching delegations: Cannot read property 'amount' of undefined

Copy link
Contributor

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

Governance penalty parameter was removed and none of the actions work.

Also the distribution tx action from

req(`GET`, `/txs?action=withdraw_delegation_reward&delegator=${address}`)()

changed from withdraw_delegation_reward to withdraw_delegator_reward

@faboweb
Copy link
Collaborator Author

faboweb commented Mar 11, 2019

@fedekunze could you re-eval please?

@fedekunze
Copy link
Contributor

none of the actions work

This is still failing: (re)delegation, unbonding, proposals, send, etc

@faboweb
Copy link
Collaborator Author

faboweb commented Mar 11, 2019

This is still failing: (re)delegation, unbonding, proposals, send, etc

will fix this

Copy link
Contributor

@sabau sabau left a comment

Choose a reason for hiding this comment

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

let's merge I update the nodes now

@faboweb faboweb merged commit 87336e6 into develop Mar 11, 2019
@faboweb faboweb deleted the fabo/0.33.0 branch March 11, 2019 19:17
@faboweb
Copy link
Collaborator Author

faboweb commented Mar 11, 2019

Need to check version again. The commit stated 0.32.0. Maybe need to upgrade again.

@fedekunze
Copy link
Contributor

Karoly was this manually tested ?

@fedekunze
Copy link
Contributor

@sabau @faboweb this wasn't properly tested and it broke the transactions page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked ✋ issues blocked by other implementations/issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undelegations changed format
4 participants