Commit Graph

620 Commits

Author SHA1 Message Date
Paweł Bylica 7aedcd0bc0
Merge pull request #155 from ethereum/simplify-blockhash
Simplify get_block_hash() method by returning null hash
2018-10-19 18:28:36 +02:00
Paweł Bylica e461b45f1c
Simplify get_block_hash() method by returning null hash 2018-10-19 17:42:19 +02:00
Paweł Bylica 7ae0021859
Merge pull request #160 from ethereum/vm_guide
VM Implementation Guide
2018-10-19 17:34:45 +02:00
Paweł Bylica 182006bcb7
Fix typo: capabilites -> capabilities 2018-10-18 15:42:01 +02:00
Paweł Bylica ebccd234b0
docs: Document example_vm.c 2018-10-18 15:38:10 +02:00
Paweł Bylica a7f93cf307
docs: VM Implementation Guide 2018-10-18 15:07:33 +02:00
Paweł Bylica d54035828a
docs: Unify evmc_create_example_vm() example 2018-10-18 14:56:08 +02:00
Paweł Bylica 997d797816
examples: Document example_vm.c file 2018-10-18 14:06:51 +02:00
Paweł Bylica 1933836aa2
Merge pull request #159 from ethereum/host-guide
docs: Host Implementation Guide
2018-10-15 15:00:05 +02:00
Paweł Bylica 765bafb115
docs: List guides on the main page 2018-10-08 22:22:44 +02:00
Paweł Bylica 18fb4fc6b1
docs: Host Implementation Guide 2018-10-08 22:22:30 +02:00
Paweł Bylica 99c7cbfa9f
CI: Tweak codespell
- Do not explicitly skip .git dir, all . files are ignored by default.
- Set quiet level mask to 4 to ignore misspells that are disabled for automatic correction. In this case we want to allow "uint".
2018-10-05 16:24:16 +02:00
Paweł Bylica d0006cf91b Squashed 'cmake/cable/' changes from 311c059..3e54f97
3e54f97 Cable 0.2.14: Fix a spelling typo
c528da4 README: Add information how to update git subtree

git-subtree-dir: cmake/cable
git-subtree-split: 3e54f9751f50a3b6265c22402dcd5ae85ef701d4
2018-10-05 16:05:42 +02:00
Paweł Bylica a43a93f4ec
Upgrade Cable to 0.2.14 2018-10-05 16:05:42 +02:00
Paweł Bylica edb79f633b
Merge pull request #158 from ethereum/storage
Clarify requirements for get/set storage methods
2018-10-05 13:48:15 +02:00
Paweł Bylica b9f30a1b80
Clarify requirements for the set_storage method
This specifies that the account which storage is to be modified MUST exist.
2018-10-01 20:19:21 +02:00
Paweł Bylica adbe01caf8
Merge pull request #154 from ethereum/simplify-host
Simplify signatures of Host methods
2018-09-17 10:59:11 +02:00
Paweł Bylica 3eb7b0546f
Fix typo in documentation 2018-09-12 23:08:06 +02:00
Paweł Bylica 9bfb7c8ada
Return code hash from get_code_hash() directly 2018-09-12 23:08:06 +02:00
Paweł Bylica b0d0bc035b
Return size_t from get_code_size() directly 2018-09-12 23:08:06 +02:00
Paweł Bylica 67441020a4
Return uint256be from get_balance() directly 2018-09-12 23:06:14 +02:00
Paweł Bylica 941c0a9723
Drop EVMC_STORAGE_NON_EXISTING_ACCOUNT status 2018-09-09 10:16:10 +02:00
Paweł Bylica 21e6605f98
Return bytes32 from get_storage() directly 2018-09-09 10:16:10 +02:00
Paweł Bylica 48b85bd29d
Merge pull request #153 from ethereum/go-capabilities
go: Add bindings for has_capability()
2018-09-08 23:21:55 +02:00
Paweł Bylica 180b191965
go: Add bindings for has_capability() 2018-09-08 23:08:47 +02:00
Paweł Bylica 6eb118c354
Merge pull request #148 from ethereum/evmcpp
Move C++ helpers into evmc/helpers.hpp
2018-09-08 22:52:57 +02:00
Paweł Bylica 5c8e64915a
Improve C++ helpers 2018-09-08 22:43:04 +02:00
Alex Beregszaszi da9c03ffb5
Implement std::hash support for evmc_bytes32
Uses FNV1a hash with 64-bit result.
2018-09-08 22:39:33 +02:00
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