durch
3404efc283
Checkpoint
2022-04-12 11:53:24 +02:00
durch
820da702d5
Checkpoint
2022-04-11 17:42:17 +02:00
dependabot[bot]
dc0b9c271c
Bump ansi-regex in /docker/typescript_client/upload_contract ( #1171 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 14:07:59 +01:00
Jon Häggblad
9ef29037bc
Merge pull request #1195 from nymtech/feature/expose-more-validator-in-wallet
...
wallet: expose additional validator configuration functionality to the frontend
2022-04-11 11:21:08 +02:00
Jon Häggblad
1e13d41245
wallet: make config file version optional
2022-04-11 10:52:58 +02:00
Jon Häggblad
46a4991c12
wallet: add version number to network config files
2022-04-11 10:52:58 +02:00
Jon Häggblad
9d2d670990
wallet: remove duplicate handler entries
2022-04-11 10:52:58 +02:00
Jon Häggblad
baba5ed212
wallet: additional backend logic for selecting validators
2022-04-11 10:52:58 +02:00
Jon Häggblad
ceb5f090cf
wallet: expose select, add and remove validators
2022-04-11 10:52:58 +02:00
Raphaël Walther
b6ffe8664c
Added additionnal clean task for Windows
2022-04-11 09:39:01 +02:00
Jon Häggblad
be4bc2bdcc
Merge branch 'release/1.0.0-rc.1' into develop
...
Conflicts:
validator-api/Cargo.toml
2022-04-08 12:14:47 +02:00
Jędrzej Stuczyński
bc049cb954
Feature/aggregated econ dynamics explorer endpoint ( #1203 )
...
* Economic dynamics stats endpoint on the explorer API with dummy fixture data
* Populating the endpoint with real data aggregated from validator api
* Introduced new cache functionalities
2022-04-08 10:15:50 +01:00
Drazen Urch
9aa5b98465
Debugging validator ( #1198 )
...
* Checkpoint
* Replace Stream logic with StreamMap
* Ignore blacklisted mixnodes and gateways
* Moar logging
* Remove version checks
* Cleanup
* Some more cleanup
2022-04-07 18:13:29 +02:00
Jędrzej Stuczyński
d6c9d1d08d
Using fork of cosmrs with different address length validation
2022-04-05 17:52:59 +01:00
Jędrzej Stuczyński
49fc51853a
Updated mainnet defaults to the most recent values
2022-04-05 17:52:41 +01:00
Jędrzej Stuczyński
c177f14073
Using fork of cosmrs with different address length validation
2022-04-05 17:35:50 +01:00
Mark Sinclair
026932dc16
Wallet 1.0.2 visual tweaks ( #1197 )
...
* Add `fill` prop to Nym wordmark component
* Tweaks to client address display
* Add story for ClientAddress
2022-04-05 17:06:47 +01:00
Jędrzej Stuczyński
515d4b73f7
Updated mainnet defaults to the most recent values
2022-04-05 16:52:16 +01:00
Fouad
fda3636783
Password for wallet with routes ( #1196 )
...
* new password flow
* update global error and load state from children
* fix linting
* dont load account when creating mnemonic
* wallets: provide placeholder functions for ui password
* wallet: platform_constants
* wallet: swap println to log
* UI for existing mnemonic to be use
* wallet: inline encryption of wallet file
* wallet: tweak error enum names
* wallet: general wallet_storage tidy
* wallet: tweak some type names
* create sign-in context
* update sign in functions
* move state to context
* update pages
* connect new rust methods with frontend
* update components
* remove non-existent method
* add separate sign in pages for mnemonic and password
* add a hook for clipboard copy
* fix workmark svg sizing issue
* create step component
* use new sign in pages
* reorder pages
* use clipboard lib directly
* ui tweaks
* use login type selector
* update password strength test + use autofocus prop for password input
* start adding routes
* restructure with routes
* wip
* more wip
* more wip
* reset state where required
* minor flow updates
* validate version (any valid semver version)
* reset error on page move
* flow tweaks
* content update
Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com >
2022-04-05 16:46:16 +01:00
Dave Hrycyszyn
c056269f0e
Tagging release contracts
2022-04-05 15:37:38 +01:00
Mark Sinclair
ca49fe2293
GitHub Actions fixes for publishing wallet
2022-04-05 09:42:37 +01:00
Mark Sinclair
1b37ff2242
Update wallet lock file
2022-04-04 18:17:42 +01:00
Mark Sinclair
3712b38230
Fix wallet lock file version
2022-04-04 18:17:13 +01:00
Mark Sinclair
467bda8ddd
Add tauri updater feature
2022-04-04 18:15:33 +01:00
Mark Sinclair
b083335f56
Add updater config to tauri.conf.json
2022-04-04 18:15:25 +01:00
Mark Sinclair
5cc08211b7
Merge pull request #1194 from nymtech/feature/nym-wallet-updater
...
Add auto-updater to Nym Wallet
2022-04-04 17:57:28 +01:00
Drazen Urch
a63a94623f
Update and query rewarding validator address ( #1193 )
2022-04-04 16:55:46 +02:00
Mark Sinclair
5deafaa27b
Add tauri updater feature
2022-04-04 15:03:21 +01:00
Mark Sinclair
021b542a4a
Add updater config to tauri.conf.json
2022-04-04 15:03:21 +01:00
Mark Sinclair
64ee03112e
GitHub Actions: fix wallet updater location for MacOS
2022-04-04 15:03:01 +01:00
Mark Sinclair
bed709b155
Fix wallet lock file version
2022-04-04 15:02:36 +01:00
Mark Sinclair
1f6d4153a7
GitHub Actions: fix wallet updater path for upload to release
2022-04-04 14:25:55 +01:00
Mark Sinclair
de45ab8995
GitHub Actions: nym wallet build uploads updater zip and signature to release
2022-04-04 13:47:01 +01:00
Mark Sinclair
15b552fa62
GitHub Actions wallet publish - add missing env vars for updater signing
2022-04-04 12:07:30 +01:00
Mark Sinclair
0d343eb82d
Update GitHub Actions for wallet to upload the signature for the auto-updater
2022-04-04 11:39:08 +01:00
Jon Häggblad
b5eddb6919
wallet: fix get urls function call
2022-04-04 09:19:00 +02:00
Jon Häggblad
7ddde50ffa
wallet: expose validator urls to the frontend
2022-04-04 09:10:56 +02:00
Jon Häggblad
d81967189a
Fix clippy warnings for beta toolchain
2022-04-04 08:55:34 +02:00
Jon Häggblad
11b22ce2c1
wallet: add test for decrypting file
2022-04-03 22:39:39 +02:00
Jon Häggblad
58fd40fb8e
Fix clippy warnings
2022-04-03 21:15:50 +02:00
Max Hampshire
5bb516471e
updated mainnet bandwidthgen contract address
2022-04-03 20:26:25 +02:00
Mark Sinclair
2b9ea90e16
Nym Wallet version 1.0.2
2022-04-01 18:50:16 +01:00
Mark Sinclair
2779b5d28a
Password for wallet with routes ( #1187 )
...
* new password flow
* update global error and load state from children
* fix linting
* dont load account when creating mnemonic
* wallets: provide placeholder functions for ui password
* wallet: platform_constants
* wallet: swap println to log
* UI for existing mnemonic to be use
* wallet: inline encryption of wallet file
* wallet: tweak error enum names
* wallet: general wallet_storage tidy
* wallet: tweak some type names
* create sign-in context
* update sign in functions
* move state to context
* update pages
* connect new rust methods with frontend
* update components
* remove non-existent method
* add separate sign in pages for mnemonic and password
* add a hook for clipboard copy
* fix workmark svg sizing issue
* create step component
* use new sign in pages
* reorder pages
* use clipboard lib directly
* ui tweaks
* use login type selector
* update password strength test + use autofocus prop for password input
* start adding routes
* restructure with routes
* wip
* more wip
* more wip
* reset state where required
* wallet: remove unused rust use statements
* fix unbond page
Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk >
Co-authored-by: Jon Häggblad <jon.haggblad@gmail.com >
Co-authored-by: Tommy Verrall <tommyvez@protonmail.com >
2022-04-01 18:44:44 +01:00
Mark Sinclair
9ea2ce5c70
Merge pull request #1184 from nymtech/feature/adding-discord
...
Feature/adding discord
2022-04-01 15:50:03 +01:00
Jon Häggblad
11e1e728e1
Merge pull request #1183 from nymtech/feature/wallet-save-and-load-validators-from-file
...
wallet: config backend for validator selection
2022-04-01 15:40:02 +02:00
Jon Häggblad
4116aa18a8
wallet: config backend for validators
2022-04-01 15:18:59 +02:00
Jon Häggblad
bdebe00c25
Merge pull request #1186 from nymtech/feature/wallet-add-validate-mnemonic
...
wallet: add validate_mnemonic
2022-04-01 15:18:09 +02:00
Jon Häggblad
e106390e1d
wallet: add validate_mnemonic
2022-04-01 15:09:22 +02:00
Jon Häggblad
7a53821af9
Merge pull request #1185 from nymtech/feature/wallet-support-remove-account
...
wallet: support removing accounts from the wallet file
2022-04-01 14:57:32 +02:00
Jon Häggblad
efe6df12c9
wallet: remove unused
2022-04-01 14:46:44 +02:00
Jon Häggblad
23fb34f564
wallet: support removing accounts from the wallet file
2022-04-01 14:42:05 +02:00
gala1234
09155fbf12
update discord url
2022-04-01 12:42:17 +02:00
gala1234
53292ceca9
enable discord icon
2022-04-01 12:37:24 +02:00
Mark Sinclair
45b41d9e20
Update README.md
2022-04-01 10:07:02 +01:00
Drazen Urch
95b6ac50be
Type safe bounds ( #1179 )
...
* Type safe bounds
* Debug get_all_delegations
* List raw delegations
* query all delegation values
* Get all keys and values
* Differentiate on len
* Clean up duplicates
* Remove stop gap
* Cleanup, fix paged query key
* Reduce queries required to get all delegations
* Sandbox migration
* Delete migration
2022-03-30 12:20:03 +02:00
Tommy Verrall
5f2247ab83
Merge pull request #1180 from nymtech/update-wallet-unbond
...
fix unbond page
2022-03-30 09:35:22 +01:00
Tommy Verrall
842bcfa782
fix unbond page
2022-03-30 09:34:17 +01:00
Jon Häggblad
c85b0ad07d
Merge pull request #1170 from nymtech/feature/connection-test-nymd-api-urls-indep
...
wallet: connection test nymd and api urls independently
2022-03-30 00:11:20 +02:00
Jon Häggblad
adf4537183
rustfmt
2022-03-30 00:02:34 +02:00
Jon Häggblad
1cf101d50f
connection-tester: refine log statements
2022-03-29 23:57:54 +02:00
Jon Häggblad
e91e6943c6
connection-tester: add nymd-client cfg
2022-03-29 23:53:09 +02:00
Jon Häggblad
700f6a4e98
connection-tester: add missing timeout for nymd test
2022-03-29 23:53:09 +02:00
Jon Häggblad
b759e5e7f2
connection-tester: extract out connection test methods
2022-03-29 23:53:09 +02:00
Jon Häggblad
deefa09066
connection-tester: extract out setup method
2022-03-29 23:53:09 +02:00
Jon Häggblad
3f6cb919ac
connection-tester: extract or collection method
2022-03-29 23:53:09 +02:00
Jon Häggblad
d08bf61905
wallet: rustfmt
2022-03-29 23:53:09 +02:00
Jon Häggblad
da18a60a91
wallet: remove deprecated validator_health checks
2022-03-29 23:53:09 +02:00
Jon Häggblad
cec7496794
connection-tester: cap number of urls tested async
2022-03-29 23:53:09 +02:00
Jon Häggblad
dd82b24d61
wallet: skip duplicate validator url entries
2022-03-29 23:53:09 +02:00
Jon Häggblad
df827b6b09
validator-client: rework connection tester
2022-03-29 23:53:09 +02:00
Mark Sinclair
cb25cc2eb9
Merge pull request #1178 from nymtech/feature/wallet-storybook
...
Add storybook to wallet
2022-03-29 17:26:46 +01:00
Mark Sinclair
abf7e1f6ad
Bundle fonts into wallet
2022-03-29 17:18:33 +01:00
Mark Sinclair
0f5137ea24
Add storybook to nym-wallet
2022-03-29 17:16:00 +01:00
Drazen Urch
c2938e0672
Fix delegation paging ( #1174 )
...
* Fix delegation paging and tests
* Circuit breaker, upgrade storage and cosmwasm
* beta6
* Cleanup delegation events
2022-03-29 17:02:56 +02:00
Bogdan-Ștefan Neacșu
34903bfae6
Remove unneeded dep in wallet
2022-03-29 16:14:30 +03:00
Bogdan-Ștefan Neacşu
9e8f550e6d
Feature/signature on deposit ( #1151 )
...
* Add placeholder client for implementing coconut interactions
* Add db for persistance
* Add nymd client
* Add new coconut-bandwidth contract
* Call deposit function
* Introduce error handling
* Call the old flow of getting a signature
* List available tx hashes
* Add signed req in body
* Save signature received
* Add event generation
* Checks in validator-api
* Fail with error instead of panic in validator-api route
* Fix contract address and small bug
* Add file db for storing previous signatures
* Encrypt and store data in validator-api
* Decrypt the received signature
* Remove tx hashes after getting credentials
* Small listing changes in client
* Change response so that it easier to serialize
* Error message is sent to client for display
* Remove already signed error and return the previous sig
* Merge signature with deposit data in client
* Entrypoint for getting the encrypted signature
* Refactor blinding stuff so that it can be backed up
* Backed up the blind sign request
* Client can re-request the encrypted signature shares
* Update crypto features
* Fix clippy
* Activate instantiate test and remove unused code
* Add tx tests
* Add verification key endpoint test
* Voucher consistency test
* Test for some errors and a race condition on blind signing
* Refactor and add client trait for enabling better testing env
* Test some more of blind sign
* Finished testing all extract_encryption_key paths
* Split into function test and endpoint test
* Test for correct signature
* Test for state functions
* Remove print
* Test blind_sign endpoint
* Test for cached signature endpoint
* Stricter types in voucher
* Rename signature with partial_bandwidth_credential
* Extra route levels
* Length check and remove some unused code from coconut interface
* Renamed coconut-bandwidth common crate
* Renamed verification_key to identity_key
* Use const instead of hardcoded values
* Use type aliases for crypto algorithms
* Remove unused mods, until needed
* Remove unneeded unwrap
* Fix some coconut issues that were blocking the wasm client build
* Move from sled to existing sql database
* Update tests for new db type
* Fix wasm for coconut too
* Remove sled from dependencies
2022-03-29 15:03:38 +03:00
Tommy Verrall
278516ad11
Merge pull request #1172 from nymtech/feature/update-binary-version
...
Update binaries to rc version
2022-03-29 10:02:48 +01:00
Mark Sinclair
8ad3565f2c
Create nym-release-publish.yml
2022-03-28 18:16:41 +01:00
Mark Sinclair
ce241339bf
Create nym-release-publish.yml
2022-03-28 18:16:08 +01:00
Tommy Verrall
8d7428923a
Update binaries to rc version
2022-03-28 15:32:31 +01:00
Drazen Urch
4a1a4b6415
Different values for mixes and gateways ( #1169 )
2022-03-28 13:33:55 +02:00
Jon Häggblad
47bdf38776
wallet: fix clippy
2022-03-25 21:25:09 +01:00
Jon Häggblad
cdd883c174
Merge pull request #1153 from nymtech/feature/wire-up-wallet-storage
...
wallet: wire up account storage
2022-03-25 21:14:19 +01:00
Jon Häggblad
2d82a51905
wallet: reject storing account with the same id
2022-03-25 21:04:35 +01:00
Jon Häggblad
38c2ce9837
wallet: tweak some type names
2022-03-25 21:04:35 +01:00
Jon Häggblad
a867921fdd
wallet: general wallet_storage tidy
2022-03-25 21:04:35 +01:00
Jon Häggblad
423cdb1e1b
wallet: tweak error enum names
2022-03-25 21:04:35 +01:00
Jon Häggblad
7aeac58fd9
wallet: inline encryption of wallet file
2022-03-25 21:04:35 +01:00
Jon Häggblad
30fafa509c
wallet: swap println to log
2022-03-25 21:04:35 +01:00
Jon Häggblad
c950556506
wallet: platform_constants
2022-03-25 21:04:35 +01:00
Jon Häggblad
9a49213973
wallets: provide placeholder functions for ui password
2022-03-25 21:04:34 +01:00
Drazen Urch
65a45bc0a8
Add global blacklist to validator-cache ( #1168 )
2022-03-25 17:02:01 +01:00
Jędrzej Stuczyński
5932974108
Removed unused tauri client
2022-03-25 14:33:13 +00:00
Jędrzej Stuczyński
ce34e45afc
Merge branch 'develop' of github.com:nymtech/nym into develop
2022-03-25 14:20:15 +00:00
Jędrzej Stuczyński
afcefa9432
Dealt with typescript validator client
2022-03-25 14:20:09 +00:00
Mark Sinclair
d346fdcff9
Merge pull request #1165 from nymtech/dependabot/npm_and_yarn/node-forge-1.3.0
...
Bump node-forge from 1.2.1 to 1.3.0
2022-03-25 14:04:41 +00:00
Jędrzej Stuczyński
a05a7e261a
Merge branch 'develop' of github.com:nymtech/nym into develop
2022-03-25 14:03:59 +00:00
Jędrzej Stuczyński
ab9c892f8a
Updated BBBC contract tests dependencies
2022-03-25 14:03:51 +00:00
Mark Sinclair
ca7bfef865
Merge pull request #1163 from nymtech/dependabot/npm_and_yarn/clients/tauri-client/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6 in /clients/tauri-client
2022-03-25 14:03:38 +00:00
dependabot[bot]
f8c9397afd
Bump minimist from 1.2.5 to 1.2.6 in /clients/tauri-client
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-25 13:58:16 +00:00
Mark Sinclair
0c215efdb2
Merge pull request #1164 from nymtech/dependabot/npm_and_yarn/nym-wallet/webdriver/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6 in /nym-wallet/webdriver
2022-03-25 13:57:30 +00:00
durch
e1efcda3dd
Test last paged page
2022-03-25 11:09:46 +01:00
Drazen Urch
59056a22c5
Feature/upgrade rewarding sandbox ( #1167 )
...
* Add init_epoch msg
* Use 64BE ctr variant
* Remove query_all_delegations
* Comment migration
2022-03-25 10:57:49 +01:00
Mark Sinclair
13841e813b
Update nym-wallet version metadata
2022-03-25 08:48:51 +00:00
dependabot[bot]
da775af00a
Bump minimist from 1.2.5 to 1.2.6 in /nym-wallet/webdriver
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 18:04:30 +00:00
Mark Sinclair
bd99474f26
Update minimist version in workspace lock file
2022-03-24 18:03:28 +00:00
Mark Sinclair
9c70244157
Add ts-packages target to fix security warnings in workspaces lock file resulting from yarn audit.
...
Run with `yarn audit:fix`. Check the lock file before committing!
2022-03-24 18:03:09 +00:00
dependabot[bot]
736edcbe00
Bump node-forge from 1.2.1 to 1.3.0
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases )
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 18:02:42 +00:00
Jędrzej Stuczyński
40e215473e
Merge branch 'develop' of github.com:nymtech/nym into develop
2022-03-24 17:41:27 +00:00
Jędrzej Stuczyński
6746514317
Fixed up most JS dependency warnings
...
Resolved dependency issues in testnet-faucet
Removed the outdated react example
Updated js example dependencies
Using sandbox in js example
Feature locking imports
Running wasm client in testnet mode by default
Allow using `None` BandwidthController in testnet mode
Reverted endianness change and left it for others to deal with
Fixed up websocket js-example
Changed endianness of aes counter
2022-03-24 17:40:20 +00:00
dependabot[bot]
50a332eb2b
Bump minimist from 1.2.5 to 1.2.6 in /clients/webassembly/js-example ( #1162 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 15:51:43 +00:00
dependabot[bot]
08f1b176db
Bump minimist in /docker/typescript_client/upload_contract ( #1159 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 15:22:53 +00:00
dependabot[bot]
00e2319be3
Bump minimist in /clients/native/examples/js-examples/websocket ( #1160 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 15:22:45 +00:00
durch
ecd566432b
Improve pagination test
2022-03-24 10:50:23 +01:00
durch
b6dc81304c
Fix get reward pool
2022-03-23 22:46:30 +01:00
durch
6337cd9966
Merge branch 'develop' of https://github.com/nymtech/nym into develop
2022-03-23 21:13:16 +01:00
durch
b41b8f94a4
Fix sqlx types
2022-03-23 21:11:01 +01:00
Mark Sinclair
52ced9d3ad
Generate webpack favicons from PNG
...
https://github.com/jantimon/favicons-webpack-plugin/issues/288 indicates that generating from an SVG sometimes freezes at 92%. This behaviour is seen on Windows wallet builds in CI.
2022-03-23 19:46:50 +00:00
durch
5eb2249ad5
Regenerate mixnet json schema
2022-03-23 20:40:24 +01:00
durch
008fc045b7
drop foreign key constraints
2022-03-23 20:35:09 +01:00
Mark Sinclair
38cc3b9e38
Add webpack thread loader to speed up wallet build time
2022-03-23 19:24:55 +00:00
Mark Sinclair
989285e009
Update nym-wallet-publish-windows10.yml
2022-03-23 18:29:24 +00:00
Mark Sinclair
c6e438600f
Update nym-wallet-publish-windows10.yml
2022-03-23 18:24:38 +00:00
Mark Sinclair
1dab01ca33
Upgrade GitHub Actions checkout
2022-03-23 18:10:14 +00:00
Mark Sinclair
53e0432934
Build dependencies before building nym-wallet
2022-03-23 17:27:06 +00:00
Mark Sinclair
a1f2d33397
Enabled GitHub Action to build Windows release for nym wallet
2022-03-23 16:42:49 +00:00
Mark Sinclair
49aa79b5df
Update nym-wallet-publish-windows10.yml
2022-03-23 16:40:04 +00:00
Mark Sinclair
6f3b5fad15
Update nym-wallet-publish-windows10.yml
2022-03-23 16:37:38 +00:00
Mark Sinclair
0efa909374
Configure nym-wallet Windows signing
2022-03-23 15:51:36 +00:00
Fouad
43b102782e
Merge pull request #1158 from nymtech/feature/vesting-full
...
Feature/vesting full
2022-03-23 15:45:11 +00:00
Mark Sinclair
d6e6bab6a6
Update nym-wallet-publish-windows10.yml
2022-03-23 15:43:13 +00:00
Mark Sinclair
1a3cdc3128
Update nym-wallet-publish-windows10.yml
2022-03-23 15:36:55 +00:00
Mark Sinclair
39f75907e5
Update nym-wallet-publish-windows10.yml
2022-03-23 15:35:41 +00:00
Mark Sinclair
029c2698d7
Update nym-wallet-publish-windows10.yml
2022-03-23 15:34:12 +00:00
Mark Sinclair
60548770ba
Update nym-wallet-publish-windows10.yml
2022-03-23 15:19:14 +00:00
Mark Sinclair
39cfc2057b
Update nym-wallet-publish-windows10.yml
2022-03-23 15:14:58 +00:00
Mark Sinclair
4fbae2d5bd
Create GitHub Action to publish and sign Windows wallet
2022-03-23 15:12:07 +00:00
Jon Häggblad
9feee4c174
Fix some minor compiler and clippy warnings
2022-03-23 15:19:00 +01:00
fmtabbara
bca6b45273
Merge branch 'develop' into feature/vesting-full
2022-03-23 12:43:31 +00:00
fmtabbara
d9733a97ae
use 'estimated' fee
2022-03-23 12:42:56 +00:00
fmtabbara
e66dc01966
highlight pending delegation time
2022-03-23 12:00:13 +00:00
fmtabbara
2b4aca0194
prevent duplicates
2022-03-23 09:44:17 +00:00
fmtabbara
06aa09afcd
UI bug fix
2022-03-22 15:44:39 +00:00
durch
ddc09bbb2e
Additive rewarding test stub
2022-03-22 12:09:41 +01:00
fmtabbara
3003be5e68
use end epoch for undelegation completion time
2022-03-22 10:54:31 +00:00
fmtabbara
cb2ce87ab7
Merge branch 'develop' into feature/vesting-full
2022-03-22 10:24:50 +00:00
fmtabbara
2ad65fc455
display pending undelegations
2022-03-22 10:24:14 +00:00
Tommy Verrall
cb292b38c0
Merge pull request #1156 from nymtech/wallet_get_current_epoch
...
get_current_epoch tauri
2022-03-22 10:17:26 +00:00
durch
b710f796f9
get_current_epoch tauri
2022-03-22 11:10:41 +01:00
durch
fb5a9a7a3e
Fix opeartion order
2022-03-21 20:08:57 +01:00
Drazen Urch
071720c1cc
Cleanup ( #1155 )
2022-03-21 18:24:40 +01:00
Drazen Urch
6679944689
Feature flag reward payments ( #1154 )
2022-03-21 17:30:08 +01:00
fmtabbara
bec7814756
Merge branch 'develop' into feature/vesting-full
2022-03-21 11:24:07 +00:00
Drazen Urch
592b3b3bb1
Pending endpoints ( #1150 )
...
* Add QueryPendingDelegationEvents QueryMsg
* Add pending_delegation_events to nymd client
* Add pending delegation events to wallet
* Get rid of double epoch accounting
* Fix reward saving
* Try batching operations to reduce fees
* Bundle all transactions into one
* make nice
2022-03-21 10:07:51 +01:00
Jon Häggblad
c2ff786f41
validator-api: fix clippy::needless-question-mark
2022-03-21 09:14:41 +01:00
Drazen Urch
63dd26ca1b
Add Query endpoints for calculating rewards ( #1152 )
2022-03-18 15:44:26 +01:00
fmtabbara
07b6114adf
only create mnemonic on account creation
2022-03-17 18:00:58 +00:00
fmtabbara
07155b4fe5
dont disable token pool selector for delegations
2022-03-17 17:14:41 +00:00
fmtabbara
8b635a44b8
fix conflicts
2022-03-17 16:53:29 +00:00
fmtabbara
568862a571
fix conflicts + errors
2022-03-17 16:40:49 +00:00
Drazen Urch
f24d6e224d
Change accumulated reward to Option, migrate delegations ( #1147 )
...
* Change accumulated reward to Option, migrate delegations
* Remove interval from the validator cache
* Add info to db errors
* Remove interval fetch from the contract
* Rework epochs
* Fix undelegation errors
* Emit error event instead of error
* make no-clippy
* Fix clippy lints
2022-03-17 12:03:05 +01:00
Tommy Verrall
f9a154b36c
Merge pull request #1148 from nymtech/chore/use-urls-types-in-wallet
...
wallet: use Urls rather than Strings for validator urls
2022-03-16 09:17:04 +00:00
Tommy Verrall
72d994880b
Merge pull request #1149 from nymtech/feature/wallet-logging
...
wallet: add logging
2022-03-16 09:14:45 +00:00
Jon Häggblad
fe02bc4631
wallet: add logging
2022-03-15 16:03:39 +01:00
Mark Sinclair
1fb8e1bbaf
Add wellknown validators json file
2022-03-15 13:38:27 +00:00
Jon Häggblad
96aa355db3
wallet: use Urls rather than Strings for validator urls
2022-03-15 14:25:22 +01:00
Tommy Verrall
8dfb9c8173
Merge pull request #1134 from nymtech/dependabot/npm_and_yarn/clients/native/examples/js-examples/websocket/url-parse-1.5.10
...
Bump url-parse from 1.5.7 to 1.5.10 in /clients/native/examples/js-examples/websocket
2022-03-15 11:06:15 +00:00
Jon Häggblad
382d3e130e
wallet: remove unused use
2022-03-14 22:18:28 +01:00
Jon Häggblad
a8246621e1
wallet: add health query based on plain http
2022-03-14 22:12:34 +01:00
fmtabbara
7868725fed
revert console output
2022-03-14 14:18:02 +00:00
fmtabbara
d30667d8e4
add error log
2022-03-14 13:04:57 +00:00
Jon Häggblad
66b6a8aeef
wallet: fetch validators url remotely if available ( #1146 )
2022-03-14 12:19:11 +01:00
fmtabbara
3483a9e7f9
fix lint warnings
2022-03-14 11:00:47 +00:00
fmtabbara
893b28c51c
fix eslint warning - func-names
2022-03-14 09:49:17 +00:00
Jon Häggblad
93165ad699
nymcoconut: fix clippy
2022-03-14 09:34:32 +01:00
Jon Häggblad
2ebb498589
ci: run clippy with --workspace in build.yml
2022-03-14 09:19:09 +01:00
fmtabbara
47ffdfe496
linting, conflict fixes, and general tidy
2022-03-13 01:20:46 +00:00
fmtabbara
51bced8766
merge develop
2022-03-12 22:17:33 +00:00
fmtabbara
d4286aeb76
fix validation
2022-03-12 21:12:51 +00:00
Drazen Urch
929a780315
Fix delegated free calculation ( #1145 )
2022-03-11 21:44:28 +01:00
Daniel Filipe Nunes Silva
c7cdd1e1b4
feature/pedersen-commitments ( #1048 )
...
* add pedersen.rs and first alias type
* replace ciphertexts in BlindSignRequest by commitments and adapt try_from
* update BlindSignRequest.to_byte_vec
* add TODO to issuance.rs
* [WIP] update CmCs proof to use commitments
* complete ProofCmCs construct implementation
* [WIP] ProofCmCs verify
* complete ProofCmCs verify implementation
* complete ProofCmCs to_bytes implementation
* complete ProofCmCs from_bytes implementation
* WIP update ProofCmCs roundtrip tests
* WIP update prepare_blind_sign
* update prepare_blind_sign
* WIP update blind_sign
* update blind_sign
* update BlindedSignature and try_from
* update BlindedSignature unblind
* update BlindedSignature to_bytes
* move elgamal encrypto to elgamal and manage imports
* add verification keys for g1 method
* upadate tests to work with Pedersen commitments
* unused remove pedersen.rs
* update error message
* fix proof_cm_cs_bytes_roundtrip test
* Move generation of commitment openings into prepare blind signature function
* Edits
* Extende the verification key; remove validator's secret key from the unblind function
* Update the unblind function throughout the whole nymcoconut repo
* Fix broken tests
* Run cargo clippy and fmt
* Add benchmark measurements
* Add more detailed printouts
* Change byte printout
* Update benchmarks
* add public attributes as part of the commitment
* update bytes order comment for ProofCmCs
* check proof_cm_cs_bytes_roundtrip test and remove TODO
* remove irrelevant prints in blind signature tests
* remove inappropriate function to get betas_g1
* remove irrelevant prints in verification
* Remove print statement and add additional checks on the verification key
* Run clippy
* Fix coconut call in validator-api
* Update dependend packages
* Update the input to the obtain partial credential function
* Fix the verification key bytes calculation
* Run cargo fmt on keygen.rs
* Run cargo fmt for validator-api
* Run cargo fmt for credentials
* Replace concat with chain
* Remove unneccessary mut
* Run cargo fmt
* fix type conversion
Co-authored-by: aniampio <anna.piotrowska.15@ucl.ac.uk >
2022-03-11 11:44:25 +00:00
Mark Sinclair
8575a72a22
Update Nym wallet dependencies to use ts-packages ( #1144 )
...
* Use shared ts-packages in wallet
* Add eslint rules
* Formatting: run eslint --fix on all files
* Formatting: fix linting errors for dependencies
* linting fixes
* fix sign in pages
* fix breaking change
* fix ts errors
fix ts and es errors
* Fix up typings for image and json modules
Add tsconfig for eslint to process webpack config
* Use shared webpack config
* Use shared logo component
* Remove unused images
* Allow html path to be passed as an argument in shared webpack config
* Fix up webpack config for html template
* Build shared ts-packages before starting dev mode
* Fix webpack config
* use shared logo component
Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk >
Co-authored-by: mmsinclair <mmsinclair@users.noreply.github.com >
2022-03-11 11:41:17 +00:00
Jon Häggblad
9d03bec14b
clippy: fix lints from beta toolchain
2022-03-11 10:17:39 +01:00
fmtabbara
ce93e5f677
bug fixes and minor ui updates
2022-03-10 18:59:45 +00:00
Mark Sinclair
7c826ef881
Remove GitHub Action for TS type generation
...
Please generate type manually before committing.
2022-03-10 18:07:08 +00:00
Jon Häggblad
ac666b7a1d
wallet: fix unused use
2022-03-10 17:18:08 +01:00
Jon Häggblad
83a9b993a1
wallet: add a 3 sec timeout for detecting validator
2022-03-10 17:16:03 +01:00
fmtabbara
4b691d19a0
Merge branch 'feature/vesting-delegations' into feature/vesting-token-pool-selector
2022-03-10 15:37:36 +00:00
Jon Häggblad
fe4fcc7fdf
rustfmt
2022-03-10 11:28:32 +01:00
Jon Häggblad
a6e40443a4
ci: add --all-targets to nightly clippy
2022-03-10 11:24:01 +01:00
Jon Häggblad
0a583bd48a
clippy: remove unnecessary mut
2022-03-10 11:17:43 +01:00
Jon Häggblad
96ccce1049
clippy: run clippy fix on coconut tests
2022-03-10 11:03:23 +01:00
Jon Häggblad
89d0ff5624
ci: run nightly clippy with --workspace
2022-03-10 10:53:49 +01:00
Jon Häggblad
2391d11758
ci: replace deprecated --all with --workspace
...
According to the docs `--all` is a deprecated alias for `--workspace`
2022-03-10 10:19:43 +01:00
Jon Häggblad
902c674ff1
makefile: replace deprecated flag
2022-03-10 09:13:34 +01:00
Jon Häggblad
160328a08e
wallet: try validators one by one if available ( #1143 )
2022-03-10 07:38:39 +01:00
Mark Sinclair
9fea869bbc
Regenerate icon for nym-wallet
2022-03-10 00:04:05 +00:00
Mark Sinclair
c66d7ed489
Update Network Explorer Packages and add mix node identity key copy ( #1142 )
...
* Use new eslint rules and apply fixes. Use new logo component and shared theme + webpack config.
* Add shared component to display a copy icon and copy to clipboard with confirmation state
* Organise imports
* Add copy mixnode identity key to list of mixnodes and detail view
* Update nvm node version to 16
* Update GitHub Actions for Network Explorer to use yarn and yarn workspaces
* Switch favicon for smaller N icon
* Update README
* Add error boundary
2022-03-09 19:08:21 +00:00
fmtabbara
0e86761a13
Merge branch 'develop' into feature/vesting-delegations
2022-03-09 15:01:54 +00:00
Mark Sinclair
19d603ba1a
Fix package.json
2022-03-09 14:29:45 +00:00
Drazen Urch
b30f680549
Refactor to a lazy rewarding system ( #1127 )
...
* Remove eager operator and delegator rewarding
* Add mixnodes snapshoting
* Add Intervals map, getter and setter
* Refactor reward params
* Refactor MixnodeToReward
* Persist node reward params and results on chain
* Update cw-storage-plus to 0.12.1
* Refactor delegation storage
* Compound delegator reward command
* Compound delegator reward command
* Add defered delegate and undelegate
* Compound on behalf command
* Scale calculations to epoch
* Rename interval -> epoch where practical
* Store epochs on chain
* Cleanup first pass
* Adapt reporting to lazy rewarding
* make clippy --all
2022-03-09 14:28:16 +01:00
fmtabbara
55463da0da
merge develop
2022-03-09 12:23:26 +00:00
fmtabbara
518daeaf20
allow undelegation of unvested tokens
2022-03-09 12:16:20 +00:00
fmtabbara
f6ec12db94
allow delegation of vested tokens
2022-03-09 12:15:29 +00:00
Mark Sinclair
379dd1f02b
Merge pull request #1139 from nymtech/feature/ts-packages
...
Add `ts-packages` for shared Typescript packages
2022-03-09 12:09:40 +00:00
Mark Sinclair
38804279e8
Fix up dependency
2022-03-09 11:52:52 +00:00
Mark Sinclair
3907cd17fe
Improve eslint rules and fix up issues
2022-03-09 11:41:04 +00:00
fmtabbara
1e921186ad
merge develop
2022-03-09 10:06:01 +00:00
Mark Sinclair
67c69cbec9
Add Network Explorer to yarn workspaces
2022-03-08 18:29:25 +00:00
Mark Sinclair
abc5dd8b92
Add theme and palette explorer
2022-03-08 18:29:20 +00:00
Mark Sinclair
c791de426a
Add GitHub Action to build @nymproject/react storybook and example
2022-03-08 13:09:52 +00:00
Mark Sinclair
4c5d4ac4a4
Add docs
2022-03-08 10:50:41 +00:00
Mark Sinclair
48c1fcaf93
Add network selector component and storybook support for Nym themes
2022-03-08 10:50:41 +00:00
Mark Sinclair
31594c7a79
Add ts-packages for shared Typescript packages using yarn workspaces
2022-03-08 10:50:36 +00:00
Bogdan-Ștefan Neacșu
8ec3c04a39
Use 1.. indices and fix the blind sign request multiple generation
2022-03-08 10:59:57 +02:00
fmtabbara
d653ecde1e
remove unused import
2022-03-07 15:35:40 +00:00
Jon Häggblad
ba7fecde6f
wallet: use custom validator urls if configured
2022-03-07 13:24:37 +01:00
fmtabbara
5b9b4743dc
check locked funds when bonding
2022-03-07 12:20:54 +00:00
fmtabbara
5f9b384efa
remove client address from send form
2022-03-07 10:38:57 +00:00
fmtabbara
d69526fad9
Merge branch 'feature/vesting-token-pool-selector' of https://github.com/nymtech/nym into feature/vesting-token-pool-selector
2022-03-07 10:24:24 +00:00
fmtabbara
e10a4e8fca
fix fee position on the bond form
2022-03-07 10:24:08 +00:00
fmtabbara
9016878868
remove sig
2022-03-07 10:20:13 +00:00
Jon Häggblad
835a915f25
wallet: initial backend support for config file with validator urls
2022-03-07 10:53:31 +01:00
fmtabbara
1ca6e4a002
[ci skip] Generate TS types
2022-03-04 13:36:49 +00:00
fmtabbara
f9c73183db
use new vesting requests and types
2022-03-04 13:35:01 +00:00
fmtabbara
d296100ffa
allow percent profit update on locked tokens mixnode
2022-03-04 13:34:15 +00:00
fmtabbara
06669fe114
don't show profile if in settings if no mixnode details
2022-03-04 13:33:00 +00:00
fmtabbara
8022fc7e31
get bond details when settings is opened or settings tab changes
2022-03-04 13:32:25 +00:00
fmtabbara
2b915fd0aa
show locked balance if using locked pool
2022-03-04 13:31:40 +00:00
fmtabbara
4e45c54d17
allow unbonding for locked and balance tokens from bond screen
2022-03-04 13:31:17 +00:00
durch
9c16e5ebfa
Remove core-graphics pin
2022-03-04 14:21:32 +01:00
fmtabbara
0113141efd
use token pool selector in bond form
2022-03-04 13:06:09 +00:00
fmtabbara
614d096929
handle clear vesting account info
2022-03-04 13:01:42 +00:00
fmtabbara
fe7df3a909
get vesting pledge info for mixnode
2022-03-04 13:01:05 +00:00
fmtabbara
b14f6ab159
get vesting pledge info for mixnode
2022-03-04 13:00:50 +00:00
fmtabbara
e6040b0ecc
refacor log in flow and add notifications
2022-03-04 12:59:30 +00:00
fmtabbara
60e6d23fd8
create token pool selector
2022-03-04 12:59:01 +00:00
durch
5dc57d2a3e
Fix type generation, upgrade ts-rs
2022-03-03 22:17:35 +01:00
Raphaël Walther
fd619cad51
Moved clean task at an earlier stage
2022-03-03 18:47:28 +01:00
durch
953c0915d1
Lock tauri-versions, break type generation
2022-03-03 18:10:58 +01:00
Jon Häggblad
acb1aa8df0
network-defaults: make defaults a bit more dynamic
...
By attaching network defaults to the selector enum, we can get them
either from DEFAULT_NETWORK or a selector passed as a dependency.
Hopefully this opens up some venues for being able to toggle between
networks at runtime.
2022-03-03 13:26:53 +01:00
fmtabbara
d30038c570
Merge branch 'develop' into feature/vesting-token-pool-selector
2022-03-03 12:19:04 +00:00
fmtabbara
b9ef848523
fix clipboard and screen maximize
2022-03-03 12:18:08 +00:00
fmtabbara
e3813b4868
Merge branch 'develop' into feature/vesting-token-pool-selector
2022-03-03 12:06:56 +00:00
Tommy Verrall
b7bc713cd4
Merge pull request #1137 from nymtech/feature/allow-mainnet
...
allow main-net prefix and denom to work
2022-03-02 17:08:28 +00:00
Tommy Verrall
b966f962c8
allow main-net prefix and denom to work
2022-03-02 17:07:15 +00:00
fmtabbara
61a0e5bbfb
add token pool selector
2022-03-02 16:34:03 +00:00
Mark Sinclair
698cdc524d
Merge pull request #1136 from nymtech/feature/upgrade-blake3
...
Upgrade blake3 to v1.3.1 and tauri to 1.0.0-rc.3
2022-03-02 15:25:20 +00:00
Jędrzej Stuczyński
448aba0917
Fixed dependencies in mixnet contract tests
2022-03-02 12:51:58 +00:00
fmtabbara
b813e1fee0
refactor and bug fix
2022-03-02 11:08:19 +00:00
Jędrzej Stuczyński
23de430f93
Running tests with all features in CI
2022-03-02 10:34:45 +00:00
Jędrzej Stuczyński
9462bc726d
Feature-locking parts of common/crypto
2022-03-02 10:34:27 +00:00
fmtabbara
3d2eaeeabb
rebuild vesting timeline
2022-03-02 00:21:52 +00:00
fmtabbara
a732a676e0
Merge branch 'develop' into feature/vesting-actions
2022-03-01 20:52:09 +00:00
fmtabbara
d6a8fcda9c
start svg based vesting timeline
2022-03-01 20:51:42 +00:00
fmtabbara
3628cd92c9
start token pool selector
2022-03-01 20:51:25 +00:00
Mark Sinclair
8d26acbc7e
Upgrade tauri packages in nym-wallet
2022-03-01 18:50:05 +00:00
Mark Sinclair
07b971fe92
Upgrade tauri version on tauri-client
2022-03-01 18:50:05 +00:00
Jędrzej Stuczyński
2a539dc3cc
Upgrade blake3 to v1.3.1
2022-03-01 18:50:05 +00:00
Mark Sinclair
562eb639a2
Merge pull request #1133 from nymtech/bugfix/explorer-map-data
...
Use network explorer map data with disputed areas
2022-03-01 14:08:56 +00:00
Mark Sinclair
91dd830a5e
Network Explorer: move Crimea arcs from Russia to Ukraine according to https://github.com/nvkelso/natural-earth-vector/issues/489#issuecomment-903066759
2022-03-01 13:59:41 +00:00
Jon Häggblad
18837220f4
Make wallet denom dynamic
...
Making denom dynamic enables coin transfers on other nets than the
default sandbox net, such as mainnet.
2022-03-01 12:20:27 +01:00
fmtabbara
3fb9737db4
capitalise balance
2022-02-28 19:28:17 +00:00
durch
4d0b5b34ec
Export additional wallet types
2022-02-28 18:28:53 +01:00
durch
6af0dbd1da
Add AccountInfo to wallet
2022-02-28 18:24:40 +01:00
Mark Sinclair
2004148710
Network Explorer world map shows muted fill for countries with zero mixnodes
2022-02-28 12:58:18 +00:00
Bogdan-Ștefan Neacșu
1e805be5ad
Start from 0 instead of 1, to have the correct length
2022-02-28 12:56:32 +02:00
fmtabbara
7a25e600b3
merge auto-screen size for the wallet
2022-02-28 10:34:09 +00:00
Raphaël Walther
1fd7d54715
Set nightly builds notification only on failure
2022-02-28 10:10:25 +01:00
dependabot[bot]
0575f01f9b
Bump url-parse in /clients/native/examples/js-examples/websocket
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-28 04:45:35 +00:00
Fouad
43a6e62050
Merge pull request #1132 from nymtech/feature/vesting-ui
...
Feature/vesting UI
2022-02-25 15:23:27 +00:00
fmtabbara
39fb131d95
minor updates
2022-02-25 13:06:11 +00:00
fmtabbara
9533c2440a
clear all balanced on logout
2022-02-25 11:54:23 +00:00
fmtabbara
aab2be1fbd
only allow QA network selection in development mode
2022-02-25 10:56:28 +00:00
Raphaël Walther
448dcbeaa8
Added missing token for notification
2022-02-25 10:55:28 +01:00
fmtabbara
29b07b4904
sort out car alignment!
2022-02-24 17:55:18 +00:00
fmtabbara
cceb7a40bd
update contract addressess
2022-02-24 16:50:58 +00:00
fmtabbara
fb4b32359d
log error
2022-02-24 16:41:49 +00:00
fmtabbara
7ca92cc487
hide vesting card if no vesting period created
2022-02-24 15:59:34 +00:00
fmtabbara
15d612eff6
add fee
2022-02-24 15:00:13 +00:00
Jon Häggblad
021c2d14f2
gateway: extract out PersistantStorage
2022-02-24 15:37:34 +01:00
fmtabbara
3b85927a90
merge develop
2022-02-24 12:17:00 +00:00
fmtabbara
b386388b82
reorganise vesting ui
2022-02-24 12:15:40 +00:00
fmtabbara
7941b7099f
use window maximize
2022-02-24 09:51:38 +00:00
dependabot[bot]
6604d927c5
Bump ws from 6.2.1 to 6.2.2 in /clients/webassembly/js-example ( #1126 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/6.2.1...6.2.2 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 13:56:04 +00:00
Jon Häggblad
4fedf05b64
Fix clippy warnings on beta channel
2022-02-23 14:45:41 +01:00
Raphaël Walther
fa00f85a31
Removed condition in notification
2022-02-23 14:05:55 +01:00
Raphaël Walther
abf5a2d307
Triggerd workflow
2022-02-23 12:30:26 +01:00
Raphaël Walther
8e0000cb0b
Removed test workflow
2022-02-23 12:02:30 +01:00
Raphaël Walther
cc27911671
Moved workflow to different runners
2022-02-23 11:29:53 +01:00
Bogdan-Ștefan Neacșu
b598f1d1db
Make sure run uses the args passed at init, in eth mode
2022-02-23 12:45:31 +03:00
Raphaël Walther
d4f10c1d68
Triggered workflow
2022-02-23 09:24:22 +01:00
Raphaël Walther
1d7ff40d02
Added test workflow
2022-02-23 09:14:21 +01:00
Raphaël Walther
72703b36e1
Tested build workflow
2022-02-22 17:35:50 +01:00
Raphaël Walther
ecf7a40010
Enabled sccache
2022-02-22 17:23:47 +01:00
Raphaël Walther
272e9187d2
Removed test workflow
2022-02-22 16:18:28 +01:00
Raphaël Walther
69a1f3773c
Amended test workflow
2022-02-22 15:41:20 +01:00
Raphaël Walther
15c97b1cae
Amended test workflow
2022-02-22 15:31:02 +01:00
Raphaël Walther
2660ef59f7
Amended test workflow
2022-02-22 13:29:21 +01:00
dependabot[bot]
12a06d9dfe
Bump url-parse from 1.4.7 to 1.5.7 in /clients/webassembly/react-example ( #1125 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.7 )
---
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-02-22 09:56:29 +00:00
dependabot[bot]
6399cd24c8
Bump url-parse in /clients/native/examples/js-examples/websocket ( #1124 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.4 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.4...1.5.7 )
---
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-02-22 09:56:20 +00:00
dependabot[bot]
f30b5162e8
Bump url-parse from 1.5.1 to 1.5.7 in /clients/webassembly/js-example ( #1122 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.7 )
---
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-02-22 09:56:15 +00:00
dependabot[bot]
229329ae4c
Bump follow-redirects in /contracts/basic-bandwidth-generation ( #1117 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
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-02-22 09:56:10 +00:00
dependabot[bot]
a3bb5e466d
Bump follow-redirects from 1.14.3 to 1.14.8 in /explorer ( #1116 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.3 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.3...v1.14.8 )
---
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-02-22 09:56:03 +00:00
dependabot[bot]
65d893a70b
Bump follow-redirects from 1.14.5 to 1.14.8 in /nym-wallet ( #1115 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.5 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.8 )
---
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-02-22 09:55:55 +00:00
dependabot[bot]
e0944e5238
Bump follow-redirects in /clients/native/examples/js-examples/websocket ( #1114 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
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-02-22 09:55:49 +00:00
dependabot[bot]
b451d4b709
Bump follow-redirects from 1.14.7 to 1.14.8 in /testnet-faucet ( #1113 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
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-02-22 09:55:42 +00:00
dependabot[bot]
1507e48158
Bump follow-redirects in /clients/webassembly/js-example ( #1112 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.1 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.1...v1.14.8 )
---
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-02-22 09:55:36 +00:00
dependabot[bot]
6e7a7ed4a6
Bump simple-get from 3.1.0 to 3.1.1 in /explorer ( #1109 )
...
Bumps [simple-get](https://github.com/feross/simple-get ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases )
- [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: simple-get
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 09:55:29 +00:00
Jędrzej Stuczyński
af4801ac47
Removes migration code ( #1071 )
2022-02-22 09:54:57 +00:00
Raphaël Walther
b748c55d4e
Amended test workflow
2022-02-22 09:37:31 +01:00
Raphaël Walther
84e5bfc286
Amended test workflow
2022-02-21 17:37:12 +01:00
Raphaël Walther
96bd9ecf49
Amended test workflow
2022-02-21 15:48:10 +01:00
Raphaël Walther
092851976f
Added test workflow
2022-02-21 13:23:04 +01:00
durch
9da1f82cca
Restore cargo.lock
2022-02-20 21:58:01 +01:00
durch
8c60927fe2
Update tauri
2022-02-18 18:20:18 +01:00
fmtabbara
ec5ef1db56
dynamic window sizing
2022-02-18 16:22:24 +00:00
fmtabbara
5dee6dd44f
layout updates
2022-02-18 15:54:32 +00:00
durch
aa6f5ad664
Update minor/patch versions
2022-02-18 12:18:28 +01:00
fmtabbara
201b5cc56f
ui updates
2022-02-17 17:09:02 +00:00
fmtabbara
510553a697
update content
2022-02-17 14:56:38 +00:00
Raphaël Walther
b81967c9f5
Set nightly notification on failure
2022-02-17 14:19:28 +01:00
Bogdan-Ștefan Neacşu
fadff7888b
Feature/reuse init owner ( #970 )
...
* Save gateway owner for later use in erc20 bandwidth request
* Pass owner in network monitor
* Switch to variable length owner address
* Add erc20 bridge contract in validator client
* Check bandwidth credential refers to gateway
* Check the owner of the gateway from the eth event
* Fix wasm client
* Hack to avoid unused warning on coconut path
* Hacked, one-time payment
* Remove print
* Update arg format
* Fix token check
* Fix native template
* Use utokens instead of full token
... when talking to eth
* Fix parse event for new field
* Fix socks5 template
* Add estimation of gas call
* Make fs backup more reliable
* Fix clippy
* Fix unused import
* Update waiting time
* Remove defaults from run, as it they should be set on init
* Remove debugging prints
* Replaced unwrap with error
* Fix build
* Make eth contract address dependent of network
* Use tokio for sleep
* Add approve before spending token on bandwidth
* Put bandwidth claim only at the beginning of the process
2022-02-17 11:56:11 +01:00
fmtabbara
24854f9254
Merge branch 'feature/faucet-release' into develop
2022-02-17 10:49:02 +00:00
Tommy Verrall
8ea7726e81
Merge pull request #1121 from nymtech/feature/update-sandbox
...
update contract address
2022-02-16 18:26:07 +00:00
Tommy Verrall
ea32a897b2
update contract address
2022-02-16 17:38:27 +00:00
Raphaël Walther
5d7a14c5ab
Added a custom runner for ubuntu only builds
2022-02-16 17:14:19 +01:00
Raphaël Walther
cad68b8d6c
Set test schedule
2022-02-16 16:42:09 +01:00
Raphaël Walther
1d125ed97f
Set test schedule
2022-02-16 14:36:36 +01:00
Raphaël Walther
36d4ec5a72
Set test schedule
2022-02-16 13:49:38 +01:00
Raphaël Walther
44981b8621
Set test schedule
2022-02-16 13:27:40 +01:00
fmtabbara
bd68797432
replace local storage with cookie
2022-02-16 12:23:44 +00:00
Mark Sinclair
636759789c
Merge pull request #1119 from nymtech/feature/gh-actions-notifications
...
Refactor GitHub Actions notifications
2022-02-16 14:21:16 +02:00
Mark Sinclair
c03a859223
Refactor GitHub Actions notifications
2022-02-16 14:09:12 +02:00
fmtabbara
b269cdae31
refactor
2022-02-16 11:10:15 +00:00
Raphaël Walther
2177a396b9
Added assume yes option on apt-get install
2022-02-16 11:48:11 +01:00
Raphaël Walther
4c50dd64f4
Added test build
2022-02-16 11:19:41 +01:00
fmtabbara
be9d3a48bb
update error message
2022-02-16 10:19:09 +00:00
fmtabbara
37d890c634
refactor 💪
2022-02-15 22:15:10 +00:00
fmtabbara
6287583f4b
component refactor
2022-02-15 21:35:34 +00:00
fmtabbara
c7760c6c10
eslint check + additional validation
2022-02-15 18:46:03 +00:00
fmtabbara
2c0058c477
update env sample£
2022-02-15 16:38:07 +00:00
fmtabbara
02fb2e56ca
add validation
2022-02-15 16:34:41 +00:00
Jon Häggblad
8b2c72eb91
gateway: upgrade clap and use declarative cli argument parsing
2022-02-15 17:11:51 +01:00
durch
805eb31728
Fix typo
2022-02-15 16:21:13 +01:00
fmtabbara
22d4c89e48
display total vesting
2022-02-15 15:04:14 +00:00
fmtabbara
28d5ac92b3
fix alignment
2022-02-15 14:19:37 +00:00
fmtabbara
a2e678587c
Merge branch 'feature/vesting-ui' of https://github.com/nymtech/nym into feature/vesting-ui
2022-02-15 13:59:46 +00:00
fmtabbara
0ac7bb5f03
terminology updates
2022-02-15 13:59:35 +00:00
durch
7f45cbd5df
Rename all -> test
2022-02-15 14:41:00 +01:00
fmtabbara
8ce709bbb4
update currency
2022-02-15 10:20:07 +00:00
Raphaël Walther
46db139f79
Set cron schedule
2022-02-14 18:09:31 +01:00
Raphaël Walther
069c5bf332
Added repo checkout on new job
2022-02-14 18:08:06 +01:00
Jess
54a4653e7d
Merge pull request #1118 from nymtech/bugfix/gateway-bond
...
Change `pledge` to `bond` in gateway list
2022-02-14 15:07:49 +00:00
Raphaël Walther
ea1f689c71
Added a job for notification
2022-02-14 15:59:35 +01:00
Mark Sinclair
3d60299b22
Change pledge to bond in gateway list
2022-02-14 16:42:04 +02:00
fmtabbara
4d9dfac812
[ci skip] Generate TS types
2022-02-14 14:07:39 +00:00
fmtabbara
0012294dc0
add current vesting period
2022-02-14 13:58:45 +00:00
Raphaël Walther
5b5063676f
Corrected wrong indentation
2022-02-14 14:20:54 +01:00
Raphaël Walther
833556020d
Set runner OS to ubuntu-latest for notification
2022-02-14 14:16:27 +01:00
Fouad Tabbara
0cdb68bcf3
fix breaking changes + add vesting total period
2022-02-14 11:47:42 +00:00
Raphaël Walther
aa00eb70d5
Adedd env variables for notification
2022-02-14 12:19:13 +01:00
Fouad Tabbara
a882d10848
Merge branch 'develop' into feature/vesting-ui
2022-02-14 11:18:07 +00:00
Fouad Tabbara
c03a58ae9a
change file ext
2022-02-14 11:15:31 +00:00
Drazen Urch
2caf79fba0
Feature/vesting get current period ( #1111 )
...
* Add GetCurrentPeriod Msg
* Add a few more query endpoints
* Enrich original vesting response
2022-02-14 12:13:55 +01:00
Raphaël Walther
eda1822653
Removed beta and nightly rust builds
2022-02-14 10:28:12 +01:00
Raphaël Walther
0f1ff5ffd2
Added notifications to nightly builds
2022-02-14 09:04:02 +01:00
Raphaël Walther
9512fc34f0
Added workflow for daily builds
2022-02-11 14:21:06 +01:00
fmtabbara
75348922fc
close snackbars on component unmount
2022-02-11 13:13:45 +00:00
Drazen Urch
938eb2d0f0
Add UpdateMixnodeConfigOnBehalf to vestng contract ( #1091 )
...
* Add UpdateMixnodeConfigOnBehalf
* Rename one_u* function
2022-02-11 12:15:00 +01:00
dependabot[bot]
ede51fa589
Bump simple-get in /contracts/basic-bandwidth-generation ( #1110 )
...
Bumps [simple-get](https://github.com/feross/simple-get ) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/feross/simple-get/releases )
- [Commits](https://github.com/feross/simple-get/compare/v2.8.1...v2.8.2 )
---
updated-dependencies:
- dependency-name: simple-get
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 11:03:26 +00:00
dependabot[bot]
7e0711ce12
Bump simple-get from 3.1.0 to 3.1.1 in /clients/tauri-client ( #1108 )
...
Bumps [simple-get](https://github.com/feross/simple-get ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases )
- [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: simple-get
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 11:02:32 +00:00
dependabot[bot]
822f40239f
Bump simple-get from 3.1.0 to 3.1.1 in /nym-wallet ( #1107 )
...
Bumps [simple-get](https://github.com/feross/simple-get ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/feross/simple-get/releases )
- [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: simple-get
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 11:02:27 +00:00
Tommy Verrall
31149e6ba1
Merge pull request #1105 from nymtech/dependabot/npm_and_yarn/clients/webassembly/react-example/node-sass-7.0.0
...
Bump node-sass from 4.14.1 to 7.0.0 in /clients/webassembly/react-example
2022-02-11 10:36:16 +00:00
Drazen Urch
ba233b6016
Fix hardcoded period logic ( #1104 )
2022-02-11 09:44:15 +01:00
dependabot[bot]
3d17ab6a4b
Bump node-sass in /clients/webassembly/react-example
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.14.1 to 7.0.0.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.14.1...v7.0.0 )
---
updated-dependencies:
- dependency-name: node-sass
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-10 23:34:48 +00:00
fmtabbara
492f1dd199
add notifications
2022-02-10 10:16:23 +00:00
fmtabbara
172399f792
unlock spendable tokens
2022-02-09 17:06:31 +00:00
fmtabbara
22407c2911
create address component
2022-02-09 13:49:56 +00:00
fmtabbara
bdace0f9cb
truncate address
2022-02-09 12:31:30 +00:00
fmtabbara
15bbba590b
minor refactors
2022-02-09 11:27:26 +00:00
fmtabbara
a72264c685
get and display token allocation values
2022-02-09 11:27:09 +00:00
fmtabbara
2612cca708
refactoring
2022-02-09 11:25:26 +00:00
fmtabbara
fc16d1c839
add QA to network selector (temporary)
2022-02-09 10:36:29 +00:00
Jędrzej Stuczyński
f22bb282ab
Fixed underflow in rewarding all delegators ( #1099 )
...
* Fixed underflow in rewarding all delegators
* Slightly simplifying the loop
2022-02-07 11:30:17 +00:00
Jędrzej Stuczyński
d907b6b81a
Fixes infinite loops in requests involving pagination ( #1085 )
...
* Fixes infinite loops in requests involving pagination
* Removed duplicate code and added extra explanation for the decision
2022-02-07 11:29:00 +00:00
Tommy Verrall
1903938035
Merge pull request #1094 from nymtech/feature/minor-rewarding-adjustments
...
Emit original bond as part of rewarding event
2022-02-03 14:58:13 +00:00
mfahampshire
bb646c4f6a
updated token contract address
2022-02-03 14:43:37 +01:00
Mark Sinclair
99e64a7bc1
Merge pull request #1095 from nymtech/bug-fix/mainnet-blocks-url
...
create custom urls for mainnet
2022-02-03 12:30:40 +00:00
fmtabbara
7b960fa8a4
create custom urls for mainnet
2022-02-03 12:00:43 +00:00
Jędrzej Stuczyński
4c65ef3a2f
Emit original bond as part of rewarding event
2022-02-03 09:52:44 +00:00
Mark Sinclair
a4d84ffb1b
GitHub Action for Ubuntu wallet build needs new dependencies
2022-02-03 09:30:08 +00:00
Mark Sinclair
c495762a42
GitHub Actions add Ubuntu dependencies for tauri
2022-02-03 09:25:29 +00:00
Mark Sinclair
8d60a3ef6e
GitHub Action to publish Ubuntu wallet
2022-02-03 09:20:03 +00:00
Jon Häggblad
e24f8aa219
Fix rust 2018 idioms warnings ( #1092 )
...
* Fix elided-lifetimes-in-paths warnings
Enabling `-Wrust-2018-idioms` generates `-Welided-lifetimes-in-paths`
warnings about hidden lifetime parameters in types being deprecated
* Unused extern crate
2022-02-02 20:47:28 +01:00
Fouad
de864fe828
Feature/wallet login with password ( #1074 )
...
* create nymlogo component
* start scaffolding
* set up mnemonic check pages
* start on guess words components
* mnemonic verification work
* more mnemonic verification
* hard code number of words to generate
* mnemonic verification section 2
* add password strength indicator
* add password confirmation
* update text
* disable word tiles on selection
* add exisiting account page
* finish exisiting account login
* add back buttons to return to the initial screen
* update button size
* create network selection component
* implement network selector component
* update page types
* make currency and network dynamic variables
* remove unused env values
* [ci skip] Generate TS types
* lighten subtext
* display network name in app
* create network selector component
* remove old network display component
* update state in response to network selection
* state updates
* implement logout
* refresh delegations on network change
* Initial implementation of data encryption/decryption with provided password
* Removing milhon network.
* Removing more milhon references.
* Adding in mainnet constants for network defaults. Contracts are not yet defined.
* Allow encryption of EncryptedData<T>, where T: Serialize + Deserialize
It uses serde_json for representation of T
* Making contract addresses optional
* [ci skip] Generate TS types
* Add mainnet as implicit network
* Fix unreachable code warning
* Using zeroize for encrypted data + password
* Get denom dynamically
* initialize network to undefined before login
* Fix str parse to dynamic denom
* Pass network in config all the way to hd wallet generation
* Fixed encrypted data deserialization
* Storing and loading accounts from the disk
* Additional error variants
* Fix clippy in wallet
* Simplified contract address parsing
* display error
* fix typo
* uncomment code
* Use sandbox as backend default again
* Reorganised wallet storage for easier testing + unit test
* Fix denom showing
* to_major call only on printable balance
* fix up state changes
Co-authored-by: Dave Hrycyszyn <futurechimp@users.noreply.github.com >
Co-authored-by: fmtabbara <fmtabbara@users.noreply.github.com >
Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Co-authored-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net >
2022-02-02 18:25:02 +00:00
Mark Sinclair
8bc8671678
Fix up readme
2022-02-02 17:39:50 +00:00
Mark Sinclair
c37d6b9296
Add release documentation for the Nym wallet
2022-02-02 17:36:29 +00:00
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
Drazen Urch
fe6c685ab1
Feature/hourly set updates ( #1012 )
...
* Rename function/variables mixnodes->set
* Stub utility interface
* Rewarded set contract interface
* Move epoch to common, epoch to contract
* Move epoch to the chain
* Rewarded set validator-api
* [ci skip] Generate TS types
* Epoch queries
* Moved new code to a new module
* Restored cosmwasm dependencies to their beta.3 versions for better compatibility with the rest of the codebase
* Rewarded set write reorganisation
* Stub for validator api module responsible for rewarded set updates
* Reorganised validator api cache
* Pending contract changes
* Relevant updates to the validator client
* Updating rewarded set based on contract state
* Advancing/Setting current epoch in the contract
* Using blocktime as 'now' at startup
* Adjusted validator-api side rewarding code
* Contract cleanup + query for epoch rewarded set heights
* [ci skip] Generate TS types
* Simplified rewarder processing loop and initial sync
* [ci skip] Generate TS types
* Fixed EXISTING query-related unit tests
* Fixed existing unit tests for rewarding-related transactions
* Cargo fmt
* Removed some dead code
* Using cosmwasm 1.0.0-beta3 for compatibility [with cw-storage-plus and rest of codebase]
* Missing TryInto import
* Additional storage and query related unit tests + a bug fix
* Transaction-related unit tests + bug fixes
* Required migration code
* Update common/cosmwasm-smart-contracts/mixnet-contract/src/msg.rs
Co-authored-by: Drazen Urch <drazen@urch.eu >
* Update common/cosmwasm-smart-contracts/mixnet-contract/src/msg.rs
Co-authored-by: Drazen Urch <drazen@urch.eu >
* Constant renaming
* Changed determining previous epoch return type to Option<Epoch> if they would precede the genesis
* Exposed the new endpoint to the wallet
* Epoch-related unit tests fixes
* Recommended #[must_use] on next_epoch method
* Renamed all epoch occurences to interval
As they refer to the 'rewarding interval'
Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com >
Co-authored-by: jstuczyn <jstuczyn@users.noreply.github.com >
2022-01-21 14:04:23 +00:00
Bogdan-Ștefan Neacșu
c64c36022f
Add mnemonic just on creation, to display it
2022-01-21 14:57:42 +02:00
Mark Sinclair
e52fe65985
Network Explorer: updates to API and UI to show the active set ( #1056 )
...
* Add identicons package
* Tidy up styling and move methods into component directories with better naming
* Add mixnode status colours to theme
* Mixnode status and icon components
* Add status to mixnode types
* Add API method to get mixnode details
* Add mixnode details to state
* Add status and name+description section to mixnode detail page
* Wrap with div instead of p
* Limit width of description and link to new tab
* Limit length of link button and truncate with elipsis
* Replace `filter` with `find`
* Move mix node detail components to a location that is better named
* Refactor mixnode detail state and separate into an independent context from main state.
This prevents the mixnode detail page from showing stale data when switching between mix nodes.
* Tidy up mixnode detail page adding new state provider and a guard component to handle loading, error and not found states
* Layout changes to mixnode description header section
* Add methods to Explorer API client to get a mixnode by id, active set by status and overview summary
* Add color prop to StatsCard and make count optional
* Add optional start and end children to TableToolbar
* Tidy up naming
* Add summary overview and getting mixnodes by active set status to main state
* Add mix node status overview cards
* Add mix node status to routes
* Mixnode list has a dropdown component to select the active set status
* Clean up caching code
* Add resource to get a single mixnode by id
* Add API resources to get `active`, `inactive` and `standby` mixnodes
* Add mixnode summary to API
* Add overview summary endpoint to API
* Fix OpenAPI/swagger base url
* Make clippy happy
* Add method to get validators
* Add methods to get active and rewarded mixnodes
* Fix naming
* Move client creation to crate root
* Move cache to module
* Delete unused files
* Add validators API resource
* Add gateways API resource
* Move tasks to crate root
* Add new HTTP resources for validators and gateways to routes
* Tidy up naming and locations for mixnodes
* Add validator and gateways to state, and tidy up naming
* Add gateways and validator modules to main
* Overview shows validator and gateway summaries from state
* Bundle variable weight Open Sans fonts
* Fix up font weights and sizes
* Fix up typing
* Fix up social icons
* Fix navbar colour
* Fix paper colour in dark mode and border radius
* Fix up stats card
* Tidy up Nym icons
* Fix up overview
* Fix up spacing and padding for overview
* Add light mode shades that are darker for mixnode status values
* Review feedback
2022-01-21 11:28:59 +00:00
Tommy Verrall
fea64d4d4f
Merge pull request #1052 from nymtech/feature/tokio-console
...
Feature/tokio console
2022-01-20 12:23:29 +00:00
durch
6ff02bc2a1
Fix wallet clippy lints
2022-01-20 11:31:35 +01:00
durch
8b166f12f8
Instrument tokio console
2022-01-20 11:17:33 +01:00
Jędrzej Stuczyński
ecdbe034fa
Implemented beta clippy lint recommendations ( #1051 )
2022-01-19 20:32:48 +01:00
Tommy Verrall
3e46c8630d
Merge pull request #1050 from nymtech/update/validator-client-profit-percentage
...
add new function to update profit percentage
2022-01-19 16:18:47 +00:00
fmtabbara
93e962524a
update types
2022-01-19 14:05:43 +00:00
dependabot[bot]
5b6c1c032c
Bump shelljs in /contracts/basic-bandwidth-generation ( #1043 )
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
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-19 14:00:19 +00:00
dependabot[bot]
135f1a6e7f
Bump follow-redirects in /contracts/basic-bandwidth-generation ( #1041 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.4 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.4...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-19 14:00:12 +00:00
dependabot[bot]
c61f89144e
Bump follow-redirects from 1.14.5 to 1.14.7 in /testnet-faucet ( #1040 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.5 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.5...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-19 14:00:06 +00:00
Tommy Verrall
67fe368e65
Merge pull request #1033 from nymtech/feature/configurable_wallet
...
Feature/configurable wallet
2022-01-19 10:36:17 +00:00
Bogdan-Ștefan Neacşu
522229459b
Fix clippy on relevant lints ( #1044 )
...
* Fix clippy on relevant lints
return_self_not_must_use still produces errors, but that will be
auto-fixed once the change to move it to pedantic is released to beta
channel
* Run fmt
2022-01-18 21:37:51 +01:00
Drazen Urch
e3d8b71ea2
Endpoint for rewarded set inclusion probabilities ( #1042 )
...
* Add validator-api endpoint
* Add validator-client method
* Make it a bit nicer
* Address review comments
* Cap probability at 1.
2022-01-18 21:26:15 +01:00
Fouad
4f98fde362
Merge pull request #1046 from nymtech/feature/additional-bond-validation
...
Feature/additional bond validation
2022-01-18 12:57:14 +00:00
fmtabbara
aa75e54419
dont display warnings on successful bond or delegate
2022-01-18 11:45:27 +00:00
fmtabbara
5190a541a6
add warning to delegate page
2022-01-18 11:30:56 +00:00
fmtabbara
3a39fff006
PR updates
2022-01-18 10:16:36 +00:00
fmtabbara
0e302b83ab
add warning for unbonding
2022-01-17 18:42:13 +00:00
Fouad
0d0637fe19
Merge pull request #1036 from nymtech/feature/node-settings-update
...
Feature/node settings update
2022-01-17 18:16:24 +00:00
fmtabbara
1f0c0090dc
merge develop
2022-01-17 17:53:14 +00:00
fmtabbara
4f960330b1
Merge branch 'develop' into feature/additional-bond-validation
...
merge develop
2022-01-17 17:36:41 +00:00
fmtabbara
a273980aa0
refactor
2022-01-17 17:34:39 +00:00
neacsu
13a55f00d8
[ci skip] Generate TS types
2022-01-17 15:50:06 +00:00
Bogdan-Ștefan Neacșu
4feec780d4
Use fn new() for Account
2022-01-17 17:39:21 +02:00
Bogdan-Ștefan Neacșu
35c044c340
Store all clients and discard mnemonic
2022-01-17 17:24:52 +02:00
Bogdan-Ștefan Neacșu
ac5539a0fa
Export ts type file
2022-01-17 14:44:43 +02:00
Bogdan-Ștefan Neacșu
9c569cbb62
Expose switch_network to frontend
2022-01-17 14:13:15 +02:00
Bogdan-Ștefan Neacșu
72485cacd3
Pass possible network values using Network type
...
Export a Network type to TS and make seamless transitions between this
type and the network defaults one. We may have more networks supported
in the backend then in the frontend at a certain moment in time.
2022-01-17 13:38:10 +02:00
Drazen Urch
56d36d2c46
Migrate to cw-storage-plus 0.11.1 ( #1035 )
2022-01-14 20:59:40 +01:00
Drazen Urch
8fb54dd4e7
Feature/downcast reward estimation ( #1031 )
...
* Downcast u128 to u64
* fmt
* Fix status
* fmt
2022-01-14 20:57:51 +01:00
dependabot[bot]
44d59ff8c2
Bump @openzeppelin/contracts in /contracts/basic-bandwidth-generation ( #1034 )
...
Bumps [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts ) from 4.4.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.4.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-14 15:50:57 +00:00
fmtabbara
a8caf19f8c
additional balance check before bonding
2022-01-14 14:32:16 +00:00
fmtabbara
53b44fb9c6
remove unused import
2022-01-13 17:30:11 +00:00
fmtabbara
c0959e853e
spacing updates
2022-01-13 17:07:18 +00:00
fmtabbara
144df00782
fix conflicts and refine UI
2022-01-13 16:40:59 +00:00
Fouad
be4708cc84
Merge pull request #1028 from nymtech/feature/ui-updates
...
Wallet UI updates
2022-01-13 15:45:36 +00:00
fmtabbara
d5cddec03c
merge develop
2022-01-13 15:36:06 +00:00
fmtabbara
7c26cab4e6
get updated mixnode details after bonding/unbonding txs
2022-01-13 15:32:29 +00:00
Bogdan-Ștefan Neacșu
f0bcf8c36f
Update wallet backend
2022-01-13 17:20:17 +02:00
Bogdan-Ștefan Neacșu
ac2f0a172e
Store multiple network values in one place
2022-01-13 17:20:17 +02:00
Bogdan-Ștefan Neacșu
898070bc87
Rename some defaults
2022-01-13 17:20:17 +02:00
Bogdan-Ștefan Neacșu
cc707660aa
Expose both default and specific network values
2022-01-13 17:20:17 +02:00
fmtabbara
31624cf4e4
fix Rust u128 -> TS BiInt issue
2022-01-13 11:22:04 +00:00
fmtabbara
e6a69170a4
raise mixnodedetails to main context
2022-01-13 11:22:04 +00:00
Bogdan-Ștefan Neacşu
bc5e19514e
Remove migration code ( #1027 )
2022-01-13 11:59:56 +01:00
fmtabbara
5c76b8483e
add new function to update profit percentage
2022-01-13 10:10:42 +00:00
fmtabbara
a9526c216f
[ci skip] Generate TS types
2022-01-12 21:49:08 +00:00
fmtabbara
903af16a6b
update settings state
2022-01-12 21:39:12 +00:00
fmtabbara
0de79b6953
create fee component
2022-01-12 21:38:06 +00:00
fmtabbara
fd2fafb52a
[ci skip] Generate TS types
2022-01-12 20:39:36 +00:00
fmtabbara
fadb5b4ff9
update ui and state
2022-01-12 20:30:56 +00:00
fmtabbara
955583d0f0
merge develop
2022-01-12 16:04:48 +00:00
Fouad
3924c53d09
Merge pull request #1014 from nymtech/feature/update-profit-percentage
...
update frontend to use new profit update api
2022-01-12 15:33:28 +00:00
fmtabbara
c0025ee9c6
update getfee function
2022-01-12 15:30:47 +00:00
fmtabbara
7dd0516b63
only request when settings open
2022-01-12 14:07:46 +00:00
fmtabbara
d3cd3c9157
Merge branch 'develop' into feature/update-profit-percentage
...
merge develop
2022-01-12 12:49:59 +00:00
fmtabbara
83680473e0
Merge branch 'develop' into feature/additional-node-details
...
merge develop
2022-01-12 11:38:08 +00:00
fmtabbara
7f9a9f7a0a
update node icon
2022-01-12 11:03:48 +00:00
fmtabbara
e7ccb38502
use fullwidth input
2022-01-12 10:13:44 +00:00
Bogdan-Ștefan Neacşu
1f4c19d396
Add network defaults for qa ( #1017 )
...
* Add network defaults for qa
* update contract addresses
- have not updated the bandwith credential address - currently vesting
Co-authored-by: Tommy Verrall <tommyvez@protonmail.com >
2022-01-12 09:56:20 +01:00
fmtabbara
64842f40d7
integrate with new api
2022-01-11 19:41:16 +00:00
fmtabbara
2ec18721fc
Merge branch 'develop' into feature/ui-updates
...
merge develop
2022-01-11 18:14:11 +00:00
fmtabbara
2ef1ac452f
fix bug - send from address not showing
2022-01-11 18:11:46 +00:00
Jędrzej Stuczyński
6b3700aefe
Feature/expanded events ( #1015 )
...
* Expanded emitted events for delegation-related transactions
* Expanded emitted events for gateway-related transactions
* Expanded emitted events for mixnode-related transactions
* Expanded emitted events for settings update transaction
* Expanded emitted events for rewarding-related transactions
* Fixed attribute look up in tests
* Making linter happier
* Reorganised cosmwasm contract-related modules
* Introduced similar event handling to the vesting contract
2022-01-11 16:56:12 +00:00
Jędrzej Stuczyński
e2e06df4e6
Feature/validator api client endpoints ( #1024 )
...
* Moved mixnode status route to node status api module
* Introduced validator-api endpoint for estimating mixnode's reward
* Stake saturation endpoint
* kebab-cased coconut routes
* Created separate crate for validator API models
* Additional routes in validator API client
* Introduced support for new queries in the wallet
* Typescript type derivation
* Fixed up date in license notice
2022-01-11 16:37:07 +00:00
Jędrzej Stuczyński
835d4f46f6
Introduced denom check when trying to withdraw vested coins ( #1018 )
...
* Introduced denom check when trying to withdraw vested coins
* Using correct denom in the relevant unit test
2022-01-11 16:31:39 +00:00
Jędrzej Stuczyński
d71ef635e2
Restricted blake3 dependency ( #1025 )
2022-01-11 16:22:55 +00:00
Bogdan-Ștefan Neacşu
6e3773a095
Feature/remove unused profit margin ( #1011 )
...
* Remove unused field, to avoid confusion
* Add migration code
* Update tests
* Make clippy happy
2022-01-11 16:05:15 +01:00
mfahampshire
17a30be842
added mainnet gravity contract address
2022-01-11 14:42:33 +01:00
mfahampshire
d785d621ec
temporarily removed indexd string (in place of just string now) from emitted event in bandwidth generator
2022-01-11 14:36:03 +01:00
mfahampshire
904caca9de
added mainnet deploy script + prettified contract addresses json
2022-01-11 13:43:46 +01:00
Jędrzej Stuczyński
050d370396
Updated cosmrs to 0.4.1 ( #1023 )
2022-01-11 11:26:34 +00:00
Jędrzej Stuczyński
29340ed00c
Feature/additional mixnode endpoints ( #1019 )
...
* Moved mixnode status route to node status api module
* Introduced validator-api endpoint for estimating mixnode's reward
* Stake saturation endpoint
2022-01-11 09:38:39 +00:00
fmtabbara
2b062b3e5b
add link to network explorer
2022-01-10 23:00:17 +00:00
fmtabbara
b405adb9e5
add icons to card headers and balance padding
2022-01-10 22:36:12 +00:00
fmtabbara
5c3c0ac39e
remove border lines and grey bg for card component
2022-01-10 21:17:47 +00:00
fmtabbara
1cc06ef349
update get_approx_fee to new function name _outdated_get_approx_fee
2022-01-10 17:31:43 +00:00
fmtabbara
2bef1603ab
style updates
2022-01-10 17:27:01 +00:00
Mx
11a458a43d
Merge pull request #1020 from RiccardoMasutti/patch-1
...
Fix 404 link
2022-01-10 18:00:58 +01:00
mfahampshire
55775b6e7b
added args for verifying token deployed by gravity bridge
2022-01-10 16:05:45 +01:00
mfahampshire
bb959544af
extra logging for verification
2022-01-10 15:18:44 +01:00
mfahampshire
f7853c5531
added args library for etherscan verification
2022-01-10 15:14:49 +01:00
mfahampshire
e6d2626fd7
deployed gravity to rinkeby
2022-01-10 15:14:24 +01:00
mfahampshire
08a2bc5c8d
updated scripts to be network specific
2022-01-10 14:44:14 +01:00
mfahampshire
6d09e6fa7c
updated configs + dependencies
2022-01-10 14:43:48 +01:00
mfahampshire
b1f4ae434a
updated test to use test contract versions
2022-01-10 13:26:49 +01:00
mfahampshire
1647c368fb
updates:
...
* pragma bump to 0.8.10
* updated gravity bridge contracts
* moved modified contracts to new 'test' dir for unit test clarity
2022-01-10 12:19:26 +01:00
Jędrzej Stuczyński
1fbf37e0ec
Changed wallet's client to a full validator client ( #1021 )
...
So that it could use validator API calls in the near future
2022-01-10 11:17:08 +00:00
mfahampshire
1acdb0c519
updated scripts + gitignore
2022-01-10 11:23:20 +01:00
Riccardo Masutti
bc8efda08f
Add wallet build instructions
...
Added wallet link
2022-01-09 16:00:17 +01:00
Riccardo Masutti
cecd0b2b0a
Fix 404 link
2022-01-09 15:56:45 +01:00
Jędrzej Stuczyński
62fa2ae5e4
Feature/node state endpoint ( #1013 )
...
* Introduced route to check mixnode's status (active/standby/inactive/not_found)
* Restored default validator API caching interval to a more sane value
* Changed status route
2022-01-07 11:57:38 +00:00
fmtabbara
db2ce8070c
display mixnode update fee
2022-01-06 16:16:32 +00:00
fmtabbara
70138ff54a
update frontend to use new profit update api
2022-01-06 13:00:50 +00:00
Bogdan-Ștefan Neacşu
30e93c33bb
Feature/configure profit ( #1008 )
...
* Introduce a method to update mixnode configuration
Right now, only for profit_margin_percent
* Check that the new profit margin is valid
* Extend a bit the test coverage of mixnode update
* Create validator client function
* [ci skip] Generate TS types
* Update wallet
* Update the bond height as well, as if a rebond was made
Co-authored-by: neacsu <neacsu@users.noreply.github.com >
2022-01-06 13:03:14 +01:00
Jędrzej Stuczyński
ec4955f814
Feature/explorer node status ( #1010 )
...
* Restored mixnode refresh rate to a more sane value
* Moved PrettyMixNodeBondWithLocation to models.rs
* Renaming
* Exposed ability to query for rewarded mixnodes in the validator client
* Reorganised mix_nodes module
* Determining mixnode status (active/standby/inactive)
* Moved LocationCache to separate lock
* Minor cleanup
* Changed serialization case of status enum
* Made clippy happier
* Slightly better grammar
2022-01-06 10:38:14 +00:00
Drazen Urch
e013517348
Use serial integer instead of random ( #1009 )
...
* Use serial integer instead of random
* [ci skip] Generate TS types
* cargo fmt
* Return u32
2022-01-05 15:28:17 +01:00
Mark Sinclair
e2302466cc
Use network explorer map data with disputed areas
...
See https://github.com/zcreativelabs/react-simple-maps/issues/251 and https://github.com/nvkelso/natural-earth-vector/issues?q=is%3Aissue+crimea+is%3Aclosed
2021-11-25 16:16:26 +00:00