Commit Graph

2912 Commits

Author SHA1 Message Date
Jędrzej Stuczyński 8bc12bc079 full event propagation and execution of dkg key submission 2022-05-13 16:20:34 +01:00
Jędrzej Stuczyński 34aca1d4bc Queries for blacklisted dealers 2022-05-13 15:52:22 +01:00
Jędrzej Stuczyński a3d6fc23f8 Added data field to ExecuteResult 2022-05-13 13:57:31 +01:00
Jędrzej Stuczyński 3328e06f45 Changed initialisation to ensure public key submission step takes non-zero number of blocks 2022-05-13 12:23:25 +01:00
Jędrzej Stuczyński 0e853e7f32 fixed startup 2022-05-13 12:16:04 +01:00
Jędrzej Stuczyński 7844a583bf setting internal dkg contract address 2022-05-13 12:08:11 +01:00
Jędrzej Stuczyński 4c4f9d7739 Using correct page limit for getting dealers 2022-05-12 16:07:03 +01:00
Jędrzej Stuczyński 691049b85b Temporary junky setup of all dkg components 2022-05-12 16:03:22 +01:00
Jędrzej Stuczyński 50f26940be Added utility dkg contract message to reset the entire state 2022-05-12 15:10:56 +01:00
Jędrzej Stuczyński 9f4029eb85 Added additional log statements for future debugging purposes 2022-05-12 11:28:42 +01:00
Jędrzej Stuczyński fb09e97eb6 Logic for processing dealer set changes 2022-05-12 11:12:02 +01:00
Jędrzej Stuczyński 1318b4425d Initial event emission by the contract watcher 2022-05-11 12:15:28 +01:00
Jędrzej Stuczyński 43f1194268 Parsing of dealer details 2022-05-11 12:14:39 +01:00
Jędrzej Stuczyński bd216453cc Querying contract for the current(and past) set of dkg dealers 2022-05-10 15:05:21 +01:00
Jędrzej Stuczyński 7271d19afa Adding sample ExecuteMsg to DkgClient trait 2022-05-09 12:29:59 +01:00
Jędrzej Stuczyński f85ac03cda Stub for DkgClient 2022-05-06 10:19:11 +01:00
Jędrzej Stuczyński ff9cdba941 Ability to serialize DkgState 2022-05-05 16:20:46 +01:00
Jędrzej Stuczyński 48e5fcd244 Serde for dkg types via serde_bytes 2022-05-05 16:19:16 +01:00
Jędrzej Stuczyński 9d84e15a92 Showing better errors for critical failures 2022-05-05 16:12:26 +01:00
Jędrzej Stuczyński 160046b359 Further organising 2022-05-05 14:40:56 +01:00
Jędrzej Stuczyński 72665d3878 Actually handling dkg requests 2022-05-05 12:23:17 +01:00
Jędrzej Stuczyński 5fb7ebeb63 Reorganised accessing state 2022-05-05 12:17:41 +01:00
Jędrzej Stuczyński 3963aebc97 Simplified error response handling 2022-05-05 11:02:26 +01:00
Jędrzej Stuczyński 6554916fae Merge branch 'develop' into feature/integrated-hybrid-dkg 2022-05-05 10:07:46 +01:00
Jon Häggblad c91bf3f8d1 wallet: fix rust unit tests (#1252) 2022-05-05 10:31:00 +02:00
Jędrzej Stuczyński 777fcf8cb3 Release/nym wallet v1.0.4 (#1248)
* Bumped up version numbers to 1.0.1

* Updated changelog attempting to use new format

* Bumped up wallet version number

* Updated changelog attempting to use new format

* Updated tauri version
nym-binaries-1.0.1 nym-wallet-v1.0.4
2022-05-04 17:03:08 +01:00
Jędrzej Stuczyński 945dda0c24 Release/1.0.1 (#1247)
* Bumped up version numbers to 1.0.1

* Updated changelog attempting to use new format
v1.0.1
2022-05-04 16:57:36 +01:00
Jędrzej Stuczyński 479d410d20 Feature/broadcast sync with polling (#1246)
* Broadcast tx in a sync mode and poll for its inclusion

* Adjusted internal type used in TauriTxResult

* Re-exported MsgSend

* Increased polling rate + removed print
2022-05-04 16:19:34 +01:00
Mark Sinclair a1ca330ce9 GitHub Actions: upload network requester to releases 2022-05-04 14:31:21 +01:00
Jon Häggblad 139e89643c Endpoints for average mixnode uptime (#1238) 2022-05-04 11:28:41 +02:00
Jędrzej Stuczyński 8eb3f6f862 Changed opt-level for test code to speed up especially dkg tests 2022-05-04 09:54:18 +01:00
Jędrzej Stuczyński 9032d81d52 Fixed dkg benchmarking code to take into account resharing attributes 2022-05-04 09:44:10 +01:00
Fouad f2e95d2fd5 Merge pull request #1244 from nymtech/feature/inclusion-probability-ui-update
update inclusion prob UI update
nym-wallet-v1.0.3 nym-binaries-1.0.0 v1.0.0
2022-05-03 16:57:22 +01:00
fmtabbara 5730c914e8 use coming soon chip 2022-05-03 16:38:15 +01:00
Jędrzej Stuczyński d71f860751 Changes to serialization + playing around with the concept of event dispatcher 2022-05-03 15:30:33 +01:00
fmtabbara 7845e32742 update inclusion prob UI 2022-05-03 15:14:16 +01:00
Jon Häggblad 4cce235e13 validator-api: disable swagger temporarily 2022-05-03 15:49:44 +02:00
Jędrzej Stuczyński 521eb98f25 Generated changelog for 1.0.0 2022-05-03 14:27:54 +01:00
Jon Häggblad c77ccddcb3 Add swagger for validator-api (#1239)
* validator-api: add swagger openapi

* Lock file
2022-05-03 14:40:11 +02:00
Drazen Urch b8ce97e005 Mitigate PM change attack (#1236)
* Mitigate PM change attack

* More paranoid test
2022-05-03 14:36:29 +02:00
Bogdan-Ștefan Neacşu 49e29af5f4 Fix gateway test wallet address (#1237)
* Fix gateway test wallet address

Since we're switching to mainnet as default, use the correct wallet
address format.

* Fix other test with prefix problems
2022-05-03 14:36:29 +02:00
durch 41319fe7ad Fix unbonding for new nodes 2022-05-03 14:36:29 +02:00
durch 4fcf0da5c0 Move amount to liquidate to const 2022-05-03 14:36:29 +02:00
durch 0a6b2a8aaf Fix vesting accounting 2022-05-03 14:36:29 +02:00
Drazen Urch b09db50bba Fix checkpointing (#1230)
* Fix checkpoint strategy and order, test

* Debug pending delegation events

* Debug print

* Switch print to log

* Add debug print

* More printing

* Remove problematic checkpoint

* checkpoint mixnodes in separate block

* more debugs

* Removing old migration just in case

* Printing all checkpoint heights at migration

* Purging old checkpoint from storage

* Attempting to load raw storage value

* More printing...

* Removed expect

* deserialization changes

* error handling

* cleanup

* clippy

* dead code

* Reduce minimum age for rewarding to 1 epoch

* Add checkpoint query

* Get checkpoint at height

* Fix delegation compounding, fix undelegate accumulate_rewards

* Fix potential overflow, add debug logging

* Moar logging

* Fix total_delegations + rewards

* Better error for horrible overflow

* fmt

* Fixed unit test assertions in bech32 validation

Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
2022-05-03 14:36:29 +02:00
Jędrzej Stuczyński 82e6d7335b Bandwidth credentials disabled by default 2022-05-03 14:36:29 +02:00
Jędrzej Stuczyński 21d19d2447 Renamed testnet mode to disabled credentials mode 2022-05-03 14:36:29 +02:00
Jędrzej Stuczyński 5f116f8104 Set mainnet as the default network build target 2022-05-03 14:36:29 +02:00
Jędrzej Stuczyński 04f633446e Updated binaries versions to 1.0.0 2022-05-03 14:36:29 +02:00
durch be5421719c Fix undelegations 2022-05-03 14:36:29 +02:00