Commit Graph

9363 Commits

Author SHA1 Message Date
whyrusleeping
a5428d5c19 pull out test boilerplate 2019-07-12 14:57:49 -07:00
whyrusleeping
c5e9a8a550 finish wiring, test passes! 2019-07-12 14:36:49 -07:00
whyrusleeping
9747ed3bef integrating storage market actor, includes cross actor messaging 2019-07-12 14:12:21 -07:00
Whyrusleeping
60a767da7d
Merge pull request #27 from filecoin-project/fix/invoker-decode-error
Fix invoker when UnmarshalCBOR errors
2019-07-12 14:09:05 -07:00
Jakub Sztandera
2981c95207 Fix invoker when UnmarshalCBOR errors
Underlying issue: https://git.io/fjXU6

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 23:06:22 +02:00
Łukasz Magiera
df90b72500 jsonrpc: update tests 2019-07-12 19:12:51 +02:00
Łukasz Magiera
6a20d0dafe jsonrpc: Websocket server 2019-07-12 19:12:38 +02:00
Whyrusleeping
87a3eba8db
Merge pull request #23 from filecoin-project/feat/init-actor-rebase
init actor
2019-07-12 09:58:06 -07:00
whyrusleeping
d88c857deb expose state tree on vmcontext for the init actor 2019-07-12 09:40:58 -07:00
Jakub Sztandera
9b1843fcfd
Merge pull request #24 from filecoin-project/test/fsrepo
Add more tests to repo
2019-07-12 18:07:48 +02:00
Jakub Sztandera
46a93d2448 Add more tests to repo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 17:51:38 +02:00
Jakub Sztandera
c48a63b003
Merge pull request #21 from filecoin-project/refac/types
Extract types needed for actors outside of chain
2019-07-12 17:44:46 +02:00
Łukasz Magiera
0eb208e1d3 WS JsonRPC client 2019-07-12 17:29:41 +02:00
Jakub Sztandera
f42df886be Remove lint-all
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 17:06:56 +02:00
Jakub Sztandera
44fdf98484 Fix lint warnings
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 17:06:16 +02:00
whyrusleeping
c4022505c7 integrate init actor to vm invoker
more wiring

Add a test for the basic init.exec running and make it pass

fix bad block comment

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 15:24:35 +02:00
Jakub Sztandera
e720f5d3a6 Extract most of the rest and make VMContext an interface
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 12:43:55 +02:00
Jakub Sztandera
9746b88bb3 Move Actor, BigInt, MessageReceipt
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 12:23:05 +02:00
whyrusleeping
ea2039ecb6 fix build 2019-07-11 21:09:04 -07:00
Jakub Sztandera
60efe8542e
Merge pull request #19 from filecoin-project/feat/invoke
Add built in invoker
2019-07-11 21:09:24 +02:00
Whyrusleeping
3f61488e3c
Merge pull request #17 from filecoin-project/feat/mining-1
Implement basic mining logic
2019-07-11 10:09:15 -07:00
Jakub Sztandera
c3a34d9373 fix lack of newErr instance
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 18:17:47 +02:00
Jakub Sztandera
9f8572018f Switch to exports
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 18:15:44 +02:00
Jakub Sztandera
219fc093b1 Fix lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:47:05 +02:00
Jakub Sztandera
6f2cd71e86 Remove not needed panic
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:40:01 +02:00
Jakub Sztandera
286bba10eb Add built in invoker
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:38:37 +02:00
Łukasz Magiera
2b04629fdf
Merge pull request #16 from filecoin-project/feat/repo-daemon
Wire up repo
2019-07-11 14:02:45 +02:00
Łukasz Magiera
dd25f31e9a Make API listen on localhost only 2019-07-11 13:57:04 +02:00
Łukasz Magiera
cd16e3e597 Fix lint warnings 2019-07-11 13:52:07 +02:00
Łukasz Magiera
ffafc056ee fsrepo: check dsErr before returning datastore 2019-07-11 13:48:21 +02:00
Jakub Sztandera
8e1a1a86a4 Remove doc lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 10:00:24 +02:00
whyrusleeping
1d31e50ec5 demote error message 2019-07-10 22:17:49 -07:00
whyrusleeping
13ba6d938b Remove unused variable 2019-07-10 21:56:39 -07:00
whyrusleeping
19c883cdfe fix a few things, including marshaling of tipset 2019-07-10 21:36:10 -07:00
whyrusleeping
d381025ccc Implement initial mining logic 2019-07-10 19:36:43 -07:00
whyrusleeping
e09a379c3b add mpool pending command 2019-07-10 12:20:16 -07:00
Łukasz Magiera
1f97ad2c2e Use repo libp2p identiny 2019-07-10 19:43:19 +02:00
Łukasz Magiera
e639670195 cli: use repo api endpoint 2019-07-10 19:28:49 +02:00
Łukasz Magiera
2e8dfc759b daemon: wire up fsrepo 2019-07-10 19:10:19 +02:00
Łukasz Magiera
1f8c3f4145 repo: update Datastore, Init 2019-07-10 19:09:57 +02:00
Łukasz Magiera
ba456be68f Merge remote-tracking branch 'origin/master' into feat/repo-daemon 2019-07-10 18:52:49 +02:00
Łukasz Magiera
999b7d568c
Merge pull request #15 from filecoin-project/feat/fs-repo
Introduce fsrepo
2019-07-10 17:39:41 +02:00
Łukasz Magiera
14d515da3b Wire up memrepo 2019-07-10 17:38:35 +02:00
Whyrusleeping
67bf8c1550
Merge pull request #10 from filecoin-project/feat/mining-interface
WIP: thoughts on apis needed for mining process
2019-07-10 08:31:46 -07:00
Jakub Sztandera
ed54a30109 fix lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 17:14:29 +02:00
Jakub Sztandera
d484e4ffb9 Run tests and fix some bugs
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 17:11:10 +02:00
Jakub Sztandera
8cd484a8b0 Change lint options
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 15:42:18 +02:00
Jakub Sztandera
898454ca9a Introduce fsrepo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 15:42:18 +02:00
Łukasz Magiera
0aacd4048c
Merge pull request #12 from filecoin-project/test/net
Wire up tests
2019-07-10 15:10:17 +02:00
Łukasz Magiera
5ed695a84a Expose some node settings 2019-07-10 15:06:04 +02:00