Łukasz Magiera
4c422c2d50
specs-actors v0.7.1
2020-07-01 13:47:40 +02:00
hannahhoward
92bb5bd915
fix(lint): fix lint errors
2020-07-01 12:06:29 +02:00
Dirk McCormick
a3abff768c
fix: dont register state change if deal is not present in from and to states
2020-07-01 12:06:29 +02:00
Dirk McCormick
1fd1c2edbd
feat: allow nil deal state change (deal removed)
2020-07-01 12:06:29 +02:00
Łukasz Magiera
cfdbc2312d
Merge branch 'master' into next
2020-07-01 11:22:57 +02:00
Łukasz Magiera
e1799f1524
Merge pull request #2155 from filecoin-project/feat/ffi-0.30.1
...
Update FFI to 0.30.1
2020-07-01 11:17:18 +02:00
Łukasz Magiera
cd34d02377
Merge pull request #2209 from filecoin-project/feat/faster-winpost-sectors
...
use bitfields to enumerate sectors for winning post
2020-07-01 10:43:24 +02:00
Łukasz Magiera
a362ef97df
Merge pull request #2188 from filecoin-project/const-relaxation
...
make system constants configurable as vars.
2020-07-01 10:43:07 +02:00
Łukasz Magiera
92f392d422
Merge pull request #2192 from filecoin-project/fix/evnts-map-pnc
...
Fix concurrent map access panic in event API
2020-07-01 10:36:29 +02:00
whyrusleeping
da78ff9151
use bitfields to enumerate sectors for winning post
2020-06-30 21:57:49 -07:00
Raúl Kripalani
77c7eb6fd9
fix lint errors.
2020-06-30 22:56:13 +01:00
Whyrusleeping
857b5962da
Merge pull request #2000 from filecoin-project/asr/maxheight
...
Do not connect to peers with impossibly high heads
2020-06-30 14:24:50 -07:00
Dirk McCormick
49dccf4284
fix: concurrent map access panic
2020-06-30 14:24:08 -04:00
Raúl Kripalani
3b826e41f6
rename build.AllowableClockDrift{=>Secs}.
2020-06-30 15:00:01 +01:00
Raúl Kripalani
4f9c907248
rename build.{BlockDelay=>BlockDelaySecs}.
...
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
Raúl Kripalani
0fddf3e114
make system constants configurable as vars.
...
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.
Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.
Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00
Łukasz Magiera
24529bf35d
Merge branch 'next' into feat/specs-actors-v0.7.0
2020-06-29 22:45:50 +02:00
Łukasz Magiera
77b3bf8bc2
Update FFI to 0.30.1
2020-06-29 20:24:27 +02:00
Łukasz Magiera
2bab5d1ddd
Merge remote-tracking branch 'origin/master' into next
2020-06-29 17:45:58 +02:00
Dirk McCormick
c72def55fe
test: add more predicate tests
2020-06-29 11:21:29 -04:00
Łukasz Magiera
7058f4eb63
Merge pull request #2153 from filecoin-project/feat/state-changes-api
...
Feat/state changes api
2020-06-29 15:19:18 +02:00
Aayush Rajasekaran
1f57d9462c
Don't return nil interfaces from runtime.Send()
2020-06-29 01:13:45 -04:00
Lucas Molas
fbfe57cd63
doc: block validations ( #1919 )
...
Co-authored-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-26 20:13:14 -03:00
Dirk McCormick
659c723ea3
fix: embed hcEvents into events as pointer so as not to copy lock
2020-06-26 15:42:44 -04:00
Dirk McCormick
bbb9a9cd1a
refactor: lint fixes
2020-06-26 15:36:48 -04:00
Dirk McCormick
db1773d708
docs: add predicate docs
2020-06-26 14:59:23 -04:00
Dirk McCormick
a1b009328d
refactor: simplify diff
2020-06-26 14:43:46 -04:00
Dirk McCormick
393a9ca4f2
test: predicates test
2020-06-26 14:41:19 -04:00
Aayush Rajasekaran
8e7ac226b0
Include WinCount when awarding block rewards
2020-06-26 14:27:49 -04:00
Łukasz Magiera
edd7151184
Fix StateMinerInitialPledgeCollateral
2020-06-26 15:49:39 +02:00
Łukasz Magiera
b8f1264e71
genesis: Update process comment
2020-06-26 15:23:52 +02:00
Łukasz Magiera
a6d1323eba
Update specs-actors to v0.7.0; More correct genesis sector import
2020-06-26 15:08:12 +02:00
Łukasz Magiera
d27ff60ae2
Merge remote-tracking branch 'origin/master' into next
2020-06-26 13:08:37 +02:00
Dirk McCormick
abad4a3941
refactor: modify predicates API
2020-06-25 17:43:37 -04:00
Dirk McCormick
728afc0587
refactor: remove state API example
2020-06-25 12:46:43 -04:00
Dirk McCormick
95a9dc9db0
refactor: use struct instead of array for state change
2020-06-25 12:43:06 -04:00
Dirk McCormick
b62fef7541
feat: include previous TS in StateChangedHandler
2020-06-25 12:43:06 -04:00
Dirk McCormick
dd490220d7
refactor: Extract message-specific code from calledEvents
...
This allows us to create a general purpose head change events manager that can be used for call events and also for state change events.
2020-06-25 12:43:06 -04:00
hannahhoward
7f932b96ae
WIP
2020-06-25 12:41:50 -04:00
Jakub Sztandera
10c4fae8c0
Make gas traces smaller, strip callers in import-bench
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-25 16:46:50 +02:00
Jakub Sztandera
4895c895aa
Change WinCount to int64, wire it to BlockMessage
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 19:51:22 +02:00
Jakub Sztandera
88352c74fc
Address @Magik6k CR
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 17:11:26 +02:00
Jakub Sztandera
008a2969b2
Fix two races in events
...
Also race fix: depends on https://github.com/ipfs/go-blockservice/pull/65
Resolves #2092 , #2099 , #2108 , #1930 , #2110
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 17:05:24 +02:00
Jakub Sztandera
36d5880a30
Remove TestElectionExp
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 15:25:23 +02:00
Raúl Kripalani
c8104a03e6
some initial godocs. ( #2118 )
2020-06-23 18:51:25 -03:00
Yusef Napora
5074cf8beb
import DrandConfig from dtypes
2020-06-23 16:23:06 -04:00
Yusef Napora
b448de422e
improve DrandConfig dependency injection
2020-06-23 16:01:10 -04:00
Yusef Napora
628872d0e4
forgot my go fmt hook
2020-06-23 15:10:27 -04:00
Yusef Napora
960523f45f
fix drand test
2020-06-23 15:09:28 -04:00
Jakub Sztandera
19ed695811
Fix TestInteropBH
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 20:37:35 +02:00