Andrej Mihajlov
5f2aba19c2
Update to sqlx 0.8.6
2025-05-30 09:28:48 +02:00
Jack Wampler
814ee45b4d
HTTP Client Retries, Fallbacks, and Redirects ( #5789 )
...
updates to nym HTTP api client with multiple features relating to request domains
2025-05-29 10:37:07 -06:00
dynco-nym
56ed915626
Replace chrono with time in NS API ( #5811 )
...
* Replace chrono with time in NS API
* Replace chrono in client
* Bump package version
2025-05-29 16:33:00 +02:00
Jędrzej Stuczyński
2de8f8bc21
feature: nympool contract ( #5464 )
...
* squashed nym-pool commits
initialised nym-pool contract and updated all bls12_381 to make it possible
create scaffolding for tests
ability to control the contract admin
introducing contract grants
grant type validation
basic grant operations + stubs for other messages
added queries
use transaction stubs
added expiration information to grant queries
setting initial grant state based on the current environment
allowance logic for attempting to spend part of a grant
implemented all remaining transactions
made public api for coin locking perform validation
tests for locked tokens storage
nympool storage tests
added messages for changing granter set
tests and fixes for sufficient tokens when inserting grants
tests for initial state + more bugfixes
queries tests
additional tests for transactions and fixes
post rebase fixes
updated contract dependencies
removed redundant wasm constructor
dont ask me why this suddenly became an issue - no clue
removed redundant wasm constructor
dont ask me why this suddenly became an issue - no clue
* missing schema + added nym_pool to the main Makefile
2025-05-29 10:31:01 +01:00
import this
f04cb6f6a6
[DOCs/operators]: Release notes v2025.10-brie ( #5808 )
...
* finish release notes and operator updates
* add NSL update - ready for merge
* address review comment
2025-05-28 11:59:35 +00:00
dynco-nym
4c67f01efb
Make address cache configurable ( #5784 )
...
* Make address cache configurable
* TestFixture
2025-05-28 10:41:12 +02:00
Simon Wicky
b69c2e1e94
Nym Statistics API ( #5800 )
...
* move stats types from vpn-client to here
* base stats api
* change storage schema
* add link to nymAPI for whitelisting
* remove outdated comment
* more comments update
* example of chrono vs time
* Add build.rs
- exports DATABASE_URL so cargo check works
- exports SQLX_OFFLINE for CI
- added pg_up.sh which spawns PG container
- required for cargo sqlx prepare
* fixes time vs chrono issue and cleaner build with docker
* add correct swagger types, with feature locking where relevant
* apply dynco suggestions
---------
Co-authored-by: dynco-nym <173912580+dynco-nym@users.noreply.github.com >
2025-05-28 10:23:11 +02:00
benedetta davico
d27e3b49db
Merge pull request #5806 from nymtech/release/2025.10-brie
2025-05-28 09:38:36 +02:00
benedetta davico
ac12455f97
add comment
nym-node-status-api/nym-node-status-agent-1.0.0-rc.2-nym-vpn-core-v1.10.0
2025-05-27 16:35:51 +02:00
Jędrzej Stuczyński
0b92a59f1a
hack: temporarily use next.config.js instead of next.config.ts ( #5805 )
2025-05-27 11:41:51 +01:00
Jędrzej Stuczyński
474eff67fa
chore: adjusted wallet storybook mocks to fix the build ( #5804 )
2025-05-27 11:38:13 +01:00
benedetta davico
1c6db86259
Merge pull request #5803 from nymtech/benny/change-rust-version
...
change rust version to fix ci
nym-binaries-v2025.10-brie
2025-05-27 12:11:13 +02:00
Jędrzej Stuczyński
4a1ce8154a
chore: resolve 1.87 clippy warnings ( #5802 )
...
* Clippy in wallet & sdk
* Clippy in wallet
* Pin rust to 1.86 in builder
* apply changes from b7da75a18c
* missing nym-node features
* Box all the things
* additional boxes in the wallet
* post rebasing clippy
---------
Co-authored-by: dynco-nym <173912580+dynco-nym@users.noreply.github.com >
2025-05-27 11:08:36 +01:00
benedetta davico
e126c1f7f1
Update publish-nym-binaries.yml
2025-05-27 11:45:53 +02:00
benedetta davico
31772019cd
Update ci-contracts.yml
2025-05-27 11:44:01 +02:00
Bogdan-Ștefan Neacşu
aca98ab04f
Track wireguard credential retries ( #5783 )
...
* Add a cache for the credentials seen before on top-up
* Verify seen credentials on top ups
* Add warning log for timestamp subtraction
* Add unit test
2025-05-27 12:35:44 +03:00
Jędrzej Stuczyński
f925c6caf0
QoL: RequestPath trait for http-api-client ( #5788 )
...
* qol: RequestPath trait for http-api-client
* additional test case
* applied the change to other trait methods
2025-05-27 10:30:13 +01:00
benedettadavico
5369e5eab9
update changelog
2025-05-27 10:03:22 +02:00
Andrej Mihajlov
2e634c59a7
Merge pull request #5801 from nymtech/am/backport-pr-5779
2025-05-26 21:03:29 +02:00
jmwample
d7383d74f3
more relaxed usage of reqwest accept-encoding
2025-05-26 17:54:19 +02:00
Jon Häggblad
9a62581272
Update codeowners
2025-05-23 08:54:25 +02:00
Drazen Urch
ebb8e4ef19
Build and push nym-api action ( #5793 )
2025-05-22 19:12:29 +02:00
mfahampshire
a0057eb223
add notice re sdks ( #5792 )
...
* add notice re sdks
* fix borked notice
* fix another borked notice
2025-05-22 10:25:25 +00:00
import this
39195d79f5
[DOCs/operators]: Hotfix - Round decimalds to common convention ( #5791 )
2025-05-21 16:02:09 +00:00
import this
ede5ffaffc
[DOCs/operaotrs]: Automate Rewards calculator default state value ( #5790 )
2025-05-21 09:47:04 +00:00
Bogdan-Ștefan Neacşu
ed16505137
Fix contains ticketbook function that always returned true ( #5787 )
2025-05-20 17:18:06 +03:00
Simon Wicky
03bec90b83
swap a decode into a fromrow to please future postgres feature ( #5785 )
...
* swap a decode into a fromrow to please future postgres feature
* add missing feature and missing crate in log filter
2025-05-20 15:48:09 +02:00
import this
add57b2c14
[DOCs/operators]: Rewards calculator quick tweak ( #5786 )
2025-05-20 13:26:55 +00:00
dynco-nym
e98d60d7ce
Add node_bonded field to delegations ( #5759 )
...
* Add node_bonded field to delegations
- clarifies whether the delegation is to a bonded or unbonded node
- include delegations to unbonded nodes in the returned list
* PR feedback
2025-05-19 15:18:41 +02:00
import this
927ca8970c
[DOCs/operators]: Tokenomics cleanup ( #5782 )
...
* correcting APY to ROI
* cleanup and small edits
* add tooltip on ROI
nym-node-status-api/nym-node-status-api-2.3.1
2025-05-19 11:12:36 +00:00
Jack Wampler
47d222b13d
more relaxed usage of reqwest accept-encoding ( #5779 )
2025-05-16 13:03:24 -06:00
benedettadavico
f47650d6c8
bump binary versions
2025-05-16 13:03:37 +02:00
benedettadavico
3b2481e5a5
merge appenzeller to develop
2025-05-16 12:59:02 +02:00
import this
de47982585
[DOCs/operators]: Updated tokenomics, reward calculator & release notes v2025.9-appenzeller ( #5769 )
...
* correct expression about node stake
* typo fix
* sharpen overview
* detail rewards formula
* make calculator into standalone jsx component and import it
* finish pr for review
* fix alpha example with correct formula
* work in comments
2025-05-16 08:34:10 +00:00
Jon Häggblad
fafad41230
Skip refreshing the topology on startup as we already have an initial set ( #5768 )
2025-05-16 09:11:34 +02:00
Jon Häggblad
79df17710d
Teach HttpClientError how to report its status code and timeout ( #5770 )
2025-05-16 08:54:41 +02:00
benedetta davico
e039ea843c
Merge pull request #5743 from nymtech/tommy/remove-old-tests
...
Remove old test directory - Update validator docker
2025-05-16 08:34:55 +02:00
Jon Häggblad
e898f202b7
Fetch the topology from the nym-api concurrently ( #5767 )
...
* Fetch the topology from the nym-api concurrently
* Add path to get_json instrument
2025-05-15 15:00:41 +02:00
Jon Häggblad
ca75fec048
Update dependabot assignees ( #5762 )
2025-05-15 12:48:44 +02:00
Jon Häggblad
87aab4e31e
Instrument create_request ( #5760 )
...
In the vpn-api client we create requests directly, so let's instrument
them as well as the currently instrumented top-level function get_json
doesn't capture that.
2025-05-15 12:46:33 +02:00
Jędrzej Stuczyński
370a4a3a03
feat: use bincode by default in NymApiClient + remove feature-lock ( #5761 )
2025-05-14 17:33:10 +01:00
mfahampshire
9b6b2117dd
Max/general abstraction updates ( #5560 )
...
- new instance of echo server with lib / cli split
- echo server docs update
- tcpproxy and echosever now listen for kill signal
- ffi bindings of tcpproxy functions updated
2025-05-14 15:51:18 +00:00
Bogdan-Ștefan Neacşu
ea90d7b558
Decrease default average packet delay to 15 ms ( #5754 )
...
* Decrease default average packet delay to 15 ms
* Add upgrade for config value
* Fix ip packet router too
* Fix clippy
* Remove message_sending_average_delay from template too
2025-05-14 16:24:34 +03:00
dependabot[bot]
52e06a7eb4
build(deps): bump http-proxy-middleware from 2.0.8 to 2.0.9 ( #5730 )
...
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware ) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases )
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md )
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.8...v2.0.9 )
---
updated-dependencies:
- dependency-name: http-proxy-middleware
dependency-version: 2.0.9
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 16:25:49 +01:00
dependabot[bot]
e6250fa312
build(deps): bump base-x from 3.0.9 to 3.0.11 in /testnet-faucet ( #5737 )
...
Bumps [base-x](https://github.com/cryptocoinjs/base-x ) from 3.0.9 to 3.0.11.
- [Commits](https://github.com/cryptocoinjs/base-x/compare/v3.0.9...v3.0.11 )
---
updated-dependencies:
- dependency-name: base-x
dependency-version: 3.0.11
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 16:25:26 +01:00
dependabot[bot]
6d9e6a0f38
build(deps): bump ammonia from 4.0.0 to 4.1.0 ( #5739 )
...
Bumps [ammonia](https://github.com/rust-ammonia/ammonia ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/rust-ammonia/ammonia/releases )
- [Changelog](https://github.com/rust-ammonia/ammonia/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-ammonia/ammonia/compare/v4.0.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: ammonia
dependency-version: 4.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 16:25:09 +01:00
dependabot[bot]
c8331f4cad
build(deps): bump the patch-updates group across 1 directory with 12 updates ( #5753 )
...
Bumps the patch-updates group with 11 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [chrono](https://github.com/chronotope/chrono ) | `0.4.40` | `0.4.41` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.37` | `4.5.38` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.47` | `4.5.50` |
| [hickory-resolver](https://github.com/hickory-dns/hickory-dns ) | `0.25.1` | `0.25.2` |
| [sha2](https://github.com/RustCrypto/hashes ) | `0.10.8` | `0.10.9` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.14` | `0.7.15` |
| [toml](https://github.com/toml-rs/toml ) | `0.8.20` | `0.8.22` |
| [uniffi](https://github.com/mozilla/uniffi-rs ) | `0.29.1` | `0.29.2` |
| [tendermint](https://github.com/informalsystems/tendermint-rs ) | `0.40.3` | `0.40.4` |
| [tendermint-rpc](https://github.com/informalsystems/tendermint-rs ) | `0.40.3` | `0.40.4` |
| [indexed_db_futures](https://github.com/Alorel/rust-indexed-db ) | `0.6.1` | `0.6.4` |
Updates `chrono` from 0.4.40 to 0.4.41
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.40...v0.4.41 )
Updates `clap` from 4.5.37 to 4.5.38
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.37...clap_complete-v4.5.38 )
Updates `clap_complete` from 4.5.47 to 4.5.50
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.47...clap_complete-v4.5.50 )
Updates `hickory-resolver` from 0.25.1 to 0.25.2
- [Release notes](https://github.com/hickory-dns/hickory-dns/releases )
- [Changelog](https://github.com/hickory-dns/hickory-dns/blob/main/OLD-CHANGELOG.md )
- [Commits](https://github.com/hickory-dns/hickory-dns/compare/v0.25.1...v0.25.2 )
Updates `sha2` from 0.10.8 to 0.10.9
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.8...sha2-v0.10.9 )
Updates `tokio-util` from 0.7.14 to 0.7.15
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.14...tokio-util-0.7.15 )
Updates `toml` from 0.8.20 to 0.8.22
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.20...toml-v0.8.22 )
Updates `uniffi` from 0.29.1 to 0.29.2
- [Changelog](https://github.com/mozilla/uniffi-rs/blob/v0.29.2/CHANGELOG.md )
- [Commits](https://github.com/mozilla/uniffi-rs/compare/v0.29.1...v0.29.2 )
Updates `uniffi_build` from 0.29.1 to 0.29.2
- [Changelog](https://github.com/mozilla/uniffi-rs/blob/v0.29.2/CHANGELOG.md )
- [Commits](https://github.com/mozilla/uniffi-rs/compare/v0.29.1...v0.29.2 )
Updates `tendermint` from 0.40.3 to 0.40.4
- [Release notes](https://github.com/informalsystems/tendermint-rs/releases )
- [Changelog](https://github.com/cometbft/tendermint-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/informalsystems/tendermint-rs/compare/v0.40.3...v0.40.4 )
Updates `tendermint-rpc` from 0.40.3 to 0.40.4
- [Release notes](https://github.com/informalsystems/tendermint-rs/releases )
- [Changelog](https://github.com/cometbft/tendermint-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/informalsystems/tendermint-rs/compare/v0.40.3...v0.40.4 )
Updates `indexed_db_futures` from 0.6.1 to 0.6.4
- [Release notes](https://github.com/Alorel/rust-indexed-db/releases )
- [Commits](https://github.com/Alorel/rust-indexed-db/compare/v0.6.1...v0.6.4 )
---
updated-dependencies:
- dependency-name: chrono
dependency-version: 0.4.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap
dependency-version: 4.5.38
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete
dependency-version: 4.5.50
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: hickory-resolver
dependency-version: 0.25.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: sha2
dependency-version: 0.10.9
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-util
dependency-version: 0.7.15
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: toml
dependency-version: 0.8.22
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: uniffi
dependency-version: 0.29.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: uniffi_build
dependency-version: 0.29.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tendermint
dependency-version: 0.40.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tendermint-rpc
dependency-version: 0.40.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: indexed_db_futures
dependency-version: 0.6.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 16:24:53 +01:00
dependabot[bot]
d5a2fc7b3a
build(deps): bump mikefarah/yq from 4.45.1 to 4.45.4 ( #5758 )
...
Bumps [mikefarah/yq](https://github.com/mikefarah/yq ) from 4.45.1 to 4.45.4.
- [Release notes](https://github.com/mikefarah/yq/releases )
- [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt )
- [Commits](https://github.com/mikefarah/yq/compare/v4.45.1...v4.45.4 )
---
updated-dependencies:
- dependency-name: mikefarah/yq
dependency-version: 4.45.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 16:23:46 +01:00
Jędrzej Stuczyński
6559fadf7f
feat: expires header for /active nym-api responses ( #5755 )
...
* refactor FormattedResponse to allow attaching additional headers
* helper method for including expiration headers
* add expires header for /active nodes responses
* added additional 'with_expires_header_delta' builder to FormattedResponse to allow setting expiration header with time delta
2025-05-13 16:01:57 +01:00
Jon Häggblad
b68f02be6a
Upgrade prometheus crate to fix security warning ( #5747 )
...
Upgrade the `prometheus` crate to bump the version of the protobuf
crate, which is flagged by `cargo audit` as having a security issue
RUSTSEC-2024-0437.
VPN-3074
2025-05-13 14:11:13 +02:00