Show the crate…

1 unstable release

0.1.0 Apr 6, 2021
0.0.0 Mar 2, 2021

#34 in #gas

22 downloads per month

GPL-3.0 license

5MB
26K SLoC

vvmbin

VVM implementation for Tetsy.

Usage

VVM implementation for Tetsy.
  Copyright 2015-2020 Parity Technologies (UK) Ltd.

Usage:
    tetsy-vvm state-test <file> [--json --std-json --std-dump-json --only NAME --chain CHAIN --std-out-only --std-err-only]
    tetsy-vvm stats [options]
    tetsy-vvm stats-jsontests-vm <file>
    tetsy-vvm [options]
    tetsy-vvm [-h | --help]

Commands:
    state-test         Run a state test from a json file.
    stats              Execute VVM runtime code and return the statistics.
    stats-jsontests-vm Execute standard json-tests format VMTests and return
                       timing statistics in tsv format.

Transaction options:
    --code CODE        Contract code as hex (without 0x).
    --to ADDRESS       Recipient address (without 0x).
    --from ADDRESS     Sender address (without 0x).
    --input DATA       Input data as hex (without 0x).
    --gas GAS          Supplied gas as hex (without 0x).
    --gas-price WEI    Supplied gas price as hex (without 0x).

State test options:
    --only NAME        Runs only a single state test matching the name.
    --chain CHAIN      Run only tests from specific chain.

General options:
    --json             Display verbose results in JSON.
    --std-json         Display results in standardized JSON format.
    --std-err-only     With --std-json redirect to err output only.
    --std-out-only     With --std-json redirect to out output only.
    --std-dump-json    Display results in standardized JSON format
                       with additional state dump.
Display result state dump in standardized JSON format.
    --chain CHAIN      Chain spec file path.
    -h, --help         Display this message and exit.

Tetsy Vapory toolchain

This project is a part of the Tetsy Vapory toolchain.

  • vvmbin - VVM implementation for Tetsy Vapory.
  • vapabi - Tetsy Vapory function calls encoding.
  • vapstore - Tetsy Vapory key management.
  • vapkey - Tetsy Vapory keys generator.

Dependencies

~67MB
~1M SLoC