mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-19 21:02:01 +03:00
naive: fix test-rut nonce calculation
This commit is contained in:
parent
c8b62d8d2c
commit
c11cd709d0
@ -939,7 +939,17 @@
|
||||
:: wrong nonce and/or wrong owner do not increment nonce
|
||||
:: TODO: fix nonce calculation for e.g. %spawn proxy for planets
|
||||
=/ new-nonce ?: &(nonce.cur-event owner.cur-event)
|
||||
+(cur-nonce)
|
||||
?- rank.cur-event
|
||||
%galaxy +(cur-nonce)
|
||||
%star +(cur-nonce)
|
||||
%planet ?- proxy.cur-event
|
||||
%own +(cur-nonce)
|
||||
%manage +(cur-nonce)
|
||||
%spawn cur-nonce ::planets do not have a spawn proxy
|
||||
%transfer +(cur-nonce)
|
||||
%vote cur-nonce ::no vote proxy
|
||||
==
|
||||
==
|
||||
cur-nonce
|
||||
::
|
||||
=/ state initial-state
|
||||
|
Loading…
Reference in New Issue
Block a user