Commit Graph

13725 Commits

Author SHA1 Message Date
Jakub Sztandera
2364a73b92 Switch from UnmarshalCBOR interface to calling CBOR
Now invoker is calling CBOR directly.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-15 17:48:17 +02:00
Łukasz Magiera
041598dbb6 Use extracted go-filestore 2019-07-15 17:08:18 +02:00
Łukasz Magiera
b93d71e8cb jsonrpc: ws addresses in tests 2019-07-15 17:05:45 +02:00
Łukasz Magiera
1f6629e978 Basic ClientListImports 2019-07-15 16:18:47 +02:00
Łukasz Magiera
cec4918cd9 Make client import actually work 2019-07-15 16:17:34 +02:00
Łukasz Magiera
55b9f8d550 Client import CLI 2019-07-15 16:17:34 +02:00
Łukasz Magiera
97c61d4ce5 Client import 2019-07-15 16:17:34 +02:00
Łukasz Magiera
96ed4225fb improve error handling in handleWsConn 2019-07-13 14:44:20 +02:00
Łukasz Magiera
9102b03e50
Merge pull request #28 from filecoin-project/feat/wallet-cmds
add wallet new and list commands
2019-07-13 14:35:04 +02:00
whyrusleeping
1a929d0f73 add wallet new and list commands 2019-07-12 17:41:32 -07:00
whyrusleeping
0ac3545013 move actors to separate package 2019-07-12 16:52:25 -07:00
whyrusleeping
e62816dd15 some cleanup 2019-07-12 16:12:06 -07:00
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