Crates.io | near-vm-logic |
lib.rs | near-vm-logic |
version | 0.17.0 |
source | src |
created_at | 2019-08-21 22:28:26.120905 |
updated_at | 2023-05-30 17:57:04.110926 |
description | This crate implements the specification of the interface that Near blockchain exposes to the smart contracts. |
homepage | |
repository | https://github.com/near/nearcore |
max_upload_size | |
id | 158747 |
size | 377,386 |
This crate implements the specification of the interface that Near blockchain exposes to the smart contracts. It is not dependent on the specific way the smart contract code is executed, e.g. through Wasmer or whatnot, and therefore can be used for unit tests in smart contracts.
Note, this logic assumes the little endian byte ordering of the memory used by the smart contract.
cargo test --features mocks