Commit Graph

7811 Commits (8fec721a5a96e41aa0ec7cc77489b0c279fab812)

Author SHA1 Message Date
mswilkison 8fec721a5a Update contract registry for StakingEscrow 2020-10-13 16:53:26 -05:00
mswilkison 33f5cd37d1 Update contract registry for PolicyManager 2020-10-13 16:47:17 -05:00
K Prasch 1ae88977aa
Merge pull request #2204 from vzotova/optimize-it
One more time: `commitToNextPeriod` gas optimizations
2020-10-13 14:04:09 -07:00
K Prasch 9707ac4b8b
Merge pull request #2347 from fjarri/nicer-status-page
Nickname refactoring & changing nickname symbols to more common ones
2020-10-13 12:09:20 -07:00
K Prasch 4f5f0735c7
Merge pull request #2132 from tuxxy/treasure-map-storage
Integrate Treasure Map storage into the Datastore
2020-10-13 11:31:05 -07:00
tuxxy 4e97828ff8 Add Optional typehint 2020-10-13 16:12:04 +02:00
vzotova d3562f6d1c Solidity 0.7.1 -> 0.7.3 2020-10-13 16:44:45 +03:00
vzotova e4aa44a10b Apply suggestions from code review #2204
Co-authored-by: David Núñez <david@nucypher.com>
2020-10-13 16:05:35 +03:00
tuxxy e04258e2c6 Respond to @kprasch review comments 2020-10-13 10:01:37 +02:00
tuxxy 35b10ec62d Handle 409 response in receive_treasure_map 2020-10-13 10:01:37 +02:00
tuxxy 38d0fccefd Truncate hracs to 16 bytes 2020-10-13 10:01:37 +02:00
tuxxy 622b4ed1ba Fix test_mass_treasure_map_placement (thanks @jmyles) 2020-10-13 10:01:37 +02:00
tuxxy c965f72c2e Fix DoS vector on nodes through map storage 2020-10-13 10:01:37 +02:00
jMyles 94b489aa77 This test makes more sense if it just shows that no more than one map was saved, because the 'sucker' might already have had the 'legit' map. 2020-10-13 10:01:37 +02:00
jMyles 41b39bfa7b Amonia performs a pay-in-advance variant of The Wicker Man attack. 2020-10-13 10:01:37 +02:00
tuxxy 86c2744dae Add test_bob_retrieves_treasure_map_from_decentralized_node 2020-10-13 10:01:37 +02:00
tuxxy 5962cd4c05 Prune expired treasure maps in __prune_datastore (formerly __prune_arrangements) 2020-10-13 10:01:37 +02:00
tuxxy 828a630c0e Remove treasure_map_id param from receive_treasure_map API endpoint
Fix up logic and add tests. Additionally, skip test_mass_treasure_map_placement
2020-10-13 10:01:37 +02:00
tuxxy 14f3a50bf2 Add datetime/disabled check for treasure map storage 2020-10-13 10:01:37 +02:00
tuxxy b3730650d0 Modify fetch_policy to optionally return the policyowner to avoid a second call/messy logic 2020-10-13 10:01:37 +02:00
tuxxy 4b128d871e The NodeEngagementMutex should expect a 201 not a 202. 2020-10-13 10:01:37 +02:00
jMyles b1572b9669 Timeout NodeEngagementMutex blockers. 2020-10-13 10:01:37 +02:00
tuxxy f87e088dec Implement TreasureMap storage in the Datastore 2020-10-13 10:01:37 +02:00
tuxxy 46e1fdd4c1 Create a TreasureMap datastore record and move model tests to test_datastore_models
Move test_datastore_models to unit tests
2020-10-13 10:01:37 +02:00
Bogdan Opanchuk 058bbbb5da Use NATO phonetic alphabet for nicknames 2020-10-12 16:11:03 -07:00
Bogdan Opanchuk 725eae1738 Pass nicknames around as a class instead of unstructured data 2020-10-12 16:11:01 -07:00
Kieran Prasch 33d012c9f1
Bump version: 3.0.0-beta.3 → 3.0.0-beta.4 2020-10-12 15:46:03 -07:00
vzotova c2f735ed73 StakingEscrow: allow to claim tokens from worklock before initialization 2020-10-13 00:23:37 +03:00
vzotova 3bc64b203f Attempt to avoid nonce errors in test_upgradeability 2020-10-12 23:57:22 +03:00
vzotova 76fbdce7f8 Combine two methods called from StakingEscrow -> PolicyManager into one 2020-10-12 14:31:26 +03:00
K Prasch bb49cc77ff
Merge pull request #2343 from derekpierre/only-use-rewards
Allow --from-unlocked flag to specify when only uncollected staking rewards and unlocked substakes are used for creating/increasing a stake.
2020-10-09 11:16:52 -07:00
derekpierre c04ef09d24 Use --from-unlocked to indicate the use of uncollected staking rewards and unlocked sub-stakes to fund stake. 2020-10-09 11:26:31 -04:00
derekpierre 388dd3734a Allow --use-rewards flag to specify when only uncollected staking rewards should be used for creating/increasing a stake.
If value is provided then user not prompted, but if it isn't and --use-rewrads is specified, user is prompted to confirm.
2020-10-08 13:57:13 -04:00
K Prasch 372b605f35
Merge pull request #2080 from vepkenez/deploy-foo
Automated cloud deployment for all!
2020-10-07 14:59:38 -07:00
damon 92a30629f7 change docs label, add example and node about --remote-provider 2020-10-07 13:50:27 -07:00
K Prasch e821f41c5b
Merge pull request #2339 from derekpierre/to-testnet-or-not-to-testnet
Ensure that testnet flag is set correctly for deployer
2020-10-07 12:59:59 -07:00
derekpierre b4021faffa Ensure that testnet flag is set correctly for deployer. 2020-10-07 14:42:30 -04:00
damon a91ab69c2d de-duplicate doc label 2020-10-07 10:00:30 -07:00
damon 826282811e formatting, RFCs 2020-10-06 13:14:33 -07:00
damon 43dbe26dd8 add prometheus option 2020-10-06 11:04:09 -07:00
damon 77dae7b4f6 RFCs, improved reliability 2020-10-06 10:36:10 -07:00
damon 975291dcbd fix doc title overline 2020-10-06 10:36:10 -07:00
damon f954323098 adds docs nucypher_host_management_cli 2020-10-06 10:36:10 -07:00
damon a769811211 tweaks to aws deploy 2020-10-06 10:36:10 -07:00
damon f1b127d6a1 unified config destroy resourcs 2020-10-06 10:36:10 -07:00
damon 7141f9fe96 working generic node deploy 2020-10-06 10:36:10 -07:00
damon ccb368123c generic hosts implemented 2020-10-06 10:36:10 -07:00
damon 5f883ef8e5 prepare for unified configs, generic hosts 2020-10-06 10:36:10 -07:00
damon be7c7d31f3 rename/cleanup envvars 2020-10-06 10:36:10 -07:00
damon be59a72e52 tweaks to destroy 2020-10-06 10:36:10 -07:00