Commit Graph

71 Commits

Author SHA1 Message Date
varasev 82ffca0d1a
Add POA-GNO merge warning (#127) 2022-04-27 13:27:27 +03:00
Vadim e4d1dc306a Set exact repo tree for xDai since poa-chain-spec/contracts.json changed 2020-03-24 21:27:56 +03:00
Vadim 005dd6c965 Remove isVotingActive request (use miningKeyByVoting instead) 2020-01-07 15:42:21 +03:00
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 52c3d2087c
Merge pull request #84 from unjapones/popa-addresses-by-voting-or-mining-key
(Improvement) Get validator's PoPA addresses by voting/mining key.
2018-10-03 12:04:36 +03:00
Jorge Luis Shirai 413692df7e Retry PoPA address fetch using validator mining key, when possible. 2018-10-02 12:08:02 -03:00
Vadim Arasev ee1c1847b2 (Refactor) Move hardcoded netIds to constants.js 2018-10-02 15:05:56 +03:00
Jorge Luis Shirai 5e7e20f144 Get validator's PoPA addresses by voting/mining key. 2018-10-01 12:29:05 -03:00
Vadim Arasev 7573000edc (Update) Add netId and branch name for DAI shard 2018-10-01 13:46:08 +03:00
Jorge Luis Shirai e12dfb9905 Improve condition on PoPA's userAddressByKeccakIdentifier.
Remove unneeded check to determine if a physical address is found on 
PoPA's after userAddressByKeccakIdentifier method invocation.
2018-09-11 15:49:43 -03:00
Jorge Luis Shirai 682f1a9892 Use LogAddressRegistered in ProofOfPhysicalAddress.contract.js.
Retrieve all registered physical addresses (its confirmed/unconfirmed 
status is set by method userAddressByKeccakIdentifier).
2018-09-06 12:24:34 -03:00
Jorge Luis Shirai f1602e9dfe Render multiple confirmed/unconfirmed validator physical addresses.
Update ProofOfPhysicalAddress.contract to return all addresses.
Add ValidatorPhysicalAddresses to render multiple confirmed and 
unconfirmed physical addresses.
2018-08-30 21:02:08 -03:00
Jorge Luis Shirai 6b535fb06b Get batch confirmed addresses of all validators.
Replace ProoOfPhysicalAddress.contract getUserConfirmedAddresses with a
batch-oriented method that calls getEvents once for all the given wallet
addresses.
2018-08-30 11:54:53 -03:00
Jorge Shirai ea55e88981 Fetch validators' confirmed address based on confirm event data.
Get confirmed addresses by the kekkakIdentifier in LogAddressConfirmed
event from PoPA.
Improve eventual exception handling in AllValidators' validator address
augmentation.
2018-08-29 13:53:27 -03:00
Jorge Shirai c940f674f1 Modify ProofOfPhysicalAddress.contract to work only on core.
Modify ProofOfPhysicalAddress.contract to work only on core, since the 
corresponding contract is deployed only on that network.
2018-08-28 21:58:21 -03:00
Jorge Shirai bc4e3ebc29 Get PoPA confirmed address of validators with LogAddressConfirmed event.
Only query/fetch PoPA confirmed address for validators that ever 
generated a LogAddressConfirmed (PoPA event).
2018-08-28 16:42:52 -03:00
Jorge Shirai f2b1570bdf Fix confirmed count in ProofOfPhysicalAddress.contract.
Remove logging message from AllVsalidators.js.
2018-08-27 11:50:33 -03:00
Jorge Shirai 3b0078ac82 Retrieve ProofOfPhysicalAddress ABI using helpers.
Retrieve ProofOfPhysicalAddress ABI using helpers, by assuming
poa-chain-spec has the corresponding information.
2018-08-27 09:22:49 -03:00
Jorge Shirai 1f8e851f25 Fix ProofOfPhysicalAddress.contract & AllValidators typos. 2018-08-24 14:16:08 -03:00
Jorge Luis Shirai a4ebbd2269 Add basic ProofOfPhysicalAddress.contract module. 2018-08-14 18:11:21 -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