Commit Graph

542 Commits

Author SHA1 Message Date
Alex Beregszaszi 3dfa18a393
Move C++ helpers into evmc/helpers.hpp 2018-09-08 22:39:17 +02:00
Paweł Bylica 7cfc2bf39e
Merge pull request #144 from ethereum/capabilities
Introduce evmc_capabilities and emvc_get_capabilities_fn
2018-09-08 22:24:50 +02:00
Paweł Bylica dc495408be
Improve EVMC capabilities 2018-09-08 22:16:14 +02:00
Alex Beregszaszi 7a8d1166d8
Introduce evmc_capabilities and emvc_get_capabilities_fn 2018-09-08 18:26:00 +02:00
Alex Beregszaszi 2fcf75de35
Merge pull request #152 from ethereum/bytes32
Rename uint256be to bytes32
2018-09-07 10:53:21 +01:00
Paweł Bylica 1ab90eb80a
examples: Use evmc_bytes32 in the Host example 2018-09-07 00:14:21 +02:00
Paweł Bylica 60cfde98af
Add alias evmc_address for struct evmc_address 2018-09-07 00:01:08 +02:00
Paweł Bylica 00e8b89712
Add alias evmc_bytes32 for struct evmc_bytes32 2018-09-07 00:00:32 +02:00
Paweł Bylica e772fbf28b
Rename uint256be to bytes32 2018-09-06 23:57:32 +02:00
Paweł Bylica 1322d7559c
Merge pull request #151 from ethereum/set-storage
Update storage methods
2018-09-06 23:41:39 +02:00
Paweł Bylica a48893437f
Return bool from get_storage() to indicate non-existing accounts 2018-09-06 23:12:00 +02:00
Paweł Bylica d128fe45d7
Introduce EVMC_STORAGE_NON_EXISTING_ACCOUNT for set_storage() Host method 2018-09-06 23:12:00 +02:00
Paweł Bylica 16049f2a8f
Add missing documentation about EVMC_STORAGE_MODIFIED_AGAIN
cc @gumb0
2018-09-06 23:12:00 +02:00
Paweł Bylica 9d50ed1ab3
Merge pull request #149 from ethereum/set-option-test
Add test for EVMC_SET_OPTION_INVALID_VALUE
2018-09-06 18:38:31 +02:00
Paweł Bylica f41fccd21e
Add test for EVMC_SET_OPTION_INVALID_VALUE 2018-09-06 17:57:49 +02:00
Paweł Bylica bebedc638a
Merge pull request #150 from ethereum/docs-versioning
Document versioning
2018-09-06 17:56:52 +02:00
Paweł Bylica a282af96d5
Document versioning 2018-09-06 16:48:16 +02:00
Alex Beregszaszi 75bcc02ab7
Merge pull request #145 from ethereum/codespell
Run codespell in CI
2018-09-06 14:08:35 +01:00
Alex Beregszaszi 9fc405d1b0 CI: merge codespell into lint task 2018-09-06 13:40:57 +01:00
Alex Beregszaszi b631d87f2f Fix typos in comments 2018-09-06 13:40:57 +01:00
Alex Beregszaszi dbc040590b CI: run codespell 2018-09-06 13:40:57 +01:00
Paweł Bylica 735e5ece01
Merge pull request #140 from ethereum/bool-return-type
Return bool from some Host methods
2018-09-06 14:40:29 +02:00
Paweł Bylica 8ea48035ea
examples: Make some example Host methods a bit more interesting 2018-09-06 14:21:51 +02:00
Paweł Bylica b8b3719fb9
Return bool from evmc_get_code_size_fn() 2018-09-06 14:21:51 +02:00
Paweł Bylica d6ef551541
Return bool from evmc_get_code_hash_fn() 2018-09-06 14:21:51 +02:00
Paweł Bylica ca85b77f57
Return bool from evmc_get_balance_fn() 2018-09-06 14:21:51 +02:00
Alex Beregszaszi ae4a79a9b9
Merge pull request #147 from ethereum/cable
Upgrade Cable to 0.2.13
2018-09-06 13:18:46 +01:00
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