Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

refactor: use the activeDelegates number provided by the network #336

Merged
merged 5 commits into from May 31, 2019
Merged

Conversation

vulet
Copy link
Contributor

@vulet vulet commented May 29, 2019

Proposed changes

We refactor the static 51 limit to an activeDelegates limit, which resolves #335.

@ghost
Copy link

ghost commented May 29, 2019

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost ghost added Complexity: Low Less than 64 lines changed. Type: Refactor The pull request improves or enhances an existing implementation. labels May 29, 2019
src/providers/ark-api/ark-api.ts Outdated Show resolved Hide resolved
src/providers/ark-api/ark-api.ts Outdated Show resolved Hide resolved
@ghost ghost added the Status: Needs Changes The pull request needs additional changes before it can be merged. label May 31, 2019
@ghost
Copy link

ghost commented May 31, 2019

Your pull request needs some changes. Please wait for a comment from one of our developers for more information.

@vulet
Copy link
Contributor Author

vulet commented May 31, 2019

Thanks @luciorubeens. Anything else?

@ghost ghost added the Status: Member Approved The pull request has been approved by a member. label May 31, 2019
@ghost
Copy link

ghost commented May 31, 2019

A member has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.

Thank you for your contribution!

@luciorubeens luciorubeens added the Bounty: Tier 3 Awarded for medium features, refactorings, improvements. This is valued at 50 USD. label May 31, 2019
@ghost
Copy link

ghost commented May 31, 2019

The ci/circleci: test-node-9 job is failing as of 721eff5702546f78ef44c72bb94e1ea03a881670. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@ghost
Copy link

ghost commented May 31, 2019

The ci/circleci: test-node-9 job is failing as of 238fae76b99023a4deb1b7190fbf999bc1692d63. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@luciorubeens luciorubeens changed the title refactor: 51 delegate limit to activeDelegates limit refactor: use the activeDelegates number provided by the network May 31, 2019
@luciorubeens luciorubeens merged commit ae5dc21 into ArkEcosystem:develop May 31, 2019
@ghost
Copy link

ghost commented May 31, 2019

Your pull request has been merged and marked as tier 3. It will earn you $25 USD.

luciorubeens pushed a commit that referenced this pull request Jun 14, 2019
* refactor: 51 delegate limit  to activeDelegates limit

* changes

* fix: update `activeDelegates` on node configuration response

* test: fix type

* test: fix trailing whitespace
luciorubeens added a commit that referenced this pull request Jul 12, 2019
* refactor: qr-code regex (#298)

* feat: add top wallets list (#312)

* fix: show keyboard on ios (#297)

* refactor: use the activeDelegates number provided by the network (#336)

* refactor: 51 delegate limit  to activeDelegates limit

* changes

* fix: update `activeDelegates` on node configuration response

* test: fix type

* test: fix trailing whitespace

* fix: update the wallet in the correct profile (#339)

* chore: fix some punctuation mistakes (#340)

* chore: bump to 1.4.3 (#342)

* chore: use organization-wide GitHub Configuration (#343)

* chore: update ark-ts to change the peer config endpoint (#344)

* refactor: display the remote error message when it exists

* chore: bump to 1.4.4

* perf: clear intervals when navigating to another page

* fix: get fees for 7 days instead of 30

* fix: avoid bignumber error when typing decimals

* fix: display zero balance in the wallets list

* fix: continue updating current wallet when navigating to others pages

* fix: do not hang the app while finding a good peer

* refactor: migrate to v2 api (#350)

* refactor: migrate to v2 api

* fix: fetch and post transactions

* feat: handle enter key when manually importing wallet (#354)

* refactor: use activeDelegates provided by network (#355)

* refactor: use activeDelegates provided by network

* fix: use StoredNetwork instead of Network

* fix: handle transaction amount as a string (#356)

* fix: handle transaction amount as a string

* fix: handle NaN on equivalent amount in fiat

* fix: change the send amount only on blur

* fix: lint

* fix: typo preminned to premined (#357)

* chore: bump to 1.5.0 (#359)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bounty: Tier 3 Awarded for medium features, refactorings, improvements. This is valued at 50 USD. Complexity: Low Less than 64 lines changed. Status: Member Approved The pull request has been approved by a member. Status: Needs Changes The pull request needs additional changes before it can be merged. Type: Refactor The pull request improves or enhances an existing implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The delegates list does not show for blockchains under 51 delegates.
2 participants