Commit Graph

515 Commits

Author SHA1 Message Date
Alex Beregszaszi bff66a17c5 Upgrade Cable to 0.2.13 2018-09-06 13:04:58 +01:00
Alex Beregszaszi 807549c77d Squashed 'cmake/cable/' changes from 6458a65..311c059
311c059 Cable 0.2.13: Fix spelling typos
d4de521 Cable 0.2.12
646c412 gitinfo: Use --first-parent for git-describe

git-subtree-dir: cmake/cable
git-subtree-split: 311c0599183fbc46b402f40d6e6e5033ace2f686
2018-09-06 13:04:58 +01:00
Paweł Bylica 2ac609dfba
Merge pull request #136 from ethereum/set-option
Introduce evmc_set_option_result enum
2018-09-06 12:00:29 +02:00
Alex Beregszaszi 7f84dcf14d Fix typo in EVMC VM Tester name 2018-09-06 09:54:09 +01:00
Alex Beregszaszi 97a559c712 Go: more verbose error reporting on set_option 2018-09-06 09:54:09 +01:00
Alex Beregszaszi 50c254fb98 Introduce evmc_set_option_result enum 2018-09-06 09:54:09 +01:00
Paweł Bylica 83a679c524
Merge pull request #138 from ethereum/bool
Use bool type instead of int with 1 and 0
2018-09-06 09:10:42 +02:00
Paweł Bylica 280ff99363
Use bool type instead of int with 1 and 0 2018-09-06 00:28:27 +02:00
Alex Beregszaszi 637f9bf26b
Merge pull request #133 from ethereum/go-create2
Go: support create2_salt
2018-09-05 18:31:20 +01:00
Alex Beregszaszi 9490c1a16f Go: support create2_salt 2018-09-05 18:03:33 +01:00
Paweł Bylica 62ed4a14d3
Merge pull request #132 from ethereum/storagestore
Rename EVMC_STORAGE_MODIFIED_DIRTY to EVMC_STORAGE_MODIFIED_AGAIN
2018-09-05 14:18:00 +02:00
Alex Beregszaszi 1c69579da1 Rename EVMC_STORAGE_MODIFIED_DIRTY to EVMC_STORAGE_MODIFIED_AGAIN 2018-09-03 21:54:10 +01:00
Alex Beregszaszi 60723e231a Reorder evmc_storage_status 2018-09-03 21:53:30 +01:00
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