Commit Graph

58 Commits

Author SHA1 Message Date
Ethan Buchman b11012026d fire events on snative and allow from CallTx 2015-07-07 14:07:57 -07:00
Ethan Buchman d824e1b731 cleanups, fix AllSet 2015-07-07 14:07:56 -07:00
Ethan Buchman b2282d5a39 faster binding of snatives to vm (available every call) 2015-07-07 14:07:56 -07:00
Ethan Buchman f75b6aff74 CreateAccount permission through SendTx and CALL (to unknown accounts) 2015-07-07 14:07:56 -07:00
Ethan Buchman 2ec3d0611f bond perm and tests 2015-07-07 14:07:56 -07:00
Ethan Buchman ab2b1643cb snative 2015-07-07 14:07:56 -07:00
Ethan Buchman 87ed1f5fda permission/types pkg, Base and Roles 2015-07-07 14:07:56 -07:00
Ethan Buchman 94f21ad012 move perms to vm.Account 2015-07-07 14:07:56 -07:00
Ethan Buchman c6c0701b69 testing send and call permissions 2015-07-07 14:07:07 -07:00
Ethan Buchman a0f3b94e83 account permissions and some gendoug 2015-07-07 14:07:07 -07:00
Jae Kwon 99b94022ee Merge pull request #95 from tendermint/vm_panics
label/remove panics in vm
2015-06-27 10:10:25 -07:00
Jae Kwon 9965dd5de6 uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/ 2015-06-25 20:28:34 -07:00
Ethan Buchman 8f94997472 label/remove panics in vm 2015-06-26 01:50:31 +00:00
Ethan Buchman 57ff919d50 godep 2015-06-09 23:17:19 -04:00
Ethan Buchman 02f4219079 cleanup calldepth=0 events logic 2015-05-15 16:49:41 -04:00
Ethan Buchman 0dbf17653a fire event on failed funds transfer in vm 2015-05-15 15:30:24 -04:00
Ethan Buchman 7b1fc780aa fix send funds from contract 2015-05-15 14:26:49 -04:00
Ethan Buchman 75e88969cb failing test for send funds from contract 2015-05-15 14:00:48 -04:00
Jae Kwon 931e2b5a9b remove ethereum dependency 2015-05-12 11:38:15 -07:00
Jae Kwon 3c96890d2d All numbers are in BigEndian 2015-05-03 17:42:46 -07:00
Jae Kwon b92c0401e6 Made all JSON fields lower_case 2015-05-01 17:26:49 -07:00
Ethan Buchman e702303e16 little fixes to vm and endianess 2015-04-17 20:51:01 -07:00
Ethan Buchman a28c1c83fc Merge branch 'unflip' of https://github.com/tendermint/tendermint into unflip
Conflicts:
	vm/vm.go
2015-04-17 17:46:02 -07:00
Ethan Buchman 3579a3fdb9 tiny fixes 2015-04-17 17:43:45 -07:00
Jae Kwon b11ca1bbfc (╯°□°)╯︵ ┻━┻ 2015-04-17 17:39:50 -07:00
Jae Kwon 2668b59631 ┬─┬ ︵ /(.□. \) 2015-04-17 16:05:36 -07:00
Ethan Buchman 65f669160f more fixes from review 2015-04-17 13:18:50 -07:00
Ethan Buchman 75049ec827 major flippage for vm addrs. now left padded words for tx_cache 2015-04-16 00:09:03 -07:00
Ethan Buchman d27e0bbad5 event cache and fireable interace 2015-04-16 00:08:58 -07:00
Ethan Buchman a1c5e32d76 fixes from review with jae 2015-04-15 22:19:29 -07:00
Ethan Buchman b4388ae010 vm: eventable and flip fix on CALL address 2015-04-14 19:25:49 -07:00
Ethan Buchman 2e918e8c0b rpc: websocket events testing 2015-04-14 01:39:41 -07:00
Jae Kwon 7356556938 Some renames and small fixes. 2015-04-08 12:30:49 -07:00
Ethan Buchman ade13daec1 vm: fix errors not being returned 2015-04-07 00:34:27 -05:00
Jae Kwon 13b6508ecd Package import path change 2015-04-01 17:30:16 -07:00
Ethan Buchman 60f166e823 tendermint2 2015-03-31 15:33:31 -07:00
Ethan Buchman e6c352dba0 vm: flip sha3 result 2015-03-31 15:33:31 -07:00
Jae Kwon f234d0aafb Remove spurious flippage 2015-03-29 19:05:29 -07:00
Jae Kwon 4be97fa9d4 Transcribe vm changes from vm_fixes by Ethan 2015-03-29 00:07:10 -07:00
Jae Kwon 79304b0dd3 Create BlockCache and TxCache for performance. 2015-03-28 23:44:07 -07:00
Jae Kwon fd0646fc4f Compare blockhashes in stageBlock() 2015-03-26 14:18:10 -07:00
Jae Kwon b25915ee41 Minor cleanup 2015-03-21 19:01:13 -07:00
Ethan Buchman acf25835aa vm: fix endianess by flipping on subslic 2015-03-21 15:51:36 -07:00
Ethan Buchman e6da48880b vm: fix Pad functions, state: add debug log for create new account 2015-03-21 13:38:46 -07:00
Jae Kwon ab8ad30648 Set Pubkey on vm.Account. 2015-03-21 13:16:58 -07:00
Ethan Buchman bf87ec1070 vm: check errors early to avoid infinite loop 2015-03-21 01:44:47 -07:00
Ethan Buchman 6cd46b726d state: ExecTx bug fixes for create contract 2015-03-21 00:34:11 -07:00
Ethan Buchman deff645dba some public convenience functions, extra debug errors on ExecTx 2015-03-21 00:11:01 -07:00
Jae Kwon 55d8e29e32 Fixed issues from review with Ethan 2015-03-20 21:15:46 -07:00
Jae Kwon b7553e2bfe Address is generated with VMAppState, and it increments the nonce too. 2015-03-20 20:03:37 -07:00