Stefan Talpalaru
8e5f8c8979
AppVeyor: add Nim bindings test suite
2020-02-06 11:25:20 +01:00
Ștefan Talpalaru
1eac158237
Nimble support
2020-02-02 04:16:27 +01:00
Ștefan Talpalaru
ad51a35021
Nim wrapper refactoring
...
- no more copies of original EVMC files
- automated C API wrapper generation using c2nim, sed and gawk
- removed changes to nim_host_create_context() that depended on custom
changes to the example C++ host, since the test suite is the same for
both
2020-01-22 02:18:33 +01:00
Ștefan Talpalaru
2aa39b9f61
Merge remote-tracking branch 'nim-evmc/master' into nim
2020-01-21 17:20:51 +01:00
Paweł Bylica
eb64e60621
Merge pull request #498 from kjx98/less_cmp
...
fix less compare for address and bytes32
2020-01-07 16:34:17 +01:00
Paweł Bylica
34efa10ef9
CHANGELOG: And entry about operator< fix
2020-01-07 16:17:21 +01:00
Jesse Kuang
6799b9888c
cpp: Fix less compare for address and bytes32
2020-01-07 15:59:24 +01:00
Jesse Kuang
18d54c6466
test: Add unit test for C++ less_cmp
2020-01-07 15:59:23 +01:00
Paweł Bylica
29b494bf60
Merge pull request #497 from ethereum/doc-fix
...
Fix documentation comment for evmc_result::gas_left
2019-12-23 22:03:24 +01:00
Paweł Bylica
c3535c9ef8
Fix documentation comment for evmc_result::gas_left
2019-12-23 21:51:46 +01:00
Paweł Bylica
e017376518
Merge pull request #472 from ethereum/cmake_improvements_2
...
CMake improvements 2
2019-12-23 21:50:16 +01:00
Paweł Bylica
79932fdcfa
cmake: Specify c++11 as required compile feature
2019-12-23 21:42:17 +01:00
Paweł Bylica
180f94510d
cmake: Do not set default toolchain file
2019-12-23 21:42:16 +01:00
Alex Beregszaszi
01af41fad9
Merge pull request #496 from ethereum/readme
...
README: clarify feature support in for each binding
2019-12-16 19:29:35 +00:00
Paweł Bylica
13e17af841
README: Mention `evmc run` in the testing tools section
2019-12-16 20:07:41 +01:00
Alex Beregszaszi
7b3b7f69ef
README: clarify feature support in for each binding
2019-12-16 20:07:40 +01:00
andri lim
fbf2afcff7
Merge pull request #5 from status-im/evmc_710
...
[WIP] upgrade to EVMC 7.1.0
2019-12-16 23:29:21 +07:00
andri lim
dd072f2cd2
manual cpp codegen for evmc_vm object
2019-12-16 23:25:23 +07:00
andri lim
a4b8279838
cpp codegen bug workaround
2019-12-16 23:19:59 +07:00
andri lim
513be0c238
switch build mode to cpp
2019-12-16 22:09:13 +07:00
andri lim
9af19a284c
attempt to make test green
2019-12-16 22:04:10 +07:00
andri lim
e2b88bbc0b
fixes 32 bit failure
2019-12-16 17:11:06 +07:00
andri lim
d5d3e6f0be
add CI badges
2019-12-16 16:30:36 +07:00
andri lim
0be5ec893e
add CI script
2019-12-16 16:13:32 +07:00
andri lim
4951205ba6
fixes .nimble file
2019-12-16 16:11:59 +07:00
andri lim
40179c36df
remove unneeded files
2019-12-16 16:03:13 +07:00
andri lim
41e543cd94
add mocked evmc Nim host
2019-12-16 16:00:41 +07:00
andri lim
3ba42ffcc9
implement Nim to C tests
2019-12-16 14:12:07 +07:00
andri lim
a0269efd5b
add C mocked host
2019-12-15 17:25:23 +07:00
andri lim
b02940241e
implement high level API prototype
2019-12-14 21:42:04 +07:00
andri lim
da104ab093
special note about C99 bool
2019-12-14 21:41:15 +07:00
Alex Beregszaszi
81271bb335
Merge pull request #489 from ethereum/java-last-error
...
java: fix crash with evmc_last_error_msg
2019-12-13 22:47:20 +00:00
Alex Beregszaszi
a1f35bcd12
java: fix crash with evmc_last_error_msg
2019-12-13 22:36:52 +00:00
Paweł Bylica
5d456034d6
Merge pull request #491 from ethereum/literals
...
cpp: Replace literals implementation with constexpr functions
2019-12-13 22:52:33 +01:00
Paweł Bylica
75700cbc8d
cpp: Replace literals implementation with constexpr functions
2019-12-13 16:34:02 +01:00
Paweł Bylica
bca29a5c55
Merge pull request #492 from ethereum/cpp_vm_raw_pointer
...
cpp: Add VM::get_raw_pointer()
2019-12-13 16:33:11 +01:00
andri lim
190284bfc8
inlining helper procs
2019-12-13 22:01:02 +07:00
andri lim
6aea929203
add export marker to some structs
2019-12-13 21:57:27 +07:00
Paweł Bylica
05e3519526
tools: Use VM::get_raw_pointer()
2019-12-13 15:55:56 +01:00
Paweł Bylica
347c65ae63
cpp: Add VM::get_raw_pointer()
2019-12-13 15:55:55 +01:00
andri lim
f3bbdc7e4f
fixes some type definitions
2019-12-13 21:45:05 +07:00
andri lim
86b6cb13fe
upgrade to EVMC 7.1.0
2019-12-13 21:15:05 +07:00
Paweł Bylica
8c3a44c371
Merge pull request #495 from ethereum/cmake_check
...
cmake: Bump minimum required version to 3.10
2019-12-13 14:51:39 +01:00
Paweł Bylica
91ed52eb79
cmake: Bump minimum required version to 3.10
...
- We are using GoogleTest module introduced in 3.9.
- None of Debian / Ubuntu distributions versions provides CMake 3.9. The 3.10 is selected because this is the version provided in Ubuntu 18.04 LTS.
2019-12-13 13:26:39 +01:00
Paweł Bylica
651b7714f5
cmake: Set policies only when known
2019-12-13 13:20:35 +01:00
Paweł Bylica
d92d349ad2
Merge pull request #488 from ethereum/literals
...
C++: Add uint64_t -> {bytes32, address} constructors
2019-12-12 21:12:08 +01:00
Paweł Bylica
51ea691660
test: Disable constexpr context tests in Visual Studio 2015
2019-12-12 21:02:57 +01:00
Paweł Bylica
815b81dfa3
cpp: Add converting constructor from uint64_t to address
2019-12-12 20:45:29 +01:00
Paweł Bylica
677b7d97e5
cpp: Add converting constructor from uint64_t to bytes32
2019-12-12 20:45:29 +01:00
Paweł Bylica
f5d044d901
cpp: Simplify literals implementation
2019-12-12 20:45:28 +01:00