CDT 4.0.1 Release Notes
Contract Development Toolkit (CDT) is a C/C++ toolchain targeting WebAssembly (WASM) and a set of tools to facilitate development of smart contracts written in C/C++ that are meant to be deployed to an Antelope blockchain.
This bug fix release fixes MacOS builds, updates integrations with Leap , and removes the previously unused "antler-proj" library.
Read on for details.
Bug Fixes
Updated CI tests to use libtester from Leap Package
Updates GitHub Actions to use libtester provided by existing leap deb package.
Add Explicit Overloads
Fixes a bug where std::basic_string<uint8_t>
fails to correctly match in datastream
for the stream operators
Fix Deprecated Call in cmake
Updates cmake to use find_package(Python)
previous method is deprecated.
Fix MacOS Builds
Updates codes to work on the latest clang, and updated linking to work across MacOS and Linux.
PRs
- (223)[4.0] fix
-fnative
linking on macOS @spoonincode - (233)[4.0] remove
is_callable_v<>
workaround, fixing build @spoonincode
Remove Unused Libraries
Removes Antler Run and Antler Proj. This code was unaccessible.
Fix ABI Issues with Nested Contract Calls
The wrong type was included in an ABI. This occured in limited circumstances, when including an hpp file from a contract that defined a global singleton into another contract. In this scenario CDT incorrected added the global table to the ABI.
Further details on changes since last release
Contributors
Special thanks to the contributors that submitted patches for this release:
Full list of changes since last release
PRs
- (172)[4.0] run integration tests in CI with libtester from leap-dev.deb @spoonincode
- (191)Add explicit overloads @larryk85
- (224)[4.0] migrate to
find_package(Python)
for cmake 3.27+ @spoonincode - (223)[4.0] fix
-fnative
linking on macOS @spoonincode - (233)[4.0] remove
is_callable_v<>
workaround, fixing build @spoonincode - (237)Antler run removal @dimas1185
- (232)Abi fixes @dimas1185
- (238)Antler-proj removal @dimas1185
- (240)Bump version to 4.0.1 @dimas1185
Full Changelog: v4.0.0...v4.0.1