Commit Graph

3444 Commits

Author SHA1 Message Date
Aayush Rajasekaran
f22f427cde Put the correct error into ExecutionResult 2020-03-18 02:57:11 -04:00
Aayush Rajasekaran
51cf5d5f1b New Actor Addresses should be generated as per spec
- The pubkey address address of the sender should be used, not the ID address
- We should use the internal callSeqNum as input (was hard-coded to zero)
- The external message nonce should be used, not the actor's nonce in the post-increment state
2020-03-18 02:57:11 -04:00
Whyrusleeping
8d0b2947d6 Merge pull request #1409 from filecoin-project/feat/proofs-v24
Update to v24 params
2020-03-17 22:24:52 -07:00
Whyrusleeping
df0a19d5c4 Merge pull request #1413 from filecoin-project/feat/single-graphsync
unified graphsync instance
2020-03-17 22:07:21 -07:00
hannahhoward
f259bc6a09 feat(graphsync): unified graphsync instance
setup a single graphsync that loads from both the chainstore & client blockstore
2020-03-17 17:25:12 -07:00
Łukasz Magiera
9e6ec71520 Merge pull request #1402 from filecoin-project/fix/jsonrpc-resanderr
Fix Error and Result being returne at the same time in JSON-RPC
2020-03-16 19:31:48 +01:00
Łukasz Magiera
1f9fdf0c5c gofmt 2020-03-16 10:43:27 +01:00
Łukasz Magiera
a71906525a seed: Support parsing string sector-size 2020-03-15 21:42:44 +01:00
Łukasz Magiera
630df050c0 bench: Option to skip commit2 2020-03-15 18:48:53 +01:00
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
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
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
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
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
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
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
69a854de8b Merge pull request #1377 from filecoin-project/feat/enable-32gb-sectors
fountain: add 32GiB sectors
2020-03-10 03:24:45 +01:00
Travis Person
c655162dd6 fountain: add 32GiB sectors 2020-03-10 02:21:37 +00:00
Łukasz Magiera
dcd12bff7c Merge pull request #1376 from filecoin-project/feat/shed-ncfix-auto
shed: auto mode for nonce-fix
2020-03-10 03:01:37 +01:00
Łukasz Magiera
47e3b5b902 shed: make non-auto nonce-fix safer 2020-03-10 02:11:07 +01:00
Łukasz Magiera
2bf9f10f16 mpool stat: sort by address 2020-03-10 01:44:15 +01:00