Frrist
7371274ea7
update chain-validation: adds miner workflow test ( #1403 )
...
* update chain-validation. adds miner workflow test
* replace real sealing with mocked impl
2020-03-12 10:22:45 -07:00
whyrusleeping
3d6577838c
move power deduction out of the loop
2020-03-11 00:29:17 -07:00
Whyrusleeping
9bad73b995
Merge pull request #1388 from filecoin-project/fix/nonce-before-gas
...
Check for correct nonce before taking gas
2020-03-10 23:58:28 -07:00
Whyrusleeping
d48d073bcf
Merge pull request #1394 from filecoin-project/fix/fallbackpost-finally
...
get fallback post running successfully!
2020-03-10 23:41:41 -07:00
whyrusleeping
16d087cce4
get fallback post running successfully!
2020-03-10 23:30:48 -07:00
Łukasz Magiera
eb61a36fd7
workers: RPC scaffolding
2020-03-11 02:58:02 +01:00
Whyrusleeping
65506376a4
Merge pull request #1390 from filecoin-project/fix/genesis-double-power-accounting
...
Don't double account for miner power when setting up genesis blocks
2020-03-10 18:56:47 -07:00
Whyrusleeping
61e5b05262
Merge pull request #1386 from filecoin-project/fix/replay-not-found
...
dont panic when replay fails to find a message
2020-03-10 15:52:40 -07:00
whyrusleeping
14f9724bc9
Don't double account for miner power when setting up genesis blocks
2020-03-10 15:42:41 -07:00
Jakub Sztandera
f3c4288311
Check for correct nonce before taking gas
...
Otherwise as a miner you are able to include an invalid message forever
and get whole GasLimit of gas from it every time.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-10 21:14:50 +01:00
Jakub Sztandera
cc7d25394c
Less noisy mapool add
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-10 21:06:58 +01:00
whyrusleeping
baca881473
dont panic when replay fails to find a message
2020-03-10 12:44:50 -07:00
whyrusleeping
1beab85d61
Drop debug messages
2020-03-09 23:46:13 -07:00
Łukasz Magiera
a9dc2aa58b
Merge pull request #1375 from filecoin-project/feat/mpool-debug-future
...
mpool: add debug logs for future detection
2020-03-10 07:02:41 +01:00
whyrusleeping
bccec5af95
update to latest specs-actors
2020-03-09 22:43:43 -07:00
Travis Person
0fe55f81f6
mpool: add debug logs for future detection
2020-03-10 05:41:24 +00:00
Whyrusleeping
7b5e7178f4
Merge pull request #1369 from filecoin-project/fix/reward-ticket-count
...
pass ticket count into reward application message
2020-03-09 22:35:46 -07:00
whyrusleeping
85e17fa5b0
fix state cid accounting after 'Transaction' calls
2020-03-09 22:20:46 -07:00
whyrusleeping
114cb2d2aa
squash the spec shim and the vmcontext into the new runtime type
2020-03-09 21:44:29 -07:00
Łukasz Magiera
f3798f9d40
Merge pull request #1374 from filecoin-project/fix/state-power-json
...
make state power a pointer so it marshals properly
2020-03-09 22:48:53 +01:00
whyrusleeping
26ca72e252
make state power a pointer so it marshals properly
2020-03-09 14:41:57 -07:00
Łukasz Magiera
06d18484f6
Merge remote-tracking branch 'origin/master' into feat/update
2020-03-09 09:34:31 +01:00
whyrusleeping
f1ff55f8b6
pass ticket count into reward application message
2020-03-09 00:45:40 -07:00
Whyrusleeping
3a94d9d176
Merge pull request #1354 from filecoin-project/feat/state-compute-trace
...
implement compute state trace output
2020-03-08 21:22:40 -07:00
whyrusleeping
bf6948f8d6
update to latest specs-actors
2020-03-08 21:21:46 -07:00
whyrusleeping
4260cc38c9
implement compute state trace output
2020-03-08 20:07:25 -07:00
Łukasz Magiera
697ab30304
Merge pull request #1328 from filecoin-project/metrics/rework-default-view
...
remove high cardinality tags from metrics
2020-03-08 21:40:16 +01:00
whyrusleeping
24bf720a9a
Merge branch 'master' into testnet/3
2020-03-07 16:46:12 -08:00
whyrusleeping
34ad13fc22
fix initial reward actor balance
2020-03-06 17:33:24 -08:00
Aayush Rajasekaran
340afc3503
Add information about internal message executions to SimulationResult
...
- The VM now tracks a list of ExecutionResults to keep track of internal messages
2020-03-06 11:11:06 -08:00
Aayush Rajasekaran
2d63b007f2
Unify MethodCall and ReplayResults into SimulationResult
...
- Call and Replay now return the same type, which includes both Message and MessageReceipt
2020-03-06 11:10:40 -08:00
Łukasz Magiera
3cab8bd5d1
gofmt
2020-03-06 20:01:28 +01:00
Łukasz Magiera
e51fa5c9ac
libs: Use zerocomm from sectorbuilder
2020-03-06 19:50:41 +01:00
Whyrusleeping
05a95cace5
Merge pull request #1336 from filecoin-project/vet/some-go-vet-fixes
...
some go vet fixes
2020-03-06 00:11:13 -08:00
whyrusleeping
16096e2c71
some go vet fixes
2020-03-05 22:46:07 -08:00
Łukasz Magiera
7d3e16986c
sectorbuilder type updates
2020-03-06 06:38:59 +01:00
whyrusleeping
8a7f249aaa
update to latest specs-actors
2020-03-05 16:20:57 -08:00
Łukasz Magiera
1c052b7c81
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-06 00:59:12 +01:00
frrist
b8394c3573
update, you guessed it, chain-validation
2020-03-05 13:41:35 -08:00
frrist
00f5ee6064
add TODO for return value checking
2020-03-05 13:41:35 -08:00
frrist
f4b07a7293
enable multisig tests
2020-03-05 13:41:35 -08:00
frrist
a34a6c65e7
fix gas limit check in apply message
2020-03-05 13:41:35 -08:00
frrist
4e41479464
bls key deterministic, enable paych test
2020-03-05 13:41:35 -08:00
Frrist
e4728eb719
update chain-val with latest tests ( #1325 )
...
* update chain-val with latest tests
2020-03-05 13:39:28 -08:00
whyrusleeping
2cd06e3ea0
update to latest specs-actors
2020-03-05 13:02:33 -08:00
Łukasz Magiera
fa5bc3a5a9
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-05 20:20:47 +01:00
Adrian Lanzafame
d0c748460e
remove high cardinality tags from metrics
2020-03-05 19:47:20 +10:00
whyrusleeping
4e9e3f3dc3
make state tree snapshots properly stack based
2020-03-04 17:19:15 -08:00
whyrusleeping
5076b2b950
fix reward actor and block reward application
2020-03-04 13:21:24 -08:00
Łukasz Magiera
799ff17c7c
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-04 06:37:11 +01:00
Łukasz Magiera
1d3877fab3
sync: Use correct epost randomness
2020-03-04 06:32:33 +01:00
Łukasz Magiera
4e46d00eb6
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-03-04 04:01:13 +01:00
whyrusleeping
2be2891647
wire up lotus side of make deal for manual commP
2020-03-03 16:18:08 -08:00
Whyrusleeping
0025b3c1dc
Merge pull request #1300 from filecoin-project/frrist/chainval-integrate
...
implement chain-validation driver
2020-03-03 16:10:16 -08:00
whyrusleeping
0da2f81252
get most of the chain validation tests passing
2020-03-03 16:06:41 -08:00
frrist
1c864d1eef
fixs after rebase
2020-03-03 16:06:41 -08:00
whyrusleeping
8657b4698f
fix invoker tests
2020-03-03 16:06:41 -08:00
frrist
dfad346cff
add test skipper and update chain-validation
2020-03-03 16:06:41 -08:00
whyrusleeping
0f6c365411
Do proper shimming for chain validation library
2020-03-03 16:06:41 -08:00
frrist
bd91008462
clean up validation config
2020-03-03 16:06:41 -08:00
frrist
72132c851b
update chain-validation version for miner creation
2020-03-03 16:06:41 -08:00
frrist
0de43748f7
better test name
2020-03-03 16:06:41 -08:00
frrist
b60458d236
implement chain-validation driver
2020-03-03 16:06:41 -08:00
whyrusleeping
d6723935b9
fixup to match spec, move constants to common location
2020-03-03 15:48:25 -08:00
lanzafame
4f2baa8953
conform protocol ids to spec
...
Signed-off-by: lanzafame <adrianlanzafame92@gmail.com>
2020-03-03 11:34:43 +10:00
whyrusleeping
61fcbd1664
remove unnecessary cid casting
2020-03-01 20:38:18 -08:00
whyrusleeping
60b19c51ef
more misc fixes
2020-03-01 17:09:38 -08:00
Nate Walck
8283bb994a
Add block metrics to incoming pubsub validate funcs
2020-03-01 19:57:16 -05:00
Nate Walck
33af2409e8
Use head notif func for current node height, add pubsub metrics
2020-03-01 19:26:09 -05:00
Łukasz Magiera
f54a555aa8
Merge remote-tracking branch 'origin/testnet/3' into feat/4stage-seal
2020-02-29 03:21:01 +01:00
whyrusleeping
c7508a0512
self review fixes
2020-02-28 18:02:40 -08:00
whyrusleeping
1a07cb7bbf
a few more fixes
2020-02-28 17:12:47 -08:00
whyrusleeping
cf2eefdfbe
Fix up client storage deal matcher
2020-02-28 16:05:56 -08:00
whyrusleeping
713059275d
progress is made incrementally
2020-02-28 14:00:34 -08:00
whyrusleeping
5b657a2905
pass on proper sector types
2020-02-28 12:52:14 -08:00
whyrusleeping
0945d8725e
fixing miner logic to make more tests pass
2020-02-28 11:31:28 -08:00
Łukasz Magiera
2a1253e45a
types: Simplify Ticket.Equals
2020-02-28 11:31:28 -08:00
Henri S
96555aa74b
update to use VRF digest appropriately and simplify drawing rand past genesis
2020-02-28 11:31:28 -08:00
Łukasz Magiera
5a4f917c60
4-stage v23 lotus-bench
2020-02-28 19:06:59 +01:00
Nate Walck
353c5d8b12
Relocation opencensus metrics to its own package and add more node stats
2020-02-27 21:49:18 -05:00
whyrusleeping
00efd097c7
implement basic message filtering
2020-02-27 17:40:16 -08:00
Łukasz Magiera
4dc35285dd
Minimum sector size is now 2k
2020-02-28 01:48:34 +01:00
Łukasz Magiera
f83bbc2cbe
Regen cbor marshalers
2020-02-28 00:34:48 +01:00
whyrusleeping
df6e3e83bf
make it all build finally
2020-02-27 13:45:31 -08:00
whyrusleeping
6c12068fb7
more fixes for random garbage
2020-02-26 16:42:39 -08:00
whyrusleeping
767392332e
WIP: update sectorbuilder
2020-02-26 14:54:34 -08:00
Łukasz Magiera
cb09e48e8c
Some test fixes
2020-02-26 10:05:22 +01:00
Łukasz Magiera
0a9e0acc6f
types: Drop some redundant alias types
2020-02-25 22:09:22 +01:00
Łukasz Magiera
ae634ef7df
actors: Remove addrass aliases
2020-02-25 21:54:58 +01:00
Łukasz Magiera
cd10a3126b
actors: drop a bunch of type aliases
2020-02-25 21:35:15 +01:00
Łukasz Magiera
f1d9033194
Address some minor review nits
2020-02-25 21:25:52 +01:00
Łukasz Magiera
d787aa5007
Merge branch 'testnet/3' into feat/specs-actors
2020-02-24 18:32:02 +01:00
Łukasz Magiera
ba6d1091f2
pond: Fix node startup
2020-02-24 00:39:45 +01:00
Łukasz Magiera
1d417685d1
Fix Sealing in TestAPIDealFlow
2020-02-23 21:33:10 +01:00
Łukasz Magiera
917df9a5b8
More unified randomness handling
2020-02-23 21:00:47 +01:00
Łukasz Magiera
a82d156ccb
Deal flow fixes
2020-02-23 16:50:36 +01:00
whyrusleeping
97425ea1c9
fix some tests
2020-02-22 23:49:15 -08:00
Łukasz Magiera
226685dc1c
Implement committed capacity sectors
2020-02-23 01:47:47 +01:00
Łukasz Magiera
b8428423a1
get chain to runnable state
2020-02-22 14:10:46 +01:00
Łukasz Magiera
b12482df89
move peermgr, tracing into lib
2020-02-22 12:36:22 +01:00