sc 0.63.0, chain 0.20.0, sdk 0.13.0, scenario-format 0.24.0
·
618 commits
to master
since this release
- New block info API, which returns timestamps as either
TimestampSecondsorTimestampMillis, instead of justu64:- New types for measuring time, not only timestamps, but also durations (
DurationSecondsandDurationMillis); - Previous functions deprecated in favor of the new ones as follows:
get_block_timestamp->get_block_timestamp_secondsget_block_timestamp_ms->get_block_timestamp_millis- same for previous block and epoch start block
get_block_round_time_ms->get_block_round_time_millis;
- Support for
TimestampSecondsandTimestampMilliswhen setting up blackbox tests; - Mandos support for millisecond timestamps, in both mandos-go and mandos-rs.
- New types for measuring time, not only timestamps, but also durations (
- Rust VM support for fallible sync calls. Adjusted event logs to match the Go VM.
- Contract build improvements:
- The Rust version is now sent to the wasm build command via CLI, always. This overrides all other settings, giving the framework full control over the Rust version used.
- The Rust version can be configured in
sc-config.toml. This overrides all other settings. If missing, the current config will be detected and used explicitly. - The
wasm-optversion can be specified insc-config.toml. Whilesc-metacannot install or change this version, it will crash if there is a version mismatch, signalling problems with reproducible builds. - The
sc-metastandalone tool signals version incompatibilities when building contracts. Most importantly it writes a warning to console if multiversx-sc version <v0.58and rustc ≥v1.87. - Added a deprecated VM hooks checker mechanism. Currently only checks for legacy call value getters.
- ABI build info improvements:
- Added host;
- Added LLVM version;
- Rustc version guaranteed to match the one used for building the wasm binary;
- Ensured historical backwards compatibility, back to the first version of the ABI format.
TokenIdentifierrenamed toEsdtTokenIdentifier, since the old name was misleading. Old name kept as alias, for backwards compatibility.- Fixed proxy imports in snippets.