Commit Graph

1623 Commits (45bf82b0339172fdbffc5939444f461b741f05e2)

Author SHA1 Message Date
szotov 2c77a50b54 Removed circular dependency from MinersEscrow 2018-04-19 12:54:08 +03:00
jMyles f4d43470d2 DelegatingPower now derives its Keypairs from a label. 2018-04-18 23:56:13 -07:00
jMyles 7890dcc2b2 Several touchups to Finnegan's Wake logic and the high-level APIs that power it. 2018-04-18 23:23:47 -07:00
Justin Holmes b259d6e796
Merge pull request #242 from jMyles/finnegans-wake
Plausible draft developer-facing API.
2018-04-18 16:13:57 -07:00
K Prasch d7d69f1bef
Merge pull request #236 from KPrasch/solc-pipeline
Port to web3 + py-solc compiler + ContractProvider
2018-04-17 17:20:38 -07:00
Kieran Prasch 9ad74ec8a6 Pytest Geth + PyEVM fixtures. 2018-04-17 10:51:44 -07:00
Kieran Prasch f07ed43a32 Contract test Web3 API Updates; 2018-04-17 10:50:53 -07:00
Kieran Prasch f7bf3b10fd Fix Registarar multi-chain bug 2018-04-17 10:49:08 -07:00
Kieran Prasch 2670982d00 Moves global airdrop to Testerchains init. 2018-04-17 10:43:10 -07:00
jMyles 50915fc1f2 Removing "random" Ursulas from tests; selecting by rest_port instead. 2018-04-17 02:44:10 -07:00
jMyles 4e6a0409ce Finnegan's Wake demo updated:
* No longer uses the DHT for Alice and Bob
* Uses new higher-level methods (and is much shorter).
2018-04-17 01:53:46 -07:00
jMyles 3f55470870 Tests for new Bob and TreasureMap logic. 2018-04-17 01:53:46 -07:00
jMyles 4e86386caf TreasureMap touchups, including the value of m. See #238. 2018-04-17 01:52:30 -07:00
jMyles 06c1c6b06b Updating tests and splitters. 2018-04-17 01:52:30 -07:00
jMyles d32f290d6b DataSource now automatically generates a signer - not sure how we want to generate this keypair. See #241. 2018-04-17 01:52:30 -07:00
jMyles b1ed0a7736 Keeping Ursula objects as known_nodes instead of tuples. Closes #239.
Adding convenience logic for Bob.
2018-04-17 01:52:30 -07:00
jMyles bc31f32561 Bob can follow the TreasureMap without connecting to the DHT. 2018-04-17 01:52:30 -07:00
jMyles ea722daa9b Alice now publishes the TreasureMap as part of grant(). 2018-04-17 01:52:30 -07:00
jMyles 9a0c7721cf New Character bootstrapping logic to allow Characters to connect to the network without the DHT. 2018-04-17 01:52:30 -07:00
jMyles 97f422436f Attaching network middleware directly to Characters. 2018-04-17 01:52:30 -07:00
jMyles f16f05e71c KMS now depends on bytestringSplitter branch kms-depend. 2018-04-17 01:52:30 -07:00
jMyles 13ff2e642c Actors can now discover all known nodes from a given node. Fixes #175. 2018-04-17 01:52:30 -07:00
Kieran Prasch 184b3c6e34 Modifys Registrar and ContractAgents to handle contract multi-deployment 2018-04-16 02:51:07 -07:00
tuxxy 6f64b3acc7 Refactor Registrar to handle addresses as keys; Add some minor fixes to tests 2018-04-16 02:23:56 -07:00
Kieran Prasch 3a2fb45e16 Merge remote-tracking branch 'tuxxy/solc-populus-bridge' into solc-pipeline 2018-04-16 02:18:46 -07:00
Kieran Prasch 67812e5cd9 Merge remote-tracking branch 'tuxxy/solc-populus-bridge' into solc-pipeline 2018-04-16 00:58:50 -07:00
tuxxy 2b27c1ebd6 Add contract address to contract_data 2018-04-16 01:55:46 -06:00
Kieran Prasch fc22d51eac Cleanup tests, web3 -> w3, cleanup imports. 2018-04-16 00:23:20 -07:00
Kieran Prasch f63f77f5b3 Refines solidity pipeline, improves names, builds injectable compiler class. 2018-04-16 00:22:18 -07:00
tuxxy 84f9bd7864 Refactor Registrar to handle addresses as keys; Add some minor fixes to tests 2018-04-16 01:19:05 -06:00
Kieran Prasch 8b00b0a1cd Massage Token/Issuer contract tests into running again. Removes .lower calls, update web3 events API to use event Filters. 2018-04-15 16:21:29 -07:00
tuxxy b9d460a719 Apply API updates to eventFilters 2018-04-15 16:20:44 -07:00
tuxxy e5b1c06367 Speed up and improve wait_time using time dilation 2018-04-15 16:06:33 -07:00
tuxxy 43ddc96687 Use less-than comparison when checking the governance vote state block timestamps 2018-04-15 16:06:33 -07:00
tuxxy 8748a19893 Fix solidity test contracts path; Capture KeyError for Provider method 2018-04-15 16:06:10 -07:00
tuxxy 485d2a6f01 Start to update contract tests to pure web3 api; *borrowing* populus namespacs. 2018-04-15 16:05:12 -07:00
Kieran Prasch 7fab7eb18d Update contract test to kms provider api usage; Remove Populus API calls 2018-04-15 16:04:43 -07:00
Kieran Prasch c2d6e6baca Pytest session fixture, delegating sol compiler control at test runtime 2018-04-15 16:04:43 -07:00
Kieran Prasch a14a702551 Multiple solidity source dir compiler support 2018-04-15 16:04:22 -07:00
Kieran Prasch efbac1df48 Removes Ethereumconfig, inject web providers into blockchain classes. Provider compiler control and web3 contract cache 2018-04-15 16:03:48 -07:00
Kieran Prasch 9cd500bea5 Remove populus from Pipfile (also add ipbd) 2018-04-15 16:03:48 -07:00
Kieran Prasch 5f9b8c48ed Updates miner config constants and commentary. 2018-04-15 16:03:48 -07:00
tuxxy d4b88a7a12 Get tests running with some changes - Add minimal EthereumConfig back as a holdover 2018-04-15 16:03:18 -07:00
tuxxy 8349440fd5 Add RegistrarDoesNotExist error and raise in _read_registrar_file: 2018-04-15 16:03:18 -07:00
tuxxy 423c9d0938 Add get_contract_data method to find contracts on the Registrar chain via address or name; Relocate Provider 2018-04-15 16:02:40 -07:00
Kieran Prasch c640597f12 Basis for KMS Provider, interfacing with Registrar, caching web3 contract instances. 2018-04-15 16:02:40 -07:00
tuxxy 7028da35b0 Add chain data operations and make _read/write_registrar_file functions module level protected helpers 2018-04-15 16:02:06 -07:00
tuxxy 7f31ef1f0b Add Registrar class with private read/write methods; Store chain name information and add tester default chain 2018-04-15 16:01:38 -07:00
Kieran Prasch 3a5d71d193 Minimal solc compilation to web3 contracts; Tidy up a bit. 2018-04-15 16:00:58 -07:00
Kieran Prasch 5ea3546b0b Provider <--> Registrar integration methods 2018-04-15 16:00:30 -07:00