Commit Graph

4251 Commits

Author SHA1 Message Date
Jakub Sztandera
06ce4f21c5 Warn on non zero result with error
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-14 15:08:24 +01:00
Łukasz Magiera
1bc55714ed Update to v24 params 2020-03-14 03:45:44 +01:00
Łukasz Magiera
f4bf6ee186
Merge pull request #1408 from jimpick/fix/websocket-upgrade-case
Make websocket connection upgrade header check case-insensitive
2020-03-13 22:28:33 +01:00
Jim Pick
b6d5ea629b Make websocket connection upgrade header check case-insensitive
I was having troubles configuring an nginx reverse-proxy when
using Websockets.

It turns out my configuration was sending a "Connection: upgrade"
header, but Lotus expected "Connection: Upgrade".

This commit converts the check to be case-insensitive.

Some of the examples on the MDN page show lower-case "upgrade",
so I think it's not unusual for the usage to vary.
2020-03-13 13:07:39 -07:00
Łukasz Magiera
e6ec20b4ca Merge branch 'testnet/3' into feat/new-workers 2020-03-13 17:58:13 +01:00
Łukasz Magiera
96730bae75 workers: Report sectors paths after worker creates them 2020-03-13 17:54:55 +01:00
Łukasz Magiera
2c7f579838 workers: Implement SectorIndex 2020-03-13 12:59:19 +01:00
Łukasz Magiera
a75ad492f1 workers: Declare sectors after fetching in remote store 2020-03-13 11:40:24 +01:00
Łukasz Magiera
bc7fede68b workers: Wire up most pieces 2020-03-13 02:37:38 +01:00
Łukasz Magiera
86871e5abc workers: Basic Remote store 2020-03-13 01:23:05 +01:00
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
Łukasz Magiera
56968d858c workers: Make LocalWorker public 2020-03-11 22:23:16 +01:00
Whyrusleeping
954085d33e
Merge pull request #1404 from filecoin-project/asr/segfault
Bugfix: Check if vmctx is nil before dereferencing in ApplyMessage
2020-03-11 13:29:33 -07:00
Aayush Rajasekaran
4777ca21c3 Bugfix: Check if vmctx is nil before dereferencing in ApplyMessage 2020-03-11 15:42:51 -04:00
Jakub Sztandera
21b34ba133 Fix chan handling
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-11 19:14:49 +01:00
Jakub Sztandera
8d870a03b5 Fix Error and Result being returne at the same time in JSON-RPC
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-11 18:48:02 +01:00
Whyrusleeping
a0f1c8c87f Merge pull request #1397 from filecoin-project/feat/interoptnet
new interoptnet
2020-03-11 01:06:13 -07:00
Travis Person
66add465bd new interoptnet 2020-03-11 08:02:15 +00:00
Whyrusleeping
ad753c90ff Merge pull request #1396 from filecoin-project/fix/power-deduction
move power deduction out of the loop
2020-03-11 00:30:49 -07:00
whyrusleeping
3d6577838c move power deduction out of the loop 2020-03-11 00:29:17 -07:00
Łukasz Magiera
71afcb0333 workrs: refactor sector store for more composability 2020-03-11 08:22:21 +01:00
Whyrusleeping
fb91ea2470 Merge pull request #1389 from filecoin-project/feat/chain-get-raw-type
cli: add cbor-hex type to chain get
2020-03-11 00:10:57 -07:00
Whyrusleeping
4d572d3ae8 Merge pull request #1395 from filecoin-project/deps/update-specs-actors-2
update specs actors with post and cron fixes
2020-03-11 00:09:43 -07:00
whyrusleeping
3971bf0c99 update specs actors with post and cron fixes 2020-03-11 00:08:51 -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
7e2e30f94b workers: Transfer logic refactoring 2020-03-11 06:49:17 +01: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
d4c0dfa851
Merge pull request #1392 from jsign/jsign/addDealId
Add DealID to DealInfo
2020-03-10 18:45:07 -07:00
Ignacio Hagopian
07df6e010f
add dealID in DealInfo
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-03-10 21:48:55 -03:00
Travis Person
6faffd832c cli: add cbor-hex type to chain get 2020-03-10 23:12:10 +00: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
f8f0d7def7 Merge pull request #1387 from filecoin-project/misc/less-errors
Less noisy mapool add
2020-03-10 15:50:01 -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
da52596d79 Merge pull request #1382 from filecoin-project/feat/interoptnet
new interoptnet
2020-03-09 23:48:24 -07:00
whyrusleeping
1beab85d61 Drop debug messages 2020-03-09 23:46:13 -07:00
Travis Person
d19f5e411c new interoptnet 2020-03-10 06:45:26 +00:00
Łukasz Magiera
eeca91e43d Merge pull request #1381 from filecoin-project/feat/stats-nosync
stats: add flag to disable sync wait
2020-03-10 07:12:52 +01:00
Travis Person
e9a7c8c7fa stats: add flag to disable sync wait 2020-03-10 06:10:16 +00: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
Łukasz Magiera
238d022d8d Merge pull request #1380 from filecoin-project/feat/update-specs-actors
update to latest specs-actors
2020-03-10 07:02:11 +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
8be9134e32 Merge pull request #1378 from filecoin-project/feat/clean-up-spec-shim
squash the spec shim and the vmcontext into the new runtime type
2020-03-09 22:28:07 -07:00