obscuren
e7627623b9
core/vm: reverse loop stack
10 years ago
obscuren
f94c5473ad
core/vm: fixed a bug where `Data` ignored the stack ptr
10 years ago
obscuren
10af69b57c
core, core/vm: moved logger and added gas cost to struct logging
10 years ago
obscuren
fc2a061d51
core/vm: unexported stack again. No longer required
10 years ago
obscuren
065aff9ffa
core/vm: documentation and name changes
10 years ago
obscuren
6fb6e6679e
core/vm, core/state: added storage to structured vm logging
10 years ago
obscuren
38c61f6f25
core, core/vm: added structure logging
...
This also reduces the time required spend in the VM
10 years ago
obscuren
ff5b3ef087
core/vm: added structured logging
10 years ago
obscuren
468501cb86
core/vm: changed program counter to uint64
10 years ago
Gustav Simonsson
6e3b58e491
Remove unneeded if check on EC recover padding
10 years ago
Gustav Simonsson
ad5b5a4895
Pad precompiled EC recover input and add validations
10 years ago
obscuren
fa4aefee44
core/vm: cleanup and renames
10 years ago
Felix Lange
48fb0c3213
core/vm: check for 'no code' before doing any work
10 years ago
Felix Lange
ea2718c946
core/vm: improve JUMPDEST analysis
...
* JUMPDEST analysis is faster because less type conversions are performed.
* The map of JUMPDEST locations is now created lazily at the first JUMP.
* The result of the analysis is kept around for recursive invocations
through CALL/CALLCODE.
Fixes #1147
10 years ago
obscuren
f6f81169fe
core/vm: Fork fix. Removal of appending 0 bytes in memset
10 years ago
obscuren
b419e2631a
core/vm: Cleanups & SUB output fix. Closes #1096
10 years ago
obscuren
7381be8edb
core/vm, rpc: added disasm to `ext_` RPC
10 years ago
obscuren
f5af1fdca8
core/vm: RETURN op code returns pointer to memory rather than copy
10 years ago
obscuren
1c872ddf4b
Changed how logs are being recorded
...
Logs are now recorded per transactions instead of tossing them out after
each transaction. This should also fix an issue with
`eth_getFilterLogs` (#629 ) Also now implemented are the `transactionHash,
blockHash, transactionIndex, logIndex` on logs. Closes #654 .
10 years ago
Gustav Simonsson
2591883a18
Use logger.Error instead of 0 with glog
10 years ago
Gustav Simonsson
3f306f63d4
Forward and log EC recover err and remove dup pubkey len check
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
f49e398ebe
bool => int
10 years ago
obscuren
c59c826ab4
fixed stack level
10 years ago
Gustav Simonsson
c26c8d3a44
Read most protocol params from common/params.json
...
* Add params package with exported variables generated from
github.com/ethereum/common/blob/master/params.json
* Use params package variables in applicable places
* Add check for minimum gas limit in validation of block's gas limit
* Remove common/params.json from go-ethereum to avoid
outdated version of it
10 years ago
obscuren
516ec28544
sha3 stack check
10 years ago
obscuren
96cf776f81
Check stack for BALANCE. Closes #622
10 years ago
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
10 years ago
obscuren
61c5edcb57
Cleanup.
10 years ago
obscuren
368ebe63a9
Cleanup VM.
...
* CALLDATA use getData
* removed old context get range value
* removed casting big => int for some cases
* pc now big int #457
10 years ago
obscuren
3b7e4173ce
Cleanup VM
10 years ago
obscuren
3ea8c7301e
PUSH gas fix
10 years ago
obscuren
df648cbc60
Removed comments
10 years ago
obscuren
8a22cd5e6c
Removed defer/panic. #503
10 years ago
obscuren
00f8319faf
Explicitly check memory's data store. #515
10 years ago
obscuren
c32bca45ad
Stack limit
10 years ago
obscuren
ff9d66e096
Cleaned up changes
10 years ago
obscuren
23bccbbc58
Modified according to poc 9 changes
...
* Refund of value
10 years ago
obscuren
ebf4408d73
Decrement depth
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago