Raúl Kripalani
6d29d75724
Merge branch 'master' into inmem-journal
2020-09-14 12:17:45 +01:00
Aayush Rajasekaran
39755a294a
Update to specs v0.9.6
2020-09-07 15:48:41 -04:00
Dirk McCormick
76a1b3286b
fix: if cache best is nil, return chain head
2020-09-07 14:43:06 +02:00
Raúl Kripalani
efdfd3ee3e
Merge branch 'master' into inmem-journal
2020-08-26 16:38:23 +01:00
Steven Allen
5733c71c50
Lint everything
...
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.
There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
Łukasz Magiera
3b23ab952b
gofmt
2020-08-13 13:44:43 +02:00
frrist
69a472c4ea
bug: fix id_address_map table conflicts on reorg
2020-08-12 16:54:45 -07:00
frrist
ce21557d64
bug: fix bug in predicate and add tests
2020-08-12 16:52:08 -07:00
Steven Allen
9248e5a572
Update specs-actors, cbor-gen, and go-address
2020-08-12 10:32:39 -07:00
Steven Allen
9135a5d048
Pass bitfields by-value
...
This ensures we can't end up decoding nil bitfields from clients when not
expecting them.
Part of https://github.com/filecoin-project/specs-actors/issues/895 . Please see
this issue for details and leave any comments there.
2020-08-12 10:32:39 -07:00
Raúl Kripalani
92598237c3
Merge branch 'next' into inmem-journal
2020-08-11 12:41:11 +01:00
hannahhoward
f4720ddb2c
feat(state): add predicate for deal id watching
2020-08-04 17:28:05 -07:00
Aayush Rajasekaran
c881f287ad
Update specs-actors and chain-val...again
2020-07-31 00:29:44 -04:00
Łukasz Magiera
4d328cad54
Get things to mostly work
2020-07-30 14:31:50 +02:00
Łukasz Magiera
ed04c80bb1
Fix precommit deposit
2020-07-28 20:55:31 +02:00
Steven Allen
b7a4dbb07f
Support inline CIDs
...
And use the new CidBuilder from the spec actors.
This patch does not switch over to inline CIDs by default, but paves the way.
2020-07-23 23:12:32 -07:00
Steven Allen
5fc83f4d05
Refactor to use actor adt types instead of directly using HAMTs and AMTs
...
This way there's a single source of truth. Preparation for fixing
https://github.com/filecoin-project/specs-actors/issues/517 (requires changing
HAMT parameters).
2020-07-23 09:34:57 -07:00
hannahhoward
8141fecaa9
feat(paych): add simple integration test
2020-07-22 13:35:10 -04:00
Raúl Kripalani
b8475114ba
Merge branch 'next' into inmem-journal
2020-07-21 17:42:51 +01:00
Łukasz Magiera
5301aa4db2
Update specs-actor with unsafa param fixes
2020-07-20 14:31:18 +02:00
Raúl Kripalani
4d2d8b2d11
Merge branch 'next' into inmem-journal
2020-07-20 10:38:58 +01:00
Łukasz Magiera
1a1bd38495
Merge remote-tracking branch 'origin/master' into next
2020-07-18 00:43:08 +02:00
frrist
7ff468ce85
feat: track miner precommit
...
- add materalized view showing all miner sector info
2020-07-17 12:25:54 -07:00
Raúl Kripalani
695f6cfe45
wip in-memory journal.
2020-07-17 14:34:42 +01:00
Łukasz Magiera
cb6767a02b
Merge remote-tracking branch 'origin/next' into feat/actors-miner-refactor
2020-07-17 15:18:11 +02:00
Łukasz Magiera
bbfa66636d
More test fixing
2020-07-14 22:30:25 +02:00
Raúl Kripalani
0484496d92
Merge branch 'next' into mock-clock
2020-07-14 18:08:26 +01:00
Łukasz Magiera
2e4ed57363
Merge remote-tracking branch 'origin/master' into next
2020-07-13 13:34:56 +02:00
Raúl Kripalani
973dbd6a13
Merge branch 'next' into mock-clock
2020-07-13 11:29:53 +01:00
Łukasz Magiera
39d609a661
Merge pull request #2169 from waynewyang/evnet
...
set called 'true' after handle be called
2020-07-10 22:28:00 +02:00
Łukasz Magiera
89a6b6842c
Merge remote-tracking branch 'origin/master' into next
2020-07-10 22:24:41 +02:00
Raúl Kripalani
13de81b3b2
introduce the ability to mock time.
2020-07-10 15:51:45 +01:00
frrist
bf6b76a4fb
feat: add market deal state & proposal predicates
...
- detects changes in the market deal proposal and market deal state
amts.
2020-07-09 14:43:21 -07:00
Łukasz Magiera
2c00b92325
Merge remote-tracking branch 'origin/master' into next
2020-07-08 21:47:05 +02:00
frrist
d78b7e57c7
polish: include key in AdtArrayDiff interface
...
- some values do not contain their keys
2020-07-08 11:19:14 -07:00
frrist
509e3b653c
polish: genericize adt array diff & extract store
...
- adds testing for adt diff
2020-07-08 11:19:14 -07:00
Aayush Rajasekaran
56a892e5f9
Merge pull request #2246 from TroyWind/fit-multiple-piece-into-a-sector
...
a sector contains multiple deals(pieces), the state of deals incorrect
2020-07-08 11:21:41 -04:00
Łukasz Magiera
d16de56280
gofmt
2020-07-08 14:35:53 +02:00
Łukasz Magiera
b049c5a7d1
Merge remote-tracking branch 'origin/master' into next
2020-07-08 14:35:40 +02:00
frrist
3c6e46cd70
feat: add miner sector predicate and test
...
-polish: OnActorStateChanged operate over TipSetKey
- it was calling key() interally and tipsetkeys are cheaper to get than
the full tipset
-polish: improve predicate method names
2020-07-06 14:27:39 -07:00
刘林欣
ff4d9ecc77
fit in cases where a sector contains multiple deals, the state of each deal is correct
2020-07-03 09:20:47 +08: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
Dirk McCormick
49dccf4284
fix: concurrent map access panic
2020-06-30 14:24:08 -04:00
Dirk McCormick
c72def55fe
test: add more predicate tests
2020-06-29 11:21:29 -04:00
waynewyang
048d0e0d7a
set 'true' after handle be called
2020-06-29 21:37:08 +08: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