Commit Graph

502 Commits

Author SHA1 Message Date
Alex Beregszaszi e614e2fbdd Go binding: add EVMC_STORAGE_MODIFIED_DIRTY 2018-09-03 21:50:50 +01:00
Paweł Bylica d617e193ba
Merge pull request #128 from ethereum/message-refactor
Reorder evmc_message fields
2018-09-03 22:44:00 +02:00
Paweł Bylica 9a2d07e595
Remove code hash from evmc_message 2018-09-03 19:58:57 +02:00
Paweł Bylica cf43fe0f66
Reorder evmc_message fields 2018-09-03 19:58:57 +02:00
Paweł Bylica e799acb0cb
Merge pull request #73 from ethereum/blockhash
Add return code to get_block_hash_fn
2018-09-03 19:57:59 +02:00
Paweł Bylica ced1c2676f
examples: Better get_block_hash example 2018-09-03 17:24:15 +02:00
Paweł Bylica d0bc50792a
go: Add error output to Host.GetBlockHash() 2018-09-03 16:49:01 +02:00
Alex Beregszaszi d9f7ff25f5
Add return code to get_block_hash_fn 2018-09-03 16:45:08 +02:00
Paweł Bylica 7a3f6bb57a
Merge pull request #127 from ethereum/eip1283
SSTORE net gas metering support
2018-09-03 16:38:35 +02:00
Andrei Maiboroda 073fa65a01
"Modified dirty" SSTORE result status, required for net gas metering of Constantinople 2018-09-03 15:17:53 +02:00
Paweł Bylica 4d86207a00
Merge pull request #125 from ethereum/host-interface
Host interface
2018-08-31 21:44:31 +02:00
Paweł Bylica e2cff68587
Rename context_fn_table to host_interface 2018-08-31 13:39:41 +02:00
Paweł Bylica 3a3aef24c6
Merge pull request #116 from ethereum/host-example
Host example
2018-08-31 13:34:19 +02:00
Paweł Bylica 759e67a1c6
Rename examplevm to example-vm 2018-08-31 13:10:07 +02:00
Paweł Bylica 0bb3a67284
CMake: Flatten examplevm 2018-08-31 13:10:07 +02:00
Paweł Bylica f858f79e2a
CMake: Flatten example_host 2018-08-31 13:10:06 +02:00
Paweł Bylica 98213f93ec
Add back main example that uses example Host and VM 2018-08-31 13:09:05 +02:00
Paweł Bylica 78888b57a9
Create header for example_host 2018-08-31 13:09:04 +02:00
Paweł Bylica 43dce45a5b
Create context in example host 2018-08-31 13:09:04 +02:00
Paweł Bylica 5aefc4faf3
Replace capi.c example with example_host.cpp 2018-08-31 13:09:04 +02:00
Paweł Bylica 4d4ff37c1c
CMake: EVMC_TESTING option implies EVMC_EXAMPLES 2018-08-31 10:17:06 +02:00
Paweł Bylica 297ce06f05
Merge pull request #119 from ethereum/loader
Generalize loader searching algorithm
2018-08-31 10:15:06 +02:00
Paweł Bylica eadcd23ce8
changelog: Add entry about loader symbol searching 2018-08-30 23:24:24 +02:00
Paweł Bylica a0bffe9523
Generalize loader searching algorithm
Allow loader to shorten the name word by word to the point where only single word is left.
2018-08-30 23:24:24 +02:00
Alex Beregszaszi 4955ebfba1
Merge pull request #114 from ethereum/tx-context
Return evmc_tx_context in get_tx_context (as opposed to pointer parameter)
2018-08-30 14:24:50 +01:00
Alex Beregszaszi 0403343779 Return evmc_tx_context in get_tx_context (as opposed to pointer parameter) 2018-08-30 14:03:50 +01:00
Paweł Bylica a6c5721c51
Merge pull request #115 from ethereum/go-fix-host-checks
go: Fix Host functions type checks
2018-08-30 14:50:38 +02:00
Paweł Bylica 47cc4cab71
go: Fix Host functions type checks 2018-08-30 14:12:00 +02:00
Alex Beregszaszi cd7ccf8906
Merge pull request #109 from ethereum/call-return-result
Return result from call_fn
2018-08-30 12:24:54 +01:00
Paweł Bylica e119c535df
Merge pull request #111 from ethereum/go-host-type-checks
go: Add Host exported functions type checks
2018-08-30 13:21:24 +02:00
Paweł Bylica 83f135b5c5
go: Add Host exported functions type checks 2018-08-30 13:03:50 +02:00
Paweł Bylica febd7a1878
Merge pull request #113 from ethereum/appveyor
AppVeyor fixes
2018-08-30 12:57:11 +02:00
Paweł Bylica 04423b62dd
Upgrade Hunter to 0.23.4
This change tries to refresh AppVeyor cache.
2018-08-30 11:34:13 +02:00
Paweł Bylica a889442d6a
loader: Fix compilation on Windows with GCC 2018-08-30 11:09:00 +02:00
Paweł Bylica d22cf6e596
AppVeyor CI: Disable CMake dev warnings 2018-08-30 10:47:43 +02:00
Paweł Bylica 3c86a6b934
Return result from call_fn
This changes the evmc_call_fn signature to return evmc_result object instead of getting result as an output parameter.
2018-08-29 23:00:27 +02:00
Paweł Bylica 6768aa888e
Fix compilation in Debug configuration 2018-08-29 23:00:18 +02:00
Paweł Bylica e43026cf9f
EVMC 6.0.0-dev
Bump version: 5.2.0 → 6.0.0-dev
2018-08-28 23:16:30 +02:00
Paweł Bylica 224080ef8c
EVMC 5.2.0
Bump version: 5.2.0-dev → 5.2.0
2018-08-28 23:11:56 +02:00
Paweł Bylica a503fcfb4c
Merge pull request #107 from ethereum/docs-vmtester
docs: Add basic information about evmc-vmtester
2018-08-28 22:38:28 +02:00
Paweł Bylica 8242675583
Update Changelog 2018-08-28 22:25:18 +02:00
Paweł Bylica 0b0a811ae6
docs: Add basic information about evmc-vmtester 2018-08-28 22:17:05 +02:00
Paweł Bylica b7a046ccc3
Merge pull request #106 from ethereum/examplevm
Use nicer example EVM bytecode in examples
2018-08-28 22:08:07 +02:00
Paweł Bylica a777a13f87 Include project version in examplevm 2018-08-28 20:34:48 +01:00
Alex Beregszaszi 8726fc9a33 Use nicer example EVM bytecode in examples/capi.c 2018-08-28 20:34:38 +01:00
Alex Beregszaszi 3403282827 Do not keep sample EVM code as hex string, but as proper binary in examples/examplevm 2018-08-28 20:34:38 +01:00
Paweł Bylica 872ded2ea6
Merge pull request #94 from ethereum/vm-test-execute
Add vm test for execute
2018-08-28 21:19:21 +02:00
Alex Beregszaszi 81425662e6 Add mock context for VM testing 2018-08-28 19:36:52 +01:00
Alex Beregszaszi 4a3bd021f4 Add vm test for execute 2018-08-28 19:36:52 +01:00
Alex Beregszaszi d1cea93f82
Merge pull request #104 from ethereum/clang-format
CI: Check code format
2018-08-28 17:17:10 +01:00