Jędrzej Stuczyński
48e18684a2
Merge pull request #4821 from nymtech/bugfix/bonding-signature
...
using legacy signing payload in CLI and verifying both variants in contract
2024-09-03 16:36:09 +01:00
Jędrzej Stuczyński
e76c8e06be
updated contract schema
2024-09-03 16:35:42 +01:00
Jędrzej Stuczyński
858b6c6094
restored (and deprecated) 'owner' field in ContractState
2024-09-03 14:31:11 +01:00
Bogdan-Ștefan Neacşu
7b4dc78f41
Remove wireguard feature flag and pass runtime enabled flag ( #4839 )
...
* Remove wireguard feature flag
* Use wg enabled runtime flag
* Fix unintended flag removal
2024-09-03 15:25:05 +02:00
Bogdan-Ștefan Neacşu
bb7a8e84e4
Eliminate cancel unsafe sig awaiting ( #4834 )
...
* Eliminate cancel unsafe sig awaiting
* Fix wasm build
* Simplify spawn call
* Fix wasm lint
2024-09-03 15:24:49 +02:00
Mark Sinclair
17bdb583b5
Add get_mixnodes_described to validator_client ( #4725 )
...
* Add get_mixnodes_described to validator_client
* Add methods to client to get blacklisted mixnodes and gateways
---------
Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com >
2024-09-03 12:34:31 +02:00
import this
3300942529
Update node_api_check.py & Documentation ( #4835 )
...
* update API endpoints and node API check CLI
* cleanup of commented code
* update node_api_check guide
2024-09-03 09:23:30 +00:00
dependabot[bot]
4be5af0c40
build(deps): bump technote-space/workflow-conclusion-action from 2 to 3 ( #4836 )
...
Bumps [technote-space/workflow-conclusion-action](https://github.com/technote-space/workflow-conclusion-action ) from 2 to 3.
- [Release notes](https://github.com/technote-space/workflow-conclusion-action/releases )
- [Changelog](https://github.com/technote-space/workflow-conclusion-action/blob/main/.releasegarc )
- [Commits](https://github.com/technote-space/workflow-conclusion-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: technote-space/workflow-conclusion-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 09:55:23 +02:00
Jędrzej Stuczyński
fa42cf8939
Merge pull request #4763 from shenpengfeng/develop
...
chore: remove repetitive words
2024-09-02 16:57:30 +01:00
Jon Häggblad
d0b380cd99
Remove serde_crate named import ( #4832 )
...
* Run cargo autoinherit following last weeks dependabot updates
* Remove serde_crate named import
2024-09-02 15:51:56 +02:00
Jon Häggblad
51d1803ddd
Run cargo autoinherit following last weeks dependabot updates ( #4831 )
2024-09-02 15:24:52 +02:00
dependabot[bot]
3d8520dfc7
build(deps): bump actions/upload-artifact from 2 to 4 ( #4817 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 14:37:10 +02:00
dependabot[bot]
bf8d54b201
build(deps): bump softprops/action-gh-release from 1 to 2 ( #4818 )
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 14:36:44 +02:00
dependabot[bot]
58c9a58a38
build(deps): bump actions/setup-node from 3 to 4 ( #4816 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 14:28:36 +02:00
dependabot[bot]
abc6d61d84
build(deps): bump actions/deploy-pages from 2 to 4 ( #4814 )
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 2 to 4.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 14:27:01 +02:00
dependabot[bot]
d094bb60c6
build(deps): bump actions/setup-java from 3 to 4 ( #4815 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 14:25:42 +02:00
Bogdan-Ștefan Neacşu
bdf45cafb5
Expose wireguard details on self described endpoint ( #4825 )
...
* Expose wireguard details on self described endpoint
* Fill placeholder string
2024-09-02 11:51:48 +02:00
Jędrzej Stuczyński
a7910c1049
Merge pull request #4807 from nymtech/dependabot/cargo/bs58-0.5.1
...
build(deps): bump bs58 from 0.4.0 to 0.5.1
2024-08-29 22:32:49 +01:00
dependabot[bot]
6b93309482
build(deps): bump bs58 from 0.4.0 to 0.5.1
...
Bumps [bs58](https://github.com/Nullus157/bs58-rs ) from 0.4.0 to 0.5.1.
- [Changelog](https://github.com/Nullus157/bs58-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/bs58-rs/compare/0.4.0...0.5.1 )
---
updated-dependencies:
- dependency-name: bs58
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 16:17:17 +00:00
Jędrzej Stuczyński
9a209c4f3d
Merge pull request #4806 from nymtech/dependabot/cargo/rand-0.8.5
...
build(deps): bump rand from 0.6.5 to 0.8.5
2024-08-29 17:17:00 +01:00
dependabot[bot]
4d212f73fc
build(deps): bump rand from 0.6.5 to 0.8.5
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.6.5 to 0.8.5.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.6.5...0.8.5 )
---
updated-dependencies:
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-29 16:16:07 +00:00
Jędrzej Stuczyński
d7a7b643ef
Merge pull request #4808 from nymtech/dependabot/cargo/base64-0.22.1
...
build(deps): bump base64 from 0.13.1 to 0.22.1
2024-08-29 17:14:04 +01:00
Jędrzej Stuczyński
c486a87824
Merge pull request #4811 from nymtech/dependabot/cargo/android_logger-0.14.1
...
build(deps): bump android_logger from 0.13.3 to 0.14.1
2024-08-29 17:11:55 +01:00
Dinko Zdravac
a0fea6edb4
Add axum server to nym-api ( #4803 )
...
* Migrate nym-api HTTP server from rocket to axum (#4698 )
Migrate endpoints to Axum
* Squashed after PR review
Initial WIP
- bootstrap axum server with same data as rocket
- start axum server alongside rocket
- add routes for circulating-supply, contract-cache, network
- write simple bash validation that migrated APIs return 200
- mark rocket parts of code as deprecated
- start more complicated routes: WIP
Init storage always
Add coconut routes
Add api-status routes
Expand tests
WIP
Migrate unstable APIs with query params
Update bash tests
Add node-status routes
Redirect / to /swagger
Update API tests
Implement graceful shutdown
rustfmt
Fix clippy
* Add ecash routes after rebase
* PR feedback
- add CORS layer
- move logger to common crate
- remove global log filters for nym-api and axum
* Serve OpenAPI for all endpoints (#4761 )
* Playing around with swagger
* Generate OpenAPI for /status routes
* Phase out static_routes as strings
- also nest routers in a clearer way
* Generate OpenAPI for /network routes
* Generate OpenAPI for /api-status routes
* Generate OpenAPI for "nym nodes" routes
* Fix some network-monitor routes
* Generate OpenAPI for /ecash routes
* Add utoipa feature to /common mods
* Add OpenAPI for unstable routes
* Fix MixNodeDetails field in models
* Introduce axum feature flag (#4775 )
* Add Axum bind_address to config
* Introduce axum feature flag
* Add comment to template.rs
* Add Github action to build wtih `axum` feature
* Refactor server start & shutdown (#4777 )
* Clippy: don't forget axum feature
* Refactor router so it's safer
* Implement graceful shutdown
* Nicer pattern matching
* Better Result syntax
2024-08-29 15:31:01 +02:00
dependabot[bot]
afc1b90b57
build(deps): bump ipnetwork from 0.16.0 to 0.20.0 ( #4812 )
...
Bumps [ipnetwork](https://github.com/achanda/ipnetwork ) from 0.16.0 to 0.20.0.
- [Release notes](https://github.com/achanda/ipnetwork/releases )
- [Commits](https://github.com/achanda/ipnetwork/compare/v0.16.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: ipnetwork
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>
2024-08-29 13:44:50 +02:00
dynco-nym
33b85a3ca1
Fix additional one
2024-08-29 08:47:16 +02:00
benedetta davico
a3183ab313
Merge pull request #4819 from nymtech/add-ecash-contract
...
adding ecash contract address
2024-08-29 07:26:46 +02:00
dynco-nym
3635cbdc8d
Replace deprecated code
2024-08-29 01:22:51 +02:00
Bogdan-Ștefan Neacşu
ff0ad976c6
Remove unused wireguard flag from SDK ( #4823 )
...
* Remove unused wireguard flag from SDK
* Remove from wasm and socks5 too
2024-08-28 19:47:51 +02:00
benedettadavico
74cd73a58f
fmt
2024-08-28 17:35:37 +02:00
benedetta davico
dd89026065
Merge pull request #4802 from nymtech/fix/nym-cli-params
...
Check profit margin of node before defaulting to hardcoded value
2024-08-28 17:34:56 +02:00
Jędrzej Stuczyński
07c80e5150
naming consistency
2024-08-28 16:32:02 +01:00
Jędrzej Stuczyński
c17f0ac3f8
added explicit updateable admin to the mixnet contract
2024-08-28 16:30:30 +01:00
Jędrzej Stuczyński
7ae56b08b3
using legacy signing payload in CLI and verifying both variants in contract
2024-08-28 15:19:55 +01:00
import this
ae7206e0c2
[DOCs/dev-portal]: Update NymVPN & socks5 cli docs
2024-08-28 13:10:36 +00:00
benedettadavico
73fc2d6bb2
remove unused import
2024-08-28 11:43:16 +02:00
benedettadavico
a5289cd431
update test env with ecash too
2024-08-28 11:39:49 +02:00
benedettadavico
ec0e1b67a0
adding ecash contract address
2024-08-28 11:28:17 +02:00
benedettadavico
eafbed6c9f
wording
2024-08-28 11:21:11 +02:00
dependabot[bot]
37d9f91922
build(deps): bump the patch-updates group with 4 updates ( #4804 )
...
Bumps the patch-updates group with 4 updates: [clap_complete](https://github.com/clap-rs/clap ), [js-sys](https://github.com/rustwasm/wasm-bindgen ), [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) and [web-sys](https://github.com/rustwasm/wasm-bindgen ).
Updates `clap_complete` from 4.5.23 to 4.5.24
- [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.23...clap_complete-v4.5.24 )
Updates `js-sys` from 0.3.69 to 0.3.70
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
Updates `wasm-bindgen-futures` from 0.4.42 to 0.4.43
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
Updates `web-sys` from 0.3.69 to 0.3.70
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: js-sys
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen-futures
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: web-sys
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>
2024-08-27 17:45:24 +02:00
dependabot[bot]
5f21f8334b
build(deps): bump android_logger from 0.13.3 to 0.14.1
...
Bumps [android_logger](https://github.com/rust-mobile/android_logger-rs ) from 0.13.3 to 0.14.1.
- [Release notes](https://github.com/rust-mobile/android_logger-rs/releases )
- [Changelog](https://github.com/rust-mobile/android_logger-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-mobile/android_logger-rs/commits/0.14.1 )
---
updated-dependencies:
- dependency-name: android_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-27 15:32:46 +00:00
dependabot[bot]
9378100957
build(deps): bump base64 from 0.13.1 to 0.22.1
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.13.1 to 0.22.1.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.1...v0.22.1 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-27 15:30:24 +00:00
benedettadavico
4635db73f1
update code and fmt again
2024-08-27 16:20:44 +02:00
benedettadavico
9a43d1079a
cargo fmt
2024-08-27 15:15:45 +02:00
Jon Häggblad
279de8a09b
Run cargo-autoinherit for a few new crates ( #4801 )
...
* Run cargo-autoinherit for a few new crates
* Sort crates list
* sort
2024-08-27 14:06:17 +01:00
benedettadavico
3238722ade
WIP
2024-08-27 14:55:47 +02:00
dependabot[bot]
b6c15deae6
build(deps): bump sysinfo from 0.27.8 to 0.30.12 ( #4795 )
...
* build(deps): bump sysinfo from 0.27.8 to 0.30.12
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.27.8 to 0.30.12.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Migrade to latest sysinfo in mixnode legacy hardware
* Use workspace version
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com >
2024-08-27 14:44:56 +02:00
dependabot[bot]
8c250adcfd
build(deps): bump bytes from 1.6.0 to 1.7.1 ( #4794 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: bytes
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>
2024-08-27 14:12:44 +02:00
dependabot[bot]
72306f1215
build(deps): bump actions/download-artifact from 3 to 4 ( #4786 )
...
* build(deps): bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Also upgrade corresponding upload-artifact actions
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com >
2024-08-27 13:50:37 +02:00
dependabot[bot]
dd695129dd
build(deps): bump actions/setup-go from 4 to 5 ( #4799 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 13:38:38 +02:00