Skip to content

Commit

Permalink
fix: update example contract (#3929)
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad authored Mar 24, 2021
1 parent f4636e0 commit 9dcc926
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 607 deletions.
8 changes: 8 additions & 0 deletions runtime/near-vm-runner-standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ To use run like this:
--state '{"U1RBVEU=":"AQAAAAMAAABib2IFAAAAMTIzNDU="}'
```
I.e. persistent state could be passed across runs via `--state` parameter.


There are some test contracts in this repository, for example:

```
cargo run -- --wasm-file=../near-vm-runner/tests/res/test_contract_rs.wasm \
--method-name=log_something
```
Loading

0 comments on commit 9dcc926

Please sign in to comment.