near-vm-logic

Crates.ionear-vm-logic
lib.rsnear-vm-logic
version0.17.0
sourcesrc
created_at2019-08-21 22:28:26.120905
updated_at2023-05-30 17:57:04.110926
descriptionThis crate implements the specification of the interface that Near blockchain exposes to the smart contracts.
homepage
repositoryhttps://github.com/near/nearcore
max_upload_size
id158747
size377,386
(nearprotocol-ci)

documentation

README

near-vm-logic

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.

Run tests

cargo test --features mocks

Commit count: 7307

cargo fmt