Aayush Rajasekaran
694463ffbe
More lint fixes
2020-09-18 03:06:28 -04:00
Steven Allen
daa441b989
simplify market diff
2020-09-17 21:48:50 -07:00
Steven Allen
f2a0779bb9
remove specs-actors import
2020-09-17 21:41:36 -07:00
Steven Allen
b2ee59024f
improve diff logic
...
* Make diffing work across versions.
* Start porting more chainwatch logic.
2020-09-17 21:39:34 -07:00
Łukasz Magiera
6eda53565f
Most tests passing
2020-09-17 17:30:24 +02:00
hannahhoward
691bd9f442
feat(markets): complete markets conversion
...
complete markets conversion to using chain/actors types, also replacing DealProposal/DealState
interfaces with structs
2020-09-17 00:43:14 -07:00
Aayush Rajasekaran
9e48dd211a
Fixups
2020-09-17 02:34:15 -04:00
Aayush Rajasekaran
b5ba7a0fad
Miner migration
2020-09-17 02:21:16 -04:00
hannahhoward
80b6994fe2
feat(market): update state diffing for market actor
...
Update to abstract actor for markets state diffing. Also move the diff adt functions inside the
abstract actors
2020-09-16 19:14:07 -07:00
hannahhoward
05c11531b1
feat(paych): convert paych actor
...
build abstraction for paych actor and switch to using it in payment channel manager and state
predicates
2020-09-15 21:06:04 -07:00
Steven Allen
9804310cc8
Update specs-actors to 0.9.10
...
Moves the Keyer type (and helpers) into go-state-types.
2020-09-14 14:32:57 -07:00
Aayush Rajasekaran
39755a294a
Update to specs v0.9.6
2020-09-07 15:48:41 -04: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
hannahhoward
f4720ddb2c
feat(state): add predicate for deal id watching
2020-08-04 17:28:05 -07:00
hannahhoward
8141fecaa9
feat(paych): add simple integration test
2020-07-22 13:35:10 -04: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
Łukasz Magiera
89a6b6842c
Merge remote-tracking branch 'origin/master' into next
2020-07-10 22:24:41 +02: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
Ł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
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
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
393a9ca4f2
test: predicates test
2020-06-26 14:41:19 -04:00
Dirk McCormick
abad4a3941
refactor: modify predicates API
2020-06-25 17:43:37 -04:00
hannahhoward
7f932b96ae
WIP
2020-06-25 12:41:50 -04:00