-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add Web UI for POSDAO Staking DApp #2292
Conversation
Pull Request Test Coverage Report for Build a555c3827aee84f4dd6f1bb62a6812a5b595dac6-PR-2292
💛 - Coveralls |
ee489c4
to
d206b3e
Compare
e03fd1a
to
81d0354
Compare
@andogro @varasev @vbaranov @igorbarinov Until that moment you can test all functionality using Features not pushed yet:
|
I will do that of course, today in the afternoon. |
3311911
to
7b7a254
Compare
This PR (and |
updated 8.26.2019 Fixed
"You cannot move funds that result in less than 1 POS of your stake remaining in any pool. Or, if this error message occurs at other times, perhaps something like: "The minimum stake you can place per pool is 1 POS. All pools you stake into should contain at least this amount"
Current issues: New:
8.26.19
|
b7d20d8
to
f4c44dd
Compare
52658a7
to
86d9031
Compare
The only caveat for the commit 372a646 is that the |
Thanks for noticing that. Yes, I returned to the state for loadItemsPrev and loadItemsNext as it was introduced in staking branch b7ccf6e#diff-a4235e34df60ac595d5ee65de1b587d513ed667f74d08c747531c52e95beeff0. I don't see issues with pagination with this implementation. |
Hi @vbaranov I noticed that the issue with block delays and skips now occurs in production. Is the current implementation from |
This is the master PR for POSDAO Staking DApp UI.
Related issues: #2168, blockscout/blockscout-premium#36, #2211.
Individual features are implemented in PRs based on this branch and squash-merged here when ready.
Running instructions
1.
Launchposdao-test-setup
following the instructions.2.
Launch the Blockscout in a separate console with docker (for Linux uselocalhost
instead ofhost.docker.internal
):3.
Open http://localhost:4000/ and navigate toStakes
menu.MetaMask login instructions
http://localhost:8541
instead of Main Ethereum Network./posdao-test-setup/accounts/keystore
. The password istestnetpoa
.UTC*
accounts contain some tokens and are created anew with eachposdao-test-setup
restart. Others are the same each time, and are actual validators and delegators.Login
button in BlockScout UI and grant access. Afterwards you can switch between imported accounts, and they will be used for logging into BS UI automatically.TODO list
Previously implemented features:
The list of features implemented in this PR:
MIN_{CANDIDATE,DELEGATOR}_STAKE
from contract, not from env. #2313 Fetch minimal candidate and delegator stake, token contract addressgetCandidateMinStake
getDelegatorMinStake
erc20TokenContract
master
UPDATE 09.09.2020
Are you sure?
. It doesn't make sense to stake to the inactive pool