Commit Graph

126 Commits

Author SHA1 Message Date
Paweł Bylica ca85b77f57
Return bool from evmc_get_balance_fn() 2018-09-06 14:21:51 +02: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 280ff99363
Use bool type instead of int with 1 and 0 2018-09-06 00:28:27 +02:00
Alex Beregszaszi 9490c1a16f Go: support create2_salt 2018-09-05 18:03:33 +01: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 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 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 e2cff68587
Rename context_fn_table to host_interface 2018-08-31 13:39:41 +02: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 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 83f135b5c5
go: Add Host exported functions type checks 2018-08-30 13:03:50 +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
Alex Beregszaszi dba19c1d84 Go bindings: Use evmc_instance_name/version 2018-08-27 12:08:05 +01:00
Paweł Bylica 43fc619a7e
Update license note in headers of source files 2018-08-22 13:57:25 +02:00
Paweł Bylica 0659e24db0
Update copyright notice 2018-08-21 09:44:18 +02:00
Alex Beregszaszi a65e9fdf77 Go bindings: reword error description for unknown cases 2018-08-20 15:53:26 +01:00
Alex Beregszaszi eb447e9ecc Go bindings: do not panic on unknown status code 2018-08-20 15:50:06 +01:00
Alex Beregszaszi 89edc1e769 Go bindings: add missing error codes 2018-08-20 15:50:06 +01:00
Alex Beregszaszi f014e4fc77 Add evmc_execute helper 2018-08-20 14:59:52 +01:00
Paweł Bylica 71df6b8091
Add Go bindings 2018-08-20 14:56:14 +02:00