mirror of https://github.com/nucypher/nucypher.git
amount tweaks
parent
f1fc23d673
commit
5cec6ca322
|
@ -142,8 +142,8 @@ class Felix(Character, NucypherTokenActor):
|
|||
BATCH_SIZE = 10 # transactions
|
||||
MULTIPLIER = Decimal('0.9') # 10% reduction of previous stake is 0.9, for example
|
||||
# this will result in 90 days of distribution
|
||||
MINIMUM_DISBURSEMENT = 1e18 # NuNits
|
||||
ETHER_AIRDROP_AMOUNT = 1e17 # Wei
|
||||
MINIMUM_DISBURSEMENT = int(1e18) # NuNits
|
||||
ETHER_AIRDROP_AMOUNT = int(1e17) # Wei
|
||||
|
||||
# Node Discovery
|
||||
LEARNING_TIMEOUT = 30 # seconds
|
||||
|
@ -276,8 +276,7 @@ class Felix(Character, NucypherTokenActor):
|
|||
last_transaction_date = last_recipient.last_disbursement_time.isoformat()
|
||||
|
||||
unfunded = session.query(self.Recipient).filter(
|
||||
self.Recipient.last_disbursement_time.is_(None)
|
||||
).count()
|
||||
self.Recipient.last_disbursement_time.is_(None)).count()
|
||||
|
||||
return json.dumps(
|
||||
{
|
||||
|
|
|
@ -127,7 +127,7 @@ def test_run_felix(click_runner,
|
|||
registry=test_registry,
|
||||
is_me=True)
|
||||
|
||||
assert staker.token_balance == NU(15000, 'NU')
|
||||
assert staker.token_balance == NU(45000, 'NU')
|
||||
|
||||
# TODO: Airdrop Testnet Ethers?
|
||||
# new_eth_balance = original_eth_balance + testerchain.w3.fromWei(Felix.ETHER_AIRDROP_AMOUNT, 'ether')
|
||||
|
|
Loading…
Reference in New Issue