Commit Graph

45 Commits

Author SHA1 Message Date
Vadim 7eb22de4ab Remove duplicated requests and improve warnings output 2020-01-07 15:28:36 +03:00
Max Alekseenko a1c023202d Make network select more stable (#112)
* added networks dropdown

* update getWeb3 to support forced network ID

* added current network to dropdown header, added click event on network selectors

* list element key value error fix, added preventDefault on click on change network link

* switching between networks

* make account select more stable

* change network switching logic and do some refactoring

* fix mobile network switch

* change errors text

* Fixes

* Fix wrong checking order

* remove logs

* Add missed checking and small refactoring for `messages.networkMatchError`
2019-10-25 12:55:21 +03:00
Vadim a0b772bf97 Small refactoring 2019-04-26 13:49:10 +03:00
Vadim 84e4dbef97 Additional fixes 2019-04-26 11:33:14 +03:00
Gabriel Rodriguez Alsina 65346c66c9 (fix) change warning text / change loader to const / define constants for network's names / 2019-01-17 10:41:04 -03:00
Gabriel Rodriguez Alsina fce6e043f9 (chore) removed temporary code - (fix) sweet alerts z-index 2019-01-16 17:34:52 -03:00
Gabriel Rodriguez Alsina 23552308b4 (add) styles for set metadata form 2019-01-15 15:56:10 -03:00
Gabriel Rodriguez Alsina bf10c6b41a (refactor) file and folders' structure / scaffolding - (fix) eslint + prettier - (add) npm start watches scss now 2019-01-07 15:43:51 -03:00
Vadim Arasev c941588d59 (Fix) Handle `expirationDate` as NaN when `isCompany` = true 2018-12-17 18:46:52 +03:00
Vadim 6e347ff810 (Fix) Support working without MoC 2018-12-17 14:46:15 +03:00
Vadim 4e0bed6446 (Update) Support of companies as validators, remove xDai-Test network
According to https://github.com/poanetwork/poa-dapps-validators/issues/96
2018-12-11 17:09:56 +03:00
Vadim d3026e7c0c (Fix) Display alert "Invalid voting key" for Confirm and Finalize btns
Related to https://github.com/poanetwork/poa-dapps-validators/issues/72
2018-11-13 13:42:18 +03:00
Vadim Arasev 9689c6282f (Fix) Use web3 1.0 by default 2018-10-11 10:09:04 +03:00
Vadim 1f857037bd (Update) Add support of a new version of MetaMask
Solves https://github.com/poanetwork/poa-dapps-validators/issues/85
2018-10-10 18:55:51 +03:00
Vadim Arasev c7863415fb (Refactor) Small Metadata.contract.js refactoring 2018-08-10 10:45:55 +03:00
Vadim Arasev 422995b51f (Update) Add calling ValidatorMetadata.isValidatorAlreadyVoted 2018-08-07 14:29:11 +03:00
viktor f730cd9967 eslint + prettier configuration 2018-07-11 18:50:14 +03:00
Vadim Arasev 15b67594c5 (Fix) Don't use ChangeRequestInitiated event 2018-06-19 15:08:38 +03:00
Vadim Arasev 1fc6710c85 Allow isMasterOfCeremonyRemoved both for Sokol and Core networks 2018-06-11 10:29:44 +03:00
Vadim Arasev 8aa5a6edb2 (Update) Remove old commented lines 2018-06-08 18:20:37 +03:00
Vadim Arasev 81a19e2f33 (Update) Allow isMasterOfCeremonyRemoved only for Sokol network 2018-06-08 15:15:25 +03:00
Vadim Arasev 38663f657c (Update) Add isMasterOfCeremonyRemoved() and update web3 2018-05-31 09:47:10 +03:00
Vadim Arasev 0f3e5fb40a
Update Metadata.contract.js 2018-04-11 14:01:22 +03:00
Victor Baranov 78cd2c2e57
Revert "(Fix) Change metadata zipcode from numeric to short string and other fixes" 2018-04-09 13:19:22 +03:00
varasev 493bbf1772 (Fix) Confirmations length 2018-04-03 12:27:20 +03:00
varasev 172d793515 (Fix) Change metadata zipcode from numeric to short string
Related to https://github.com/poanetwork/poa-network-consensus-contracts/issues/45
2018-04-02 19:20:43 +03:00
Victor Baranov 20369024fe (Fix) standardize alerts && handle errors from calling contracts methods (#50)
* standardize alerts and handle errors from contracts

* global helpers

* remove commented line

* validatorData set rollback

* handle User denied transaction pattern

* highlight values in Pending changes alert
2018-03-12 11:41:19 -07:00
viktor f8d180de7f fix gas price 2018-02-27 15:53:05 +03:00
viktor 1f335ed302 validators count 2018-02-26 17:35:10 +03:00
viktor 4b07d7473e MoC address update 2018-02-08 21:28:49 +03:00
Victor Baranov b6b91abd6e (Refactor) chain-spec repo as endpoint for contracts addresses and ABIs (#37)
* Structurize styles

* Use nodemon watcher to prevent additional scss compiles

* Make responsive

* chain-spec repo as endpoint for contract addresses and ABIs

* ABIs are from chain-spec repo

* avoid: setState(…): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op

* Fix sokol header

* Sokol header: use plain color

* Core HF

* Make view responsive (#36)

* Structurize styles

* Use nodemon watcher to prevent additional scss compiles

* Make responsive

* Fix sokol header

* Sokol header: use plain color

* (Fix) Use proper way to make sure addreses get BEFOFE code starts to run

* (Fix) styling on the header with selector
(Fix) prepend with 0 zipcode if it has 4 digits

* styles merge fix
2018-02-01 14:48:48 -08:00
Roman Storm 8cccc579ac Fix a bug when switching networks 2018-01-25 01:45:18 -08:00
Roman Storm f9a88f42dc (Feature) Add network selection from dropdown 2018-01-25 00:02:25 -08:00
Roman Storm 16db190f49 Fix case sensitivity for MoC 2018-01-23 14:43:48 -08:00
Roman Storm e7c98e1dab (Hotfix) pass netid to list of validators 2018-01-22 03:13:48 -08:00
Roman Storm 3064ddd2f2 load addresses based on netId 2017-12-29 23:07:11 -08:00
Roman Storm 654d77a42f Fixes:
#21 - if no web3 found, load hardcoded rpc
#19 - hardcode MoC Data
#22 - fix title
2017-12-29 22:27:13 -08:00
Roman Storm 65fc561b17 core init deployment 2017-12-15 19:01:04 -08:00
viktor 20d2a10e34 Updated contract addresses and definitions for core network 2017-12-15 20:06:21 -05:00
viktor c05c58ccaa Sokol addresses 2017-12-15 18:23:00 -05:00
Roman Storm 71b12cde8d add error handling for confirm and finalize buttons 2017-12-14 16:07:43 -08:00
Roman Storm e10d79c852 finalize Dapp 2017-12-13 16:39:17 -08:00
Roman Storm 9c33e5925b Add pending changes 2017-12-12 23:27:31 -08:00
Roman Storm b3b5c37312 ADD ALL validators view. Create/update metadata 2017-12-11 23:01:59 -08:00
Roman Storm 87d0241d21 v2 2017-12-11 17:35:57 -08:00