Commit Graph

3663 Commits

Author SHA1 Message Date
Whyrusleeping
0ca935e0b9 Merge pull request #1417 from filecoin-project/fix/sshot-after-gas
take snapshot after gas transfer so its not reverted on method failure
2020-03-20 14:16:54 -07:00
Whyrusleeping
f9bd0fb2ce Merge pull request #1433 from filecoin-project/feat/serialization-vectors
Integrate updated serialization vectors as tests
2020-03-20 14:11:28 -07:00
Jeromy
588a55c9d7 update chain validation 2020-03-20 14:08:47 -07:00
whyrusleeping
84fd969710 take snapshot after gas transfer so its not reverted on method failure 2020-03-20 13:50:46 -07:00
Whyrusleeping
badaa5fad1 Merge pull request #1429 from filecoin-project/asr/NAA
Calculate new actor addresses as per updated spec
2020-03-20 13:50:08 -07:00
Jakub Sztandera
4ba4de3379 Missmatching nonce does not charge gas
It should charge miner but we don't have that mechanism yet.

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-20 20:44:45 +01:00
Aayush Rajasekaran
ef288b8a6c Calculate new actor addresses as per updated spec 2020-03-20 15:43:08 -04:00
whyrusleeping
438aac190f use proper lookback, and proper serialization for randomness generation 2020-03-20 12:20:56 -07:00
Whyrusleeping
7b69697439 Merge pull request #1434 from filecoin-project/feat/more-gas
Rework gas charging
2020-03-20 12:18:18 -07:00
Whyrusleeping
9df4fce282 Merge pull request #1438 from filecoin-project/frrist/display-chainval-testname
print chain-validation test name when running
2020-03-20 12:03:53 -07:00
Whyrusleeping
78de82158d Merge pull request #1436 from filecoin-project/asr/hash
Use blake2b, not SHA, for VRFs
2020-03-20 11:30:04 -07:00
Aayush Rajasekaran
5e46c0b4e9 Use blake2b, not SHA, for VRFs 2020-03-20 11:23:22 -07:00
Jakub Sztandera
c874bd6a15 go mod tidy
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-20 19:01:12 +01:00
frrist
e6b0eaed61 go mod tidy 2020-03-20 10:41:10 -07:00
frrist
100fc47812 print chain-validation test name when running
- makes debugging easier
2020-03-20 10:35:59 -07:00
Jakub Sztandera
ac09a6432c Skip failing tests, update chain-validation
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-20 18:21:13 +01:00
Jakub Sztandera
ae40654907 Rework gas charging 2020-03-20 03:26:40 -04:00
Łukasz Magiera
076cc428af workers: Fix moving storage around in later steps 2020-03-20 01:55:49 +01:00
Łukasz Magiera
e0c15b24fc storageminer: Fix preseal meta import for genesis miners 2020-03-20 01:20:01 +01:00
Łukasz Magiera
978a718159 storage: storage find command 2020-03-19 20:51:33 +01:00
Łukasz Magiera
314fba049f workers: get sectors back to miner process after precommit 2020-03-19 20:17:58 +01:00
Łukasz Magiera
80cca91584 workers: get to executing tasks remotely! 2020-03-19 18:11:45 +01:00
Łukasz Magiera
d87b7c264d stores: Use index in local store 2020-03-19 16:11:04 +01:00
whyrusleeping
905fc968bf Integrate updated serialization vectors as tests 2020-03-18 22:53:15 -07:00
Łukasz Magiera
2fa3f2578f impl: Move CommonAPI into a separate pkg 2020-03-19 03:31:53 +01:00
Łukasz Magiera
1ed7779701 Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers 2020-03-19 03:28:55 +01:00
Łukasz Magiera
825a3e1d5c Merge pull request #1424 from filecoin-project/feat/state-tree-itnerop
add simple test for helping to test state tree interop
2020-03-19 03:24:30 +01:00
Łukasz Magiera
2d1e30ae3b workers: Call find* on remote 2020-03-19 03:23:21 +01:00
Whyrusleeping
6d9b8ee0dc Merge pull request #1423 from filecoin-project/interopnet
New interop network info
2020-03-18 17:24:49 -07:00
whyrusleeping
1fb70fc0e0 add simple test for helping to test state tree interop 2020-03-18 17:23:59 -07:00
Travis Person
da631478a8 New interop network info 2020-03-19 00:22:59 +00:00
Lucas Molas
d21cb96ddb doc: add comments related to actor code review 2020-03-18 16:43:58 -07:00
Łukasz Magiera
94ebbd9d90 workers: Actually register in miner 2020-03-19 00:23:32 +01:00
Whyrusleeping
7b0fc4ae7e Merge pull request #1422 from filecoin-project/feat/update-specs-actors-2
update to latest specs actors code
2020-03-18 15:25:41 -07:00
whyrusleeping
f1327b75c3 update to latest specs actors code 2020-03-18 15:16:50 -07:00
Łukasz Magiera
3676daf7dc Merge pull request #1421 from filecoin-project/fix/gas-limit-type
change gas limit to be a normal int64
2020-03-18 22:41:16 +01:00
whyrusleeping
ddf1beac6c change gas limit to be a normal int64 2020-03-18 13:45:37 -07:00
Łukasz Magiera
500ce56371 Merge pull request #1415 from filecoin-project/fix/debug-miner-size
Fix/debug miner size
2020-03-18 21:00:16 +01:00
Łukasz Magiera
ff5a6773b1 Merge pull request #1419 from filecoin-project/feat/update-to-latest-go-fil-markets
update to latest go-fil-markets
2020-03-18 20:58:51 +01:00
laser
366db2f38c adjust import order as per PR feedback 2020-03-18 12:43:06 -07:00
laser
4458d090b3 tidy 2020-03-18 11:57:32 -07:00
laser
f59bf6fab1 wire up dtypes.ClientDatastore 2020-03-18 11:57:22 -07:00
laser
a8dd6a831c implement storage client and provider node adapters 2020-03-18 11:37:32 -07:00
Łukasz Magiera
b2d4d37539 Merge pull request #1416 from filecoin-project/feat/import-data-usage
Feat/import data usage
2020-03-18 19:06:37 +01:00
laser
6622576cf8 update retrieval provider node adapter to new API 2020-03-18 10:53:06 -07:00
laser
ec3e86ad18 update retrieval client node adapter to new API 2020-03-18 10:44:54 -07:00
laser
eacf991bb2 update go-fil-markets dependency 2020-03-18 10:21:50 -07:00
Aayush Rajasekaran
163527a021 Merge pull request #1313 from filecoin-project/asr/spam
Re: #1302: Refine invalid message filtering
2020-03-18 03:24:12 -04:00
Aayush Rajasekaran
6fda3c877e Re: #1302: Refine invalid message filtering
- This commit slightly weakens the current invalid message check
- The behaviour is that if you can't add a message to your pool, you *probably* won't broadcast it to your peers
- The exceptions are that you will broadcast a message if you fail to validate it because nonce / balance lookup fails
- This commit also lowers the invalid message log to debug (to lessen the annoyance of several invalid messages coming in, and hopefully to prevent confusion among node operators)
2020-03-18 03:14:18 -04:00
Aayush Rajasekaran
4dfe467e66 Merge pull request #1383 from filecoin-project/asr/actoraddress
New Actor Addresses should be generated as per spec
2020-03-18 03:10:42 -04:00