Łukasz Magiera
|
faebc4c948
|
WIP Integrating specs-actors with refactored miner state
|
2020-07-14 13:45:45 +02:00 |
|
Łukasz Magiera
|
c1048a0353
|
vm: Separate logger for actors
|
2020-07-13 12:29:27 +02:00 |
|
Jakub Sztandera
|
9936439608
|
Merge remote-tracking branch 'origin/master' into next
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-07-03 14:56:06 +02:00 |
|
Jakub Sztandera
|
c68a8f802e
|
Adjust gas
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-07-02 18:47:33 +02:00 |
|
Jakub Sztandera
|
bc88c632d1
|
Fix previous commit
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-07-02 18:47:33 +02:00 |
|
Jakub Sztandera
|
1e17ea3fff
|
Adjust gas values
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-07-02 18:47:33 +02:00 |
|
Jakub Sztandera
|
a2fd0aad41
|
More on OnActorExec
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-07-02 18:47:31 +02:00 |
|
Jakub Sztandera
|
01ac4e5da3
|
Gas on actor exec
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-07-02 18:47:30 +02:00 |
|
Łukasz Magiera
|
a6d1323eba
|
Update specs-actors to v0.7.0; More correct genesis sector import
|
2020-06-26 15:08:12 +02:00 |
|
Jakub Sztandera
|
91ea039077
|
Change ellipsis, more accurate timing
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-06-12 20:46:04 +02:00 |
|
Jakub Sztandera
|
cd69e57a33
|
Expose more callers, ellipsis unimportant ones
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-06-12 18:49:29 +02:00 |
|
Jakub Sztandera
|
c90d35869b
|
Add gas tracing
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-06-11 21:59:39 +02:00 |
|
Jakub Sztandera
|
6acc9a62f8
|
Split gas internally into compute gas and storage gas
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-06-11 20:37:14 +02:00 |
|
Jakub Sztandera
|
c3f23ddce8
|
Refactor ExecutionResult to ExecutionTrace
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-06-11 15:53:47 +02:00 |
|
Jakub Sztandera
|
5605aae269
|
Fix even more lint warnings
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-06-02 16:29:39 +02:00 |
|
Aayush Rajasekaran
|
7dd25c3ac5
|
Correctly handle transfers with sender = receiver
|
2020-05-29 12:15:41 -04:00 |
|
Jakub Sztandera
|
d6615b6286
|
Cleanup many lint warnings
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-05-27 22:53:20 +02:00 |
|
frrist
|
9165f14693
|
feedback: fatal errors in vm.transfer
|
2020-05-18 12:00:52 -07:00 |
|
frrist
|
0c2e4e2d4f
|
return correct exitcodes from vm transfer
|
2020-05-18 12:00:52 -07:00 |
|
Aayush Rajasekaran
|
6bf2dcd97c
|
Message validation changes
|
2020-05-11 21:54:44 -04:00 |
|
Aayush Rajasekaran
|
187e386740
|
Bugfix: Correctly transfer gas when failing to charge for retValue
|
2020-05-06 16:53:32 -04:00 |
|
Jeromy
|
a553d438c0
|
dont override exit codes for actor creation failure
|
2020-05-04 16:31:26 -07:00 |
|
frrist
|
c66415ae4c
|
fix: insufficient gas remaining to cover retval
proceed as in the case of method execution failure.
|
2020-04-29 16:38:34 -07:00 |
|
Aayush Rajasekaran
|
5900d765fd
|
caller must be validated exactly once
|
2020-04-28 00:07:47 -04:00 |
|
Aayush Rajasekaran
|
e46c4652a5
|
Forbid internal message in State Transaction()
|
2020-04-25 02:01:26 -04:00 |
|
Aayush Rajasekaran
|
832657edfb
|
Eliminate use of SysErrInternal, some interop changes
|
2020-04-25 01:55:59 -04:00 |
|
Jeromy
|
7ee42e61d5
|
add command to analyze import bench output
|
2020-04-23 16:48:54 -07:00 |
|
Aayush Rajasekaran
|
14ad808a00
|
Remove unused fields from VM
|
2020-04-16 15:34:01 -04:00 |
|
Łukasz Magiera
|
70d654e4a6
|
Merge pull request #1527 from filecoin-project/feat/drand
Initial randomness beacon implementation
|
2020-04-09 19:48:09 +02:00 |
|
Aayush Rajasekaran
|
17e9feb633
|
Sever the API's dependency on VM
|
2020-04-08 18:27:31 -04:00 |
|
Jeromy
|
8e0ca306d2
|
more wiring up of drandomness
|
2020-04-08 08:11:42 -07:00 |
|
Jeromy
|
4c6fa1b2c0
|
handle some runtime error edge cases
|
2020-04-03 14:38:11 -07:00 |
|
Jeromy
|
212c346c21
|
avoid flushing disk when doing state tree snapshots
|
2020-04-02 17:18:25 -07:00 |
|
Łukasz Magiera
|
11777c5f24
|
Merge pull request #1502 from filecoin-project/feat/import-bench
add a command to lotus-bench to benchmark importing and validating
|
2020-04-03 01:30:12 +02:00 |
|
Jeromy
|
beaa3dffab
|
add a command to lotus-bench to benchmark importing and validating a chain
|
2020-04-02 16:18:38 -07:00 |
|
Jeromy
|
8a265a0e8d
|
use exitcode type from specs actors instead of byte
|
2020-04-02 11:24:38 -07:00 |
|
Jeromy
|
97a7b449e6
|
use charge gas safe in places we return errors
|
2020-03-27 10:11:21 -07:00 |
|
Jeromy
|
672956af5d
|
addressing review
|
2020-03-26 20:13:32 -07:00 |
|
Travis Person
|
090261f304
|
Revert gas exhausted exit code to SysErrOutOfGas
|
2020-03-27 00:19:34 +00:00 |
|
Jakub Sztandera
|
06cfbf5742
|
Switch exitcodes
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-03-26 22:11:06 +01:00 |
|
Jakub Sztandera
|
300c89f541
|
Update to new sepcs actors, more debug
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-03-26 01:02:13 +01:00 |
|
Jeromy
|
088d693eea
|
code review changes
|
2020-03-25 12:13:09 -07:00 |
|
Aayush Rajasekaran
|
ebcefa80e3
|
provide msg length to vm::ApplyMessage
|
2020-03-25 08:25:03 -04:00 |
|
Aayush Rajasekaran
|
490f85e690
|
Send implicit messages for block rewards, cron ticks, state calls, and genesis setup
|
2020-03-25 08:25:03 -04:00 |
|
Aayush Rajasekaran
|
ad15750be3
|
Charge sender no gas, and penalise miner for certain invalid messages
|
2020-03-25 08:25:03 -04:00 |
|
Aayush Rajasekaran
|
09a46e5d80
|
fix some gas charge bugs, and make our new account actor creation follow GFC
|
2020-03-25 08:25:03 -04:00 |
|
Aayush Rajasekaran
|
df13cfa52b
|
Only resolve origin to pubkey address when creating a new account actor
|
2020-03-24 04:43:09 -04:00 |
|
Aayush Rajasekaran
|
9ccc02d664
|
Load actor states afresh before making state changes
- Not doing this is causing bugs when reverting, since the actor cache gets reset
|
2020-03-24 03:33:22 -04:00 |
|
Jeromy
|
2228f13f99
|
a couple vm fixes
|
2020-03-23 18:50:58 -07:00 |
|
Jeromy
|
6fe245a278
|
use proper exitcodes for caller validation
|
2020-03-23 18:50:28 -07:00 |
|