Jon Häggblad
086611c7ac
Use serde from workspace ( #4833 )
...
* cargo autoinherit for serde
* cargo autoinherit for bs58 and vergen in cosmwasm-smart-contracts
2024-09-16 11:16:21 +02:00
Jędrzej Stuczyński
e8e86c273e
Merge branch 'release/2024.10-caramello' into feature/2024.10-caramello-merge
2024-09-11 12:43:39 +01:00
dependabot[bot]
c08e7d2b11
build(deps): bump the patch-updates group with 22 updates ( #4846 )
...
Bumps the patch-updates group with 22 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.83` | `1.0.87` |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.81` | `0.1.82` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.16` | `4.5.17` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.2` | `4.5.26` |
| [clap_complete_fig](https://github.com/clap-rs/clap ) | `4.5.0` | `4.5.2` |
| [const_format](https://github.com/rodrimati1992/const_format_crates ) | `0.2.32` | `0.2.33` |
| [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) | `4.1.2` | `4.1.3` |
| [log](https://github.com/rust-lang/log ) | `0.4.21` | `0.4.22` |
| [parking_lot](https://github.com/Amanieu/parking_lot ) | `0.12.2` | `0.12.3` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
| [schemars](https://github.com/GREsau/schemars ) | `0.8.19` | `0.8.21` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.127` | `1.0.128` |
| [tar](https://github.com/alexcrichton/tar-rs ) | `0.4.40` | `0.4.41` |
| [tokio-stream](https://github.com/tokio-rs/tokio ) | `0.1.15` | `0.1.16` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.11` | `0.7.12` |
| [url](https://github.com/servo/rust-url ) | `2.5.0` | `2.5.2` |
| [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen ) | `0.3.42` | `0.3.43` |
| [http-body-util](https://github.com/hyperium/http-body ) | `0.1.1` | `0.1.2` |
| [hyper-util](https://github.com/hyperium/hyper-util ) | `0.1.3` | `0.1.5` |
| [tokio-tun](https://github.com/yaa110/tokio-tun ) | `0.11.4` | `0.11.5` |
Updates `anyhow` from 1.0.83 to 1.0.87
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.83...1.0.87 )
Updates `async-trait` from 0.1.81 to 0.1.82
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.81...0.1.82 )
Updates `clap` from 4.5.16 to 4.5.17
- [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.16...clap_complete-v4.5.17 )
Updates `clap_complete` from 4.5.2 to 4.5.26
- [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.2...clap_complete-v4.5.26 )
Updates `clap_complete_fig` from 4.5.0 to 4.5.2
- [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_fig-v4.5.0...clap_complete_fig-v4.5.2 )
Updates `const_format` from 0.2.32 to 0.2.33
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases )
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md )
- [Commits](https://github.com/rodrimati1992/const_format_crates/commits )
Updates `curve25519-dalek` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3 )
Updates `log` from 0.4.21 to 0.4.22
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22 )
Updates `parking_lot` from 0.12.2 to 0.12.3
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.2...0.12.3 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
Updates `schemars` from 0.8.19 to 0.8.21
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.19...v0.8.21 )
Updates `serde` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
Updates `serde_derive` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
Updates `serde_json` from 1.0.127 to 1.0.128
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128 )
Updates `tar` from 0.4.40 to 0.4.41
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.40...0.4.41 )
Updates `tokio-stream` from 0.1.15 to 0.1.16
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.15...tokio-stream-0.1.16 )
Updates `tokio-util` from 0.7.11 to 0.7.12
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.11...tokio-util-0.7.12 )
Updates `url` from 2.5.0 to 2.5.2
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.5.0...v2.5.2 )
Updates `wasm-bindgen-test` from 0.3.42 to 0.3.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 `http-body-util` from 0.1.1 to 0.1.2
- [Release notes](https://github.com/hyperium/http-body/releases )
- [Commits](https://github.com/hyperium/http-body/compare/http-body-util-v0.1.1...http-body-util-v0.1.2 )
Updates `hyper-util` from 0.1.3 to 0.1.5
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.3...v0.1.5 )
Updates `tokio-tun` from 0.11.4 to 0.11.5
- [Commits](https://github.com/yaa110/tokio-tun/compare/0.11.4...0.11.5 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete_fig
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: const_format
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: curve25519-dalek
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: parking_lot
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_derive
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tar
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen-test
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: http-body-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: hyper-util
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio-tun
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-09-11 10:22:42 +02:00
Jędrzej Stuczyński
f3fcef60c3
Merge pull request #4822 from nymtech/feature/mixnet-contract-update-admin
...
added explicit updateable admin to the mixnet contract
2024-09-04 10:22:39 +01:00
Jędrzej Stuczyński
ed7a84a1ce
made 'owner' field optional to prepare for its future removal
2024-09-04 09:55:23 +01:00
Jędrzej Stuczyński
858b6c6094
restored (and deprecated) 'owner' field in ContractState
2024-09-03 14:31:11 +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
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
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
dependabot[bot]
c521ee6702
build(deps): bump the patch-updates group with 23 updates ( #4791 )
...
Bumps the patch-updates group with 23 updates:
| Package | From | To |
| --- | --- | --- |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.80` | `0.1.81` |
| [blake3](https://github.com/BLAKE3-team/BLAKE3 ) | `1.5.1` | `1.5.4` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.7` | `4.5.16` |
| [clap_complete](https://github.com/clap-rs/clap ) | `4.5.5` | `4.5.23` |
| [clap_complete_fig](https://github.com/clap-rs/clap ) | `4.5.1` | `4.5.2` |
| [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ) | `4.1.2` | `4.1.3` |
| [fastrand](https://github.com/smol-rs/fastrand ) | `2.1.0` | `2.1.1` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.0.30` | `1.0.33` |
| [log](https://github.com/rust-lang/log ) | `0.4.21` | `0.4.22` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.36` | `1.0.37` |
| [regex](https://github.com/rust-lang/regex ) | `1.10.5` | `1.10.6` |
| [safer-ffi](https://github.com/getditto/safer_ffi ) | `0.1.8` | `0.1.12` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.203` | `1.0.209` |
| [serde_bytes](https://github.com/serde-rs/bytes ) | `0.11.14` | `0.11.15` |
| [serde_derive](https://github.com/serde-rs/serde ) | `1.0.203` | `1.0.209` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.117` | `1.0.127` |
| [si-scale](https://github.com/graelo/si-scale ) | `0.2.2` | `0.2.3` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.61` | `1.0.63` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.39.2` | `1.39.3` |
| [url](https://github.com/servo/rust-url ) | `2.5.1` | `2.5.2` |
| [bip32](https://github.com/iqlusioninc/crates ) | `0.5.1` | `0.5.2` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) | `0.2.92` | `0.2.93` |
| [hyper-util](https://github.com/hyperium/hyper-util ) | `0.1.5` | `0.1.7` |
Updates `async-trait` from 0.1.80 to 0.1.81
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.80...0.1.81 )
Updates `blake3` from 1.5.1 to 1.5.4
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.5.1...1.5.4 )
Updates `clap` from 4.5.7 to 4.5.16
- [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.7...clap_complete-v4.5.16 )
Updates `clap_complete` from 4.5.5 to 4.5.23
- [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.5...clap_complete-v4.5.23 )
Updates `clap_complete_fig` from 4.5.1 to 4.5.2
- [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_fig-v4.5.1...clap_complete_fig-v4.5.2 )
Updates `curve25519-dalek` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3 )
Updates `fastrand` from 2.1.0 to 2.1.1
- [Release notes](https://github.com/smol-rs/fastrand/releases )
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/fastrand/compare/v2.1.0...v2.1.1 )
Updates `flate2` from 1.0.30 to 1.0.33
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.30...1.0.33 )
Updates `log` from 0.4.21 to 0.4.22
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22 )
Updates `quote` from 1.0.36 to 1.0.37
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.36...1.0.37 )
Updates `regex` from 1.10.5 to 1.10.6
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6 )
Updates `safer-ffi` from 0.1.8 to 0.1.12
- [Release notes](https://github.com/getditto/safer_ffi/releases )
- [Commits](https://github.com/getditto/safer_ffi/compare/v0.1.8...v0.1.12 )
Updates `serde` from 1.0.203 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.209 )
Updates `serde_bytes` from 0.11.14 to 0.11.15
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.14...0.11.15 )
Updates `serde_derive` from 1.0.203 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.209 )
Updates `serde_json` from 1.0.117 to 1.0.127
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...1.0.127 )
Updates `si-scale` from 0.2.2 to 0.2.3
- [Release notes](https://github.com/graelo/si-scale/releases )
- [Changelog](https://github.com/graelo/si-scale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/graelo/si-scale/compare/0.2.2...v0.2.3 )
Updates `thiserror` from 1.0.61 to 1.0.63
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.63 )
Updates `tokio` from 1.39.2 to 1.39.3
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3 )
Updates `url` from 2.5.1 to 2.5.2
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.5.1...v2.5.2 )
Updates `bip32` from 0.5.1 to 0.5.2
- [Commits](https://github.com/iqlusioninc/crates/compare/bip32/v0.5.1...secrecy/v0.5.2 )
Updates `wasm-bindgen` from 0.2.92 to 0.2.93
- [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/compare/0.2.92...0.2.93 )
Updates `hyper-util` from 0.1.5 to 0.1.7
- [Release notes](https://github.com/hyperium/hyper-util/releases )
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.5...v0.1.7 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: clap_complete_fig
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: curve25519-dalek
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: fastrand
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: safer-ffi
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_bytes
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_derive
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: si-scale
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: bip32
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch-updates
- dependency-name: hyper-util
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 12:45:26 +02:00
Jędrzej Stuczyński
3cb69780a6
removed 95/5 reward split in favour of the holding account
2024-07-30 11:31:49 +01:00
Jędrzej Stuczyński
f4fafbfea5
updated ecash-contract parameters and generated schema
2024-07-30 11:31:47 +01:00
Jędrzej Stuczyński
b52bf951a6
improve client errors
2024-07-30 11:27:25 +01:00
Simon Wicky
fc2eedfc66
Another Grand Ecash Squasheroo
...
add offline ecash library
minor changes in coconut benchmarks
add ecash smart contract
change contract traits from coconut to ecash
first wave of andrew's suggestion
first wave of andrew's suggestion
second wave of andrew's suggestion for ecash lib
andrew's suggestion for ecash contract
licensing commit
safety comments for most unwraps
more unwrap handling
change chrono crate for time
latest cargo lock
error revamp
small visibility fix
small fix
remove indexedmap from contract + some tweaks
add cw2 version in ecash contract
remove envryption key from contract
change types from coconut to ecash types
adapt api model for credential issuance
adapt issued credential storage on API
add signatures cache on API
change API routes for new blind signing
modify issued_credential table
add issuance logic client-side
credential and signature storage client side
utils for credential issuance
first wave of fix
some of andrew's suggestions
remove encryption key from deposit
freepass issuance client side
freepass issuance API side
andrew's suggested fixes
other suggested fix
adapt change from PR below
allow offline verification flag
credential spending models
credential spending models for client
credential preperation for the client
credential preperation for the client
credential storage for spending on client
bloom filter for API
spent credential storage on validators
API route for spending online and offline ecash
API routes in the client lib
credential storage on gateway
ecash verifier to replace coconut verifier
accept credentials on gateway
bandwidth expiration for gateways
client ask for more bandwidth if it runs out
credential import
adapt nym validator rewarder and sdk
fix tests api tests and add constants
cargo fmt and lock and small test fix
cargo fmt and lock and small test fix
cargo lock
move stuff where they belong in ecash and static parameters
move some constants, error handling and phase out time crate
error revamp part 2
secret key by ref instead of clone
change l in wallet and v visibility
rework payinfo
rework monster tuples
fix expiration date signature cloning
minor fixes
final bits and bobs fixes
final bits and bobs fixes
rename l accessor to tickets_spent
wave of fixes
second wave of fixes
change hash domain value
removed benchmark flag
remove useless stringification in storage
nuke Bandwidth voucher
change timestamps to offsetdatetime
key name change
post-rebase fixes
update nym-connect 'time' dep due to broken semver
upload ecash contract to the build server
make wasm zknym-lib compile
but it won't work properly just yet
make wasm zknym-lib compile
but it won't work properly just yet
fix typo in ecash contract deps
make sure to use 0.1.0 sphinx packet
optimise pairings in 'check_vk_pairing'
derive serde for ecash types
simplified g1 tuple byte conversion
further optimise the pairing
unified signature type + renamed nym-api coconut module to ecash
using bincode serialiser for more complex binary types
using multimiller loop instead of rayon for verifying coin indices signatures
batching signature verification wherever possible
feature-locked rayon
clippy
refactor ecash contract a bit + introduce deposit storage
reworked find_proposal_id
various minor fixed
add offline_zk_nyms to nym-node everywhere
add missing #query
change test value to fit new serialization
optimised deposits storage
removed duplicate decompression code
using deposit_id instead of transaction hash
removed freepasses
split up ecash handling
unified shared state
fixed deposit_id parsing
log recovered deposit id
removed online verification
add detailed build info to ecash contract
fixed deserialisation of deposit amount received from nyxd queries
changed deposit to only persist attached pubkey
first iteration of split of verification and redemption
basic tool for setting up new network
expanded the tool with the option to bypass DKG
rename + init network without DKG
setting up locally running apis
ecash key migration
more local functionalities
wip fixing sql schemas
gateway immediately submitting redemption proposal
and getting it passed if valid
most of the gateway logic for split redemption with error recovery
fixed gateway not persisting ecash signers
simplify creation of compatible client
create properly serialised ecash key from the beginning
rebuild missing tickets and proposals on startup
stop ticket issuance during DKG transition
fixing build issues
split out ecash storage on nym-api side
master-verification-key route
caching all the signatures and keys
implemented aggregated routes for nym-apis
swagger UI for ecash endpoints
added explicit annotation for index and expiration signatures
revamped client ticketbook storage
save all recovery information in the same underlying storage
wrapper for bloomfilter
being more aggressive with marking tickets as used
ensure client has correct signatures before making deposit
fix deserialisation of AggregatedExpirationDateSignatureResponse + add ticketbook table
split nym-api ecash routes handlers into multiple files
fixed deserialisation of encoded expiration date
add tt_gamma1 to challenge and change naming for paper consistency
rotating double spending bloomfilter
nym-api test fixes + make sure to insert initial BF params
fixed ecash benchmark code
updated contract schema
updated CI to not upload gateway/mixnode binaries
ticket bandwidth revocation
added default deserialisation for zk nym config
post-rebase fixes
2024-07-30 11:27:21 +01:00
Jędrzej Stuczyński
9d0fd681d4
introducing allowed range of operator interval operating cost
2024-07-26 15:05:47 +01:00
Jędrzej Stuczyński
c2ab47a102
profit margin range validation
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
8704c21621
normalise node's profit margin during rewarding
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
03ffb25bf9
introduced the concept of allowed profit margin ranges
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
9179f1c351
exposed migration commands to nym-cli + clippy
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
c4f7a1e09d
implemented migration into non-vesting mixnodes/delegations
2024-07-26 15:05:46 +01:00
Jędrzej Stuczyński
9767f72b8f
removed all on_behalf mixnet contract methods
2024-07-26 15:05:46 +01:00
Jon Häggblad
4aa8cb4647
Move dalek and rand_chacha crates to workspace
2024-06-27 10:52:15 +02:00
Jędrzej Stuczyński
c50c30ae76
standarised ContractBuildInformation and added it to all contracts
2024-06-11 12:22:15 +01:00
Jędrzej Stuczyński
3e87063ab4
Removed ephemera code
2024-06-11 11:17:26 +01:00
Jon Häggblad
3e93d2a250
Merge remote-tracking branch 'origin/develop' into jon/purge-name-service-and-sp-dir-contracts
2024-06-07 12:41:46 +02:00
Jon Häggblad
c91412f949
Restore exact same serde import for common contract crates
2024-05-20 13:45:18 +02:00
Jon Häggblad
9badeac832
cargo autoinherit in root workspace
2024-05-20 13:16:25 +02:00
Jon Häggblad
3cd9c6ad13
Remove nym-service-provider-directory-common
2024-05-20 09:27:40 +02:00
Jon Häggblad
1ae718c345
Purge nym-name-service-common
2024-05-20 09:13:17 +02:00
Jędrzej Stuczyński
b9524a0f58
Chore/additional helpers ( #4585 )
...
* exposed additional helpers
* changes lost in rebasing
2024-05-14 18:33:56 +02:00
Jędrzej Stuczyński
297cde513b
turns out 'make' doesn't run cargo fmt
2024-03-27 16:11:21 +00:00
Jędrzej Stuczyński
7e6feb0cd2
fixed beta clippy: lints + updated cosmwasm to 1.4
2024-03-27 16:04:51 +00:00
Jędrzej Stuczyński
e7d0c1812a
added import commands for client binaries
2024-02-19 11:43:15 +00:00
Jędrzej Stuczyński
6b6980c523
missing schema
2024-02-16 17:41:46 +00:00
Jędrzej Stuczyński
627334cfe2
added dkg contract query to check if state can be advanced
2024-02-16 17:16:39 +00:00
Jędrzej Stuczyński
a977310225
fixed existing dkg contract tests
2024-02-16 16:27:58 +00:00
Jędrzej Stuczyński
c663ba08f2
fixed dkg incorrectly setting state deadlines
2024-02-16 09:16:59 +00:00
Jędrzej Stuczyński
be3dd2c250
setting threshold value upon entering dealing exchange
2024-02-16 09:16:58 +00:00
Jędrzej Stuczyński
b960dc8aaf
removed 'SurpassedThreshold' message
2024-02-16 09:16:58 +00:00
Jędrzej Stuczyński
da70ae70a5
nym-api updates
2024-02-16 09:16:58 +00:00
Jędrzej Stuczyński
45686f7ca6
queries
2024-02-16 09:16:57 +00:00
Jędrzej Stuczyński
27554f52e3
revamped dealers storage structure (for txs)
2024-02-16 09:16:57 +00:00
Jędrzej Stuczyński
29edc8799a
dkg reset/resharing triggered by admin messages instead
2024-02-16 09:16:57 +00:00
Jędrzej Stuczyński
46875cdf2f
moved epoch advancement logic into separate file
2024-02-16 09:16:57 +00:00
Jędrzej Stuczyński
79a7860185
changed 'DealingChunkInfo' 'size' field from usize to u64 to remove floating point operations during deserialization
2024-02-07 11:55:48 +00:00
Jędrzej Stuczyński
ca18fb9f33
fixed clippy warnings on existing code
2024-02-07 11:55:48 +00:00
Jędrzej Stuczyński
c9290cbcc0
handle chunking on nym-api side
2024-02-07 11:55:47 +00:00
Jędrzej Stuczyński
c9f5594ca5
contract changes
2024-02-07 11:55:47 +00:00
Jędrzej Stuczyński
a7feeaa660
dealing metadata storage logic
2024-02-07 11:55:47 +00:00