Skip to content

Commit

Permalink
update mx-sdk-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
bbyalcinkaya committed Aug 25, 2023
1 parent 1519654 commit 9fb67b8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ $(foundry_kompiled): $(ELROND_FILES_KWASM_DIR) $(PLUGIN_FILES_KWASM_DIR) $(PLUGI
llvm_main_file=foundry \
EXTRA_SOURCE_FILES="$(EXTRA_SOURCES)" \
KOMPILE_OPTS="$(KOMPILE_OPTS)" \
LLVM_KOMPILE_OPTS="$(LLVM_KOMPILE_OPTS)" \
LLVM_KOMPILE_OPTS="$(LLVM_KOMPILE_OPTS)" \
K_INCLUDE_DIR=$(K_INCLUDE_DIR)

# Testing
Expand All @@ -225,7 +225,9 @@ KRUN_OPTS :=
elrond-contract-deps := test-elrond-adder \
test-elrond-crowdfunding-esdt \
test-elrond-multisig \
test-elrond-basic-features
test-elrond-basic-features \
test-elrond-alloc-features

test-elrond-contracts: $(elrond-contract-deps)

test: test-simple mandos-test test-elrond-contracts test-custom-contracts
Expand Down
2 changes: 1 addition & 1 deletion deps/mx-sdk-rs
Submodule mx-sdk-rs updated 1472 files
2 changes: 1 addition & 1 deletion elrond-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ TODO: Implement [reserved keys and read-only runtimes](https://github.com/Elrond
requires notBool #hasPrefix(KEY, "ELROND")
rule <instrs> #isReservedKey(KEY)
=> #throwException(UserError, "cannot write to storage under Elrond reserved key") ...
=> #throwException(ExecutionFailed, "cannot write to storage under reserved key") ...
</instrs>
requires #hasPrefix(KEY, "ELROND")
Expand Down
2 changes: 2 additions & 0 deletions pykelrond/src/pykelrond/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def config_to_kast_term(config: KInner) -> dict:


def mandos_int_to_kint(mandos_int: str) -> KToken:
if mandos_int == "":
return KInt(0)
if mandos_int[0:2] == '0x':
return KInt(int(mandos_int, 16))
unseparated_int = mandos_int.replace(',', '')
Expand Down
2 changes: 0 additions & 2 deletions tests/alloc_features.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
deps/mx-sdk-rs/contracts/feature-tests/alloc-features/scenarios/boxed_bytes_zeros.scen.json
deps/mx-sdk-rs/contracts/feature-tests/alloc-features/scenarios/crypto_keccak256_legacy_alloc.scen.json
deps/mx-sdk-rs/contracts/feature-tests/alloc-features/scenarios/crypto_sha256_legacy_alloc.scen.json
deps/mx-sdk-rs/contracts/feature-tests/alloc-features/scenarios/echo_async_result_empty.scen.json
deps/mx-sdk-rs/contracts/feature-tests/alloc-features/scenarios/echo_big_int_nested_alloc.scen.json
deps/mx-sdk-rs/contracts/feature-tests/alloc-features/scenarios/echo_boxed_bytes.scen.json
Expand Down
2 changes: 0 additions & 2 deletions tests/basic_features.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/big_uint_to_u64.
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/block_info.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/codec_err.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/count_ones.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/crypto_keccak256_legacy_managed.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/crypto_keccak256.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/crypto_sha256_legacy_managed.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/crypto_sha256.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/echo_array_u8.scen.json
deps/mx-sdk-rs/contracts/feature-tests/basic-features/scenarios/echo_arrayvec.scen.json
Expand Down

0 comments on commit 9fb67b8

Please sign in to comment.