Commit Graph

5156 Commits (88386c91f9d79502965d55e4645774975d63e0f6)

Author SHA1 Message Date
vzotova 24b7fc3539 Versioned contract class, contract version in registry, ability to remove parameters from constructor in deployers (overrides) 2019-12-24 19:01:04 +03:00
vzotova 06d9f3921a Deployers: version as input parameter 2019-12-24 19:01:04 +03:00
vzotova df2fbc290e Deployers: overrides for constructor parameters 2019-12-24 19:01:03 +03:00
vzotova 4ce0a3658b Upgradability test: download contracts from github, master branch 2019-12-24 19:01:03 +03:00
vzotova 7002734e0b Test for multi-source solidity compilation 2019-12-24 19:01:03 +03:00
vzotova 4971a3d468 Versions for upgradeable contracts, deploy contract using version 2019-12-24 19:01:03 +03:00
vzotova b140a03972 SolidityCompiler: ability to use multiple directories for compilation 2019-12-24 19:01:02 +03:00
vzotova 79f50206c6 Removed unnecessary * from solidity docs 2019-12-24 19:01:02 +03:00
K Prasch ee79b2e55e
Merge pull request #1533 from KPrasch/static
Static Nodes from Disk
2019-12-23 15:39:20 -08:00
David Núñez caaaaa0a54
Merge pull request #1543 from mswilkison/python-version
Add python 3.8 support to docs
2019-12-19 11:36:20 +00:00
Kieran R. Prasch f4d77b6e96 Fixes --dev domain for Alic and Bob init via CLI. 2019-12-18 21:48:43 -08:00
Kieran R. Prasch 000645b3f7 Focused URI aggregation; Fixes exccessive seednode Teacher init calls; Optimizes static node file I/O; Handle non-staking seeds. 2019-12-18 21:48:43 -08:00
MacLane Wilkison 3da234ce82 Add python 3.8 support to docs 2019-12-18 15:24:31 -08:00
Kieran R. Prasch b6b59f86f2 Correct typo in hardcoded preferred node 2019-12-18 14:44:39 -08:00
Kieran R. Prasch 8be0db6467 Introduce optional static nodes from JSON config file 2019-12-18 14:44:39 -08:00
David Núñez 1a1491da03
Merge pull request #1539 from derekpierre/data-flow
CLI Guide for Grant and Retrieve
2019-12-17 16:44:20 +00:00
derekpierre 010ed72301 Convert CLI demo into a CLI guide 2019-12-17 09:35:30 -05:00
derekpierre dfe88ab3f6 Added CLI demo example for grant and retrieve to docs
Remove extended timeout from cherry-picked commit
2019-12-16 11:45:14 -05:00
Michael Egorov c1734da38b Hackathon demo - example and dirty fix
(cherry picked from commit 8250549433f15844586406d708bc1e4cd4c4f1e0)
2019-12-13 14:08:56 -05:00
K Prasch 881a8cfd22
Merge pull request #1523 from KPrasch/carlin
Excavate Re-encryption logic; WorkOrder Datastore Models
2019-12-13 10:17:05 -08:00
Kieran R. Prasch fd2bc932f6 Respond to RFCs in PR #1523 2019-12-13 10:02:05 -08:00
K Prasch c013368566
Merge pull request #1520 from KPrasch/casette
Tolerate non-staking nodes in storages; Handle NotStaking in learning
2019-12-12 13:45:24 -08:00
Kieran R. Prasch 597fe0bc21 Tolerate invalid, non-staking nodes from storages to avoid crash on start-up. 2019-12-12 11:27:25 -08:00
Kieran R. Prasch 77b297ede3 Excavate reencryption logic onto Ursula proper. 2019-12-11 18:23:56 -08:00
Kieran R. Prasch eba53f3206 Prepare datastore models for storing WorkOrders 2019-12-11 17:14:40 -08:00
K Prasch 7de90660d3
Merge pull request #1480 from cygnusv/allocation-cli
Updates to PreallocationEscrow and allocation CLI operations
2019-12-11 16:28:31 -08:00
David Núñez fa5556fbed Advance in the decoupling of RegistrySourceManager from BaseContractRegistry 2019-12-11 13:32:03 +01:00
David Núñez 5cc04f6d1d Simplify PreallocationEscrow.withdrawTokens(). Thanks @vzotova, you rock
* Use StakingEscrow.getAllTokens instead of getLockedTokens, so unlocked tokens are also considered for the limit deduction
* This is fine since tokens are still in StakingEscrow, and only can leave via PreallocationEscrow
2019-12-11 13:32:03 +01:00
David Núñez 9b2d5d2fde Implement `nucypher stake preallocation` subactions as a click argument 2019-12-11 13:32:03 +01:00
David Núñez 79f424a88a Apply suggestions from reviews 2019-12-11 13:32:03 +01:00
David Núñez d3b961f9bd PreallocationEscrowAgent.available_balance returns the balance that can be collected, considering both locked and staked tokens 2019-12-11 13:32:02 +01:00
David Núñez 5721748e3d Update in-package registry to changes in v1.2.0-beta.2 2019-12-11 13:32:02 +01:00
David Núñez e8c61c547e Allow `nucypher-deploy download-registry` to choose blockchain network
See #1496
2019-12-11 13:32:02 +01:00
David Núñez a4dac766a2 Some touches to `nucypher-deploy` help text and output of inspect action 2019-12-11 13:32:02 +01:00
David Núñez 82b8dbd0d6 Test `nucypher stake preallocation --status` and `--withdraw-tokens` 2019-12-11 13:32:02 +01:00
David Núñez ad3502a95f No need to support `nucypher stake preallocation --withdraw-eth`
Currently, PreallocationEscrow contracts can't receive ETH. Changing that require an update to StakingInterface
2019-12-11 13:32:02 +01:00
David Núñez b821f2cf90 Clarifying the docs to account for preallocation stakers 2019-12-11 13:32:00 +01:00
David Núñez 30d6631757 Workaround to ContextualVersionConflict - see #1482 2019-12-11 13:27:08 +01:00
David Núñez 428c7f2a0e TODOs and housekeeping 2019-12-11 13:27:08 +01:00
David Núñez 2caa88c68d Adapt tests to latests changes in PreallocationEscrow 2019-12-11 13:27:08 +01:00
David Núñez fe11752e58 Introduce mock_transacting_power_activation fixture 2019-12-11 13:27:08 +01:00
David Núñez da7a572549 Adapt tests to new registry fetching; extract common fixture. 2019-12-11 13:27:08 +01:00
David Núñez 2e21c26b18 Move fallback logic when fetching to RegistrySourceManager 2019-12-11 13:27:08 +01:00
David Núñez 3d64bbbe57 Implement a fallback mechanism for contract registry. Closes #1454
* Includes a copy of the contract registry at nucypher/blockchain/eth/contract_registry
2019-12-11 13:27:08 +01:00
David Núñez cf5cef9a20 Adapt PreallocationEscrow deployer and tests to latest changes 2019-12-11 13:27:08 +01:00
David Núñez 91e73b1410 Allow to withdraw excess NU from PreallocationEscrow if there's enough stake 2019-12-11 13:27:08 +01:00
David Núñez dfc5b987b2 First pass at `nucypher stake preallocations --withdraw-tokens` and `--withdraw-eth` 2019-12-11 13:27:08 +01:00
David Núñez f9a5d4a51b Janitorial stuff 2019-12-11 13:27:08 +01:00
David Núñez e0907c489e `nucypher stake preallocation --status` shows preallocation balance 2019-12-11 13:27:08 +01:00
David Núñez 812bfebaab Provide a potential explanation to StakingWallet.UnknownAccount exception 2019-12-11 13:27:08 +01:00