Files
nym/contracts/CHANGELOG.md
T
Jędrzej Stuczyński 4578cda0ae Feature/develop resync (#1844)
* Network-requester: throttle inbound connections (#1789)

* Return and handle ClientRequest::LaneQueueLenghts

* Pass lane queue lengths to inbound future

* Remove unused self reference

* Request lane queue lengths periodically for all open connections

* Add timeouts

* Rename to ConnectionCommandSender and Receiver

* Rename to client_connection_tx/rx

* Fix wasm build

* Replace bool with enum

* rust: bump required version to 1.65 in some crates that need it

* Add step to release GH actions (#1792)

* feat: add a release step to nym contracts GH action

* feat: add shrinking the size of wasm

* Possibilty to change gateway ws listener (#1779)

* add: set gatewayListener

* Update types.ts

* Update worker.ts

* Update contracts-build.yml

* real_traffic_stream: reduce frequency of status print (#1794)

* Update wallet and connect lock files (#1793)

* client-core: add warning when delay multiplier is larger than 1

* Fix decrypting stored received msg (#1786)

* Fix decrypting stored received msg

* rustfmt

* Moving binary message recovery to separate function

Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>

* Feature/use expect instead of panicking (#1797)

* Implementation of 'Debug' on 'RealMessage'

* expect with failed channel name instead of throwing empty panics

* Introduced Debug trait constraint in ProxyRunner

* Derive Debug for socks5_requests::Message

* Make connection_id optional in ClientRequest::Send (#1798)

* changelog: add missing entry for fixing message decrypt in gateway-client

* websocket-requests: fix length check before deserialize (#1799)

* Fix export dkg contract addr (#1800)

* Export dkg contract for mainnet when no config file present

* Remove redundant env files

* nym-cli: improve error reporting/handling and changed `vesting-schedule` queries to use query client instead of signing client

* Feature/gateway client protocol version (#1795)

* Introducing concept of gateway protocol version

* Remove version-based gateway filtering

* Fixed the unit test

* grammar

* Set build on latest release on schedule event

* Added nightly build workflow on second latest release

* socks5: if any task panics, signal all other tasks to shutdown (#1805)

* socks5: signal shutdown on error

* Mark as success

* Tidy

* Reduce wait to 5 sec

* Replace unwrap with expect

* Two more unwraps

* Update changelog

* client-core: less frequent status logging (#1806)

* Feature/nym connect UI updates (#1784)

* create custom titlebar

* create help page

* create generic modal component

* create separate connection time component

* link to shipyard docs

* move timer to separate component and update connection status component usage

* use separate component for copying ip and port details

* only show infomodal once after connection

* set service provider on tauri side

* Emit events when stopped

* listen and unlisten for tauri events

* connect: add trace log to get_services

* Add back CI notifications

* Update README

Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com>
Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com>

* Use default serde value for upgrade (#1807)

* fix ui overflow bug (#1808)

* update nym connect error text (#1809)

* set flag to false

* Fix wait_for_signal_and_error on win (#1811)

* Add socks5-client changes to nym-connect changelog

* Fix links in nym-connect changelog

* More entries in nym-connect CHANGELOG

* Fix typo in changelog

* Update CHANGELOG.md

* Experiment/client refactoring (#1814)

* experimenting with extracting more common client code

* drying up the wasm client

* allowing some dead code for the time being

* fixed formatting in nym-connect

* made socks5 client inside nym-connect immutable

* made clippy a bit happier

* hidden away target locking for recv timeout

* New transactions for increasing amount of pledged tokens

* unit tests

* Added an option to pledge extra tokens through the vesting contract

* Introduced wallet endpoints for new operations

* Using updated pledge cap in the vesting contract

* Bumping version numbers

* Changelog for v1.1.1

* Bumping final version numbers for 1.1.1

* Bumping nym-cli version, missed it last time

* socks5-client: SOCKS4a support (#1822)

* socks5-client: SOCKS4a support

* Tidy

* Fix a few errors in socks5 client and network-requester (#1823)

* Fix two unwraps in socks5 and network-requester

* Make sure client task never sends shutdown signal

* Fix panic on getting socks version

* wip

* connecting to the back and making the requests work

* display details modal

* logs removal

* Feature/pledge more (#1679)

* New transactions for increasing amount of pledged tokens

* unit tests

* Added an option to pledge extra tokens through the vesting contract

* Introduced wallet endpoints for new operations

* Using updated pledge cap in the vesting contract

* Changelog update

* nym-connect: update lock file

* avoid mix tokens pools

* amount error

* envs/mainnet: update to latest mixnet contract and nymd validator url

* validator-api: add missing shortform for --config-env-file (#1830)

* gateway-client: handle shutdown listener (#1829)

* WIP

* WIP: try another approach

* WIP

* Reworked

* Tidy

* fix

* validator-api: remove storage dependency in contract cache (#1685)

* validator-api: remove storage dependency in contract cache

* validator-client: update detailed routes

* contract_cache: forward to new endpoints for compat

* Move reward_estimate

* client: add --no-cover and update --fastmode (#1831)

* adding a oversaturaded bonding more modal

* common/task: extract out spawn_with_report_error (#1837)

* stop panic on failed buffer request

* Compilable wasm client

* Enabled hard error on lack of gateway-client protocol version

* Missing generic parameter for ClientCoreError in BackendError

* Removed unused imports

* Additional wasm feature locking

Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com>
Co-authored-by: Fran Arbanas <arbanasfran@gmail.com>
Co-authored-by: cgi-bin/ <6095048+sven-hash@users.noreply.github.com>
Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com>
Co-authored-by: Bogdan-Ștefan Neacşu <bogdan@nymtech.net>
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
Co-authored-by: Raphaël Walther <raphael@nymtech.net>
Co-authored-by: Fouad <fmtabbara@hotmail.co.uk>
Co-authored-by: Gala <calero.vg@gmail.com>
Co-authored-by: Dave Hrycyszyn <futurechimp@users.noreply.github.com>
2022-12-05 18:27:44 +00:00

5.6 KiB

Unreleased

Added

  • Added migration code to the mixnet contract to allow updating stored vesting contract address to make it easier to deploy any future environments (#1759,#1769)
  • Added an option to pledge additional tokens without the need to rebond minxode (#1679)

nym-contracts-v1.1.0 (2022-11-09)

Changed

  • mixnet-contract: rework of rewarding (#1472), which includes, but is not limited to:

    • internal reward accounting was modified to be similar to the ideas presented in Cosmos' F1 paper, which results in throughput gains and no storage or gas cost bloat over time,
    • introduced internal queues for pending epoch and interval events that only get resolved once relevant epoch/interval rolls over
    • the contract no longer stores any historical information regarding past epochs/parameters/stake state for the purposes of rewarding
    • a lot of queries got renamed to keep naming more consistent,
    • introduced new utility-based queries such as a query for reward estimation for the current epoch,
    • mixnodes are now identified by a monotonously increasing mix_id
    • bonding now results in getting fresh mix_id and thus if given node decides to unbond and rebond, it will lose all its delegations,
    • mixnode operators are now allowed to set their operating costs as opposed to having fixed value of 40nym/interval
    • rewarding parameters are now correctly updated at an interval end
    • rewarding parameters now include a staking supply scale factor attribute (beta in the tokenomics paper)
    • node performance can now be more granular with internal Decimal representation as opposed to an u8
    • node profit margin can now be more granular with internal Decimal representation as opposed to an u8
    • mixnode operators are now allowed to change their configuration options, such as port information, without having to unbond
    • mixnode unbonding is no longer instantaneous, instead it happens once an epoch rolls over
    • it is now possible to query for operator and node history to see how often (and with what parameters) they rebonded
    • other minor bugfixes and changes
    • ...
    • new exciting bugs to find and squash
  • vesting-contract: optional locked token pledge cap per account (#1687), defaults to 10%

  • vesting-contract: updated internal delegation storage due to mixnet contract revamp (#1472)

Added

  • vesting-contract: added query for obtaining contract build information (#1726)

nym-contracts-v1.0.2 (2022-09-13)

Added

  • vesting-contract: added queries for delegation timestamps and paged query for all vesting delegations in the contract (#1569)

Changed

  • mixnet-contract: compounding delegator rewards now happens instantaneously as opposed to having to wait for the current epoch to finish (#1571)

Fixed

  • vesting-contract: the contract now correctly stores delegations with their timestamp as opposed to using block height (#1544)
  • mixnet-contract: compounding delegator rewards is now possible even if the associated mixnode had already unbonded (#1571)
  • mixnet-contract: fixed reward accumulation after claiming rewards (#1613)

nym-contracts-v1.0.1 (2022-06-22)

Added

  • mixnet-contract: Added ClaimOperatorReward and ClaimDelegatorReward messages (#1292)
  • mixnet-contract: Replace all naked - with saturating_sub.
  • mixnet-contract: Added staking_supply field to ContractStateParams.
  • mixnet-contract: Added a query to get MixnodeBond by identity key (#1369).
  • mixnet-contract: Added a query to get GatewayBond by identity key (#1369).
  • vesting-contract: Added ClaimOperatorReward and ClaimDelegatorReward messages (#1292)
  • vesting-contract: Added limit to the amount of tokens one can pledge (#1331)

Fixed

  • mixnet-contract: estimated_delegator_reward calculation (#1284)
  • mixnet-contract: delegator and operator rewards use lambda and sigma instead of lambda_ticked and sigma_ticked (#1284)
  • mixnet-contract: removed expect in query_delegator_reward and queries containing invalid proxy address should now return a more human-readable error (#1257)
  • mixnet-contract: replaced integer division with fixed for performance calculations (#1284)
  • mixnet-contract: Under certain circumstances nodes could not be unbonded (#1255) (#1258)
  • mixnet-contract: Using correct staking supply when distributing rewards. (#1373)
  • vesting-contract: replaced checked_sub with saturating_sub to fix the underflow in get_vesting_tokens (#1275)