Mark Sinclair
a4d1d2c354
Change GitHub Actions if syntax
2022-02-02 16:44:43 +00:00
Mark Sinclair
0a59e21d97
Fix condition of GitHub Action for building the wallet
2022-02-02 16:39:14 +00:00
Mark Sinclair
911a3d0c04
Change trigger for GitHub Action to build and sign the wallet
2022-02-02 16:28:47 +00:00
Mark Sinclair
163d4ff5fb
Wallet signing on MacOS ( #1093 )
...
* Fix up tauri config to have correct Apple signing metadata
* Add GitHub Actions to create a release, build and sign the wallet (on MacOS) when pushing to a `nym-wallet-*` tag
* Review feedback
* [ci skip] Generate TS types
Co-authored-by: mmsinclair <mmsinclair@users.noreply.github.com >
2022-02-02 16:01:20 +00:00
Drazen Urch
2b84b5472b
Prevent contract overwriting ( #1090 )
2022-02-02 13:34:41 +01:00
Jon Häggblad
c4ad3b8f05
Setup basic test for mixnode stats reporting ( #1077 )
...
* mixnode: add basic test for node_statistics
* mixnode: rename to SharedNodeStats
* mixnode: add some comments
* mixnode: formatting
* mixnode: fix test
* mixnode: fix test
* mixnode: remove unreliable assert
* mixnode: switch from sleep to advance in test
* workspace: use resolver 2
* mixnode: formatting
2022-02-02 07:49:33 +01:00
Drazen Urch
fe33df723b
Tag contract errors, and print out lines for easier QA ( #1084 )
...
* Tag contract errors, and print out lines for easier QA
* Allow updating mixnet address by admin
* Add reply endpoint, and unbond callback
* Extract vesting messages
* Wrap up
2022-02-01 18:10:33 +01:00
mfahampshire
3a0e499199
added verification args for bandwidth generator with nymt
2022-02-01 17:39:05 +01:00
mfahampshire
ce23662270
added NYMT contract address kv pairs
2022-02-01 17:38:44 +01:00
Jon Häggblad
c6e41ca3f3
Update to rust edition 2021 everywhere ( #1086 )
...
* chore: update to rust edition 2021 everywhere
* validator-api: simplify into_iter call in rust 2021
2022-02-01 13:28:02 +01:00
Jędrzej Stuczyński
9f0971f8a9
Logout operation ( #1087 )
2022-01-31 13:05:48 +00:00
Drazen Urch
538616af54
Feature/flexible vesting + utility queries ( #1083 )
...
* Flexible vesting schedules
* Utility queries
* make vesting specification fields public
* Address review comments
Co-authored-by: Tommy Verrall <tommyvez@protonmail.com >
2022-01-28 14:07:07 +01:00
dependabot[bot]
6333042826
Bump @openzeppelin/contracts in /contracts/basic-bandwidth-generation ( #1082 )
...
Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts ) from 4.3.1 to 4.4.2.
- [Release notes](https://github.com/OpenZeppelin/openzeppelin-contracts/releases )
- [Changelog](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/OpenZeppelin/openzeppelin-contracts/compare/v4.3.1...v4.4.2 )
---
updated-dependencies:
- dependency-name: "@openzeppelin/contracts"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 10:31:26 +00:00
dependabot[bot]
b6d9ca2056
Bump nth-check in /clients/native/examples/js-examples/websocket ( #1081 )
...
Bumps [nth-check](https://github.com/fb55/nth-check ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases )
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: nth-check
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 10:31:10 +00:00
dependabot[bot]
844d612808
Bump url-parse in /clients/native/examples/js-examples/websocket ( #1080 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.4.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.4 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 10:31:02 +00:00
dependabot[bot]
9becf5457f
Bump follow-redirects in /clients/native/examples/js-examples/websocket ( #1079 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 10:30:55 +00:00
dependabot[bot]
3d07f1eeb9
Bump nanoid in /clients/native/examples/js-examples/websocket ( #1078 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 10:30:48 +00:00
Jon Häggblad
0747e12273
mixnode: make wallet_address mandatory for init ( #1076 )
2022-01-28 09:39:12 +01:00
Drazen Urch
5f4d56c1d8
Rework vesting contract storage ( #1061 )
...
* Rework storage
* Handle may_load failures
* Set ADMIN on init
* Use strings for storage keys
* Add GetAccount
* Move amount to msg
* Use iterators everywhere
* mock test properly
* Configure mixnet contract on init
* Updated Cargo.lock
2022-01-27 21:47:28 +01:00
Mx
390e58f603
Merge pull request #1022 from nymtech/feature/testnet-deploy-scripts
...
Feature/testnet deploy scripts
2022-01-27 16:42:04 +01:00
mfahampshire
6cf16d9c8f
fixed merge clash
2022-01-27 16:36:20 +01:00
Jon Häggblad
1368ab133e
Add trait to mock client dependency in DelayForwarder ( #1073 )
...
* client-libs/mixnode: add trait for client sending
* mixnode: instantiate and test DelayForwarder
* mixnode: remove commented out line
2022-01-27 15:34:32 +01:00
Jon Häggblad
ff1d92b576
Tidy nym-mixnode module visibility ( #1075 )
...
* mixnode: make command modules private
* mixnode: make some node modules private
* mixnode: make config structs private
* mixnode: restore accidentally moved function
2022-01-27 15:03:58 +01:00
Jon Häggblad
1703a0a6f5
mixnode: bump rust-version to latest stable ( #1072 )
2022-01-27 12:39:40 +01:00
Jon Häggblad
344eb92396
Add @octol as codeowner ( #1068 )
2022-01-26 11:40:04 +01:00
Jędrzej Stuczyński
8a77287eaa
Fixes CI for our wasm build ( #1069 )
...
* Feature-locked unused imports
* Reverted wasam-bindgen to 0.2.78 to temporarily bypass https://github.com/rustwasm/wasm-bindgen/issues/2774
* Reorganised imports
2022-01-26 09:11:35 +00:00
mfahampshire
9bfda6a254
prettified contract addresses json
2022-01-25 19:11:50 +01:00
mfahampshire
147be7afd9
increased logging, added localhost config to hardhat for gas approximation
2022-01-25 19:10:17 +01:00
mfahampshire
0a2ce7fa6d
added new builds
2022-01-25 18:22:44 +01:00
mfahampshire
72f24c2c9d
added new tests for killswitch
2022-01-25 18:22:36 +01:00
mfahampshire
f5b5d139ac
added killswitch for credential generation
2022-01-25 18:22:25 +01:00
Tommy Verrall
2da6fdc2e8
Merge pull request #1067 from nymtech/feature/wallet-inclusion-probability
...
set-up inclusion probability
2022-01-25 17:05:01 +00:00
Jędrzej Stuczyński
f7574924a8
Mixnet Contract constants extraction ( #1060 )
...
* Extracted constants that could realistically be controlled by governance to constants.rs
Also made interval control be more explicit in the contract
* Extracted active set work factor to a constant
* Required type changes in wallet code
* [ci skip] Generate TS types
* Missing change in test code
Co-authored-by: jstuczyn <jstuczyn@users.noreply.github.com >
2022-01-25 16:46:46 +00:00
fmtabbara
5d07115706
refinements and small bug fix
2022-01-25 13:58:15 +00:00
fmtabbara
9e994dfd55
set-up inclusion probability
2022-01-25 11:51:36 +00:00
Jon Häggblad
59bc7cb53d
Upgrade Clap and use declarative argument parsing for nym-mixnode ( #1047 )
...
* mixnode: upgrade clap and use declarative cli parsing
* mixnode: map argument to enum for sign
* mixnode: address review comments
2022-01-25 12:51:26 +01:00
Jędrzej Stuczyński
655ff9bffb
De-'float'-ing Interval (Display impl + serde) ( #1065 )
...
* Updated time to 0.3.6
* Changed Display impl for Interval so it doesnt use floats
* Explicit rfc3339 datetime serialization
* Typo
* Changed 'visit_borrwed_str' to 'visit_str'
2022-01-25 11:17:44 +00:00
Bogdan-Ștefan Neacşu
a03cb1ef9f
Feature/wasm client ( #1066 )
...
* Fix wasm client
* Re-enable CI on wasm client
There is an `unused-unit` lint that will fail for now, but this is
regarded as a false positive and should eventualy get fixed:
https://github.com/rustwasm/wasm-bindgen/issues/2774
* The wasm tests would be run under native arch
2022-01-24 18:48:44 +02:00
Jędrzej Stuczyński
60f965ec52
Made contract addresses for query NymdClient construction optional ( #1055 )
...
Similarly as it is the case when creating SigningNymdClient
2022-01-24 15:43:20 +00:00
Jędrzej Stuczyński
8d26e48a5b
Introduced RPC query for total token supply ( #1053 )
...
* Introduced RPC query for total token supply
* Cargo fmt
2022-01-24 15:43:10 +00:00
Jędrzej Stuczyński
94527ab594
Changed bech32_prefix from punk to nymt ( #1064 )
2022-01-24 12:40:36 +00:00
Tommy Verrall
e312a28aad
Merge pull request #1059 from martinyung/develop
...
fix: make explorer footer year dynamic
2022-01-24 11:39:42 +00:00
dependabot[bot]
e84a0c4438
Bump nanoid from 3.1.30 to 3.2.0 in /nym-wallet ( #1062 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 10:18:11 +00:00
dependabot[bot]
6f1a0d987d
Bump nanoid from 3.1.30 to 3.2.0 in /testnet-faucet ( #1063 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 10:18:02 +00:00
mfahampshire
48ceb9d1ce
mainnet token args for contract verification
2022-01-21 23:43:51 +01:00
mfahampshire
e82e8b8bc3
added mainnet config
2022-01-21 23:43:32 +01:00
Yung Chun Ern Martin
3caa4c15ca
fix: make explorer footer year dynamic
2022-01-22 00:11:13 +08:00
Tommy Verrall
741131f376
Merge pull request #1058 from nymtech/bug-fix/display-client-address
...
display client address on wallet creation
2022-01-21 15:54:59 +00:00
fmtabbara
ae6f161cd6
display client address on wallet creation
2022-01-21 15:49:01 +00:00
Tommy Verrall
b940c87d64
Merge pull request #1057 from nymtech/feature/fix_wallet_mnemonic
...
Add mnemonic just on creation, to display it
2022-01-21 15:41:28 +00:00