Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

feature(crypto): vm-exec tool to run smart contracts locally - #51

Open
Naltox wants to merge 13 commits into
newton-blockchain:masterfrom
Naltox:master
Open

feature(crypto): vm-exec tool to run smart contracts locally#51
Naltox wants to merge 13 commits into
newton-blockchain:masterfrom
Naltox:master

Conversation

@Naltox

@Naltox Naltox commented Nov 28, 2021

Copy link
Copy Markdown

vm-execute fetches vm code, initial stack, function selector and data cell from json config, executes TVM and returns resulting vm stack, exit code, data cell and action list cell as json.

@dvlkv

dvlkv commented Nov 28, 2021

Copy link
Copy Markdown

Great job!

Comment thread crypto/vm-exec/vm-exec.cpp Outdated
auto data = td::get_json_object_field(obj, "value", td::JsonValue::Type::Array, false).move_as_ok();
auto& data_arr = data.get_array();

std::vector<vm::StackEntry> tuple_components;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vo 50819470484841751784191809281711678689562450243968828557706837664200078806706

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants