Commit Graph

7489 Commits (ac9ebea8d000c4d459ff87ba8ae785453e6563e9)

Author SHA1 Message Date
Justin Holmes 0ef89315b2
The small corrections by @cygnusv.
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-30 23:29:51 -07:00
MacLane S Wilkison 3297fc9d30
Merge pull request #2208 from nucypher/worklock-parameters
Worklock parameters; Mainnet Registry
2020-08-30 18:16:21 +00:00
mswilkison c042572d8a Add mainnet contract registry 2020-08-30 13:58:56 -04:00
mswilkison 1ea1338e4e Finalize WorkLock parameters 2020-08-30 12:54:46 -04:00
David Núñez caf46c6c70 Update WorkLock documentation to use mainnet as default network 2020-08-30 17:14:04 +02:00
David Núñez 207a03a33d Make `mainnet` the default NuCypher network 2020-08-30 17:14:04 +02:00
David Núñez 5ef3b245cb CI: Saving the name of the tests to run after splitting as artifacts 2020-08-28 19:02:46 +02:00
David Núñez 60ebeacd64
Merge pull request #2154 from cygnusv/mamma-mia
Improved gas price logic. Introduction of gas oracles
2020-08-28 18:13:43 +02:00
David Núñez 066fd8461d Renaming Oracles to Datafeeds 2020-08-28 18:00:19 +02:00
David Núñez 7d5646e2f5 Fixing wrong provider URI in an ursula test 2020-08-28 18:00:19 +02:00
David Núñez 920ae58bc3 Setting a free gas strategy in tests that create a new blockchain interface 2020-08-28 18:00:19 +02:00
David Núñez 6740697c72 Felix needs an explicit call for the gas price since it doesn't rely on web3 building the transaction 2020-08-28 18:00:19 +02:00
David Núñez caea0af82d Fix Multisig test, which only worked because gas strategies were being ignored 2020-08-28 18:00:19 +02:00
David Núñez 231c3c80f9 Better name for the EthereumClient method to get gas prices for transactions 2020-08-28 18:00:19 +02:00
David Núñez ab0369b56e Some touches to the Oracles module: relocate __repr__, improved reference to oracle exception, testing speed names
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-08-28 18:00:19 +02:00
David Núñez 342ac40e3e Testing Etherchain and Upvest oracle gas strategies 2020-08-28 18:00:19 +02:00
David Núñez b08f4236a5 Some missing twisted.logger.Logger imports 2020-08-28 18:00:19 +02:00
David Núñez 7952e3595a Gas strategy is ignored if a gas price is explicitly added. Just don't. 2020-08-28 18:00:19 +02:00
David Núñez 1471a6bf9f Better format for log messages about TX gas cost 2020-08-28 18:00:19 +02:00
David Núñez 33f2989e41 If using Infura, opt for an oracle-based gas price strategy 2020-08-28 18:00:19 +02:00
David Núñez b29f4fb379 Construct a gas strategy with fallback chain of oracles 2020-08-28 18:00:19 +02:00
David Núñez d6c986d9bb First pass at integrating gas price oracles 2020-08-28 18:00:19 +02:00
David Núñez 1fbd2514fe Improve log message when autodetecting chain 2020-08-28 18:00:19 +02:00
David Núñez 0a9b7556df Log current gas price when setting a gas strategy 2020-08-28 18:00:19 +02:00
David Núñez 1883624c44 New method EthereumClient.generate_gas_price. Gives a gas price according to current gas strategy 2020-08-28 18:00:19 +02:00
David Núñez 39404e4e5e Fixing bug in BlockchainInterface.get_gas_strategy() for callable inputs
Unit tests for this method
2020-08-28 18:00:19 +02:00
David Núñez 3210cd3ccf Use the fast gas strategy as the default 2020-08-28 18:00:19 +02:00
vzotova 6fe4bfe8b1 Fix after rebasing 2020-08-28 12:43:57 +03:00
vzotova 626fb70f9c PoolingContract: owner can disable deposit 2020-08-28 12:10:31 +03:00
vzotova ba17feb926 PoolingContract: split tokens into reward and deposit 2020-08-28 12:10:30 +03:00
vzotova a3495e0678 PoolingContract: rename coefficient to depositedTokens 2020-08-28 12:10:30 +03:00
vzotova 5c3b57cef5 PoolingContract: functions to calculate available amount of tokens and eth 2020-08-28 12:10:29 +03:00
vzotova 576ee4493d PoolingContract: reentrancy test 2020-08-28 12:10:29 +03:00
vzotova 91e068866b PoolingContract: method to withdraw ether 2020-08-28 12:10:28 +03:00
vzotova e2d7b93214 PoolingContract: simplify owner role 2020-08-28 12:10:28 +03:00
vzotova 7b92b4c9a2 PoolingContract: draft of contract 2020-08-28 12:10:27 +03:00
jMyles 78936b1ba1 Block for a while to wait even longer for fleet to spin up (because 'War, What is it Good For' isn't long enough) 2020-08-27 19:48:09 -07:00
MacLane S Wilkison 3f68f1203d
Merge pull request #2195 from KPrasch/faq
FAQ & Doc updates for stake delegation and mainnet worklock
2020-08-28 02:05:43 +00:00
derekpierre 350e5820f0 Remove Node-as-a-Service as an outcome when gas cost is a concern. 2020-08-27 21:27:35 -04:00
jMyles e86bfc2616 Not doing --track-character-lifecycles anymore. Maybe an environment variable or something. 2020-08-27 14:46:15 -07:00
jMyles 2810948d21 Completing publication in order to get publication threadpool to stop. 2020-08-27 14:45:40 -07:00
damon 6a5fc0d5cb temporary hardcode Learner._DEBUG_MODE 2020-08-27 14:00:13 -07:00
jMyles 24bc71be6e Give Bob a chance to hit seednodes before bailing. 2020-08-27 13:16:36 -07:00
MacLane S Wilkison 9687018eab
Apply suggestions from code review
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-27 19:39:38 +00:00
K Prasch b037fb356a
Apply suggestions from code review
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-27 10:32:53 -07:00
David Núñez 9f87c2e75d
Merge pull request #2197 from derekpierre/hypothetical-schmypothetical
Modify WorkLock properties/values to be more closely related to actual limits
2020-08-27 18:20:44 +02:00
derekpierre 3b11bef50b Modify WorkLock properties/values to be more closely related to actual numbers. Of course minimum escrow will fluctate based on ETH/USD rate so that remains hypothetical. 2020-08-27 11:21:17 -04:00
K Prasch fd5fb97c55
Apply suggestions from code review
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
2020-08-26 15:57:13 -07:00
K Prasch c78cb06abb
Apply suggestions from code review
Co-authored-by: Arjun Hassard <arjunhassard@gmail.com>
2020-08-26 15:13:28 -07:00
derekpierre 42393da388 Updated decision tree and writeup to be more generic. 2020-08-26 17:04:27 -04:00