513 Commits

Author SHA1 Message Date
renovate[bot]
63c88e011e
chore(deps): update rust crate nom to 7.1.2 (#425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0.35.1
2023-01-09 14:34:33 +07:00
Ivan Boldyrev
8f587b7803
feature(execution-engine): Canon data with CID (#419)
* Use CID values for tetraplets and `canon` vectors.

* Rename `cid_store` to `value_store`

It is consistent with the new `tetraplet_store` and `canon_store`
fields.

* Make canon data more typeful

The `CanonResult` doesn't take a JSON value anymore that is further
deserialized elsewhere, but is a struct that has all data deserialized.

* Typeful `CID` type

The `CID` type has a phantom type paramter defining its value's type.

* Group cid stores and trackers

Group cid stores into `CidInfo` struct, and trackers into `ExecutionCidState` struct.
0.35.0
2023-01-09 13:22:57 +07:00
renovate[bot]
f73e246a2e
chore(deps): update rust crate cid to 0.10.0 (#422)
* chore(deps): update rust crate cid to 0.10.0
* One has to update `cid` together with `multihash`

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
0.34.4
2023-01-02 17:14:41 +07:00
renovate[bot]
9b1e4d1bd8
chore(deps): update rust crate once_cell to 1.17.0 (#424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0.34.3
2022-12-31 20:49:27 +07:00
renovate[bot]
fce3262221
chore(deps): update rust crate serde to 1.0.152 (#421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0.34.2
2022-12-31 20:47:04 +07:00
folex
ba98227446
CI: Use files instead of memory to filter crate versions (#420) 0.34.1 2022-12-28 19:27:43 +07:00
Mike Voronov
86fce01e67
chore(execution-engine): more handy way to work with subgraph_complete (#416) 2022-12-28 14:09:03 +03:00
Mike Voronov
1fc132d0d0
chore(execution-engine): rename air folder to instructions (#417) 2022-12-27 18:40:10 +03:00
renovate[bot]
23b3cd6e8a
chore(deps): update rust crate serde_bytes to 0.11.8 (#406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 21:58:38 +07:00
Mike Voronov
35db4598a1
change pinned rust toolchain version (#418) 2022-12-27 11:03:12 +03:00
renovate[bot]
58748f48cd
chore(deps): update rust crate semver to 1.0.16 (#405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2022-12-27 01:20:34 +03:00
renovate[bot]
a4305fb0a6
chore(deps): update rust crate anyhow to 1.0.68 (#404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2022-12-27 00:45:51 +03:00
renovate[bot]
b01ad36cdb
chore(deps): update rust crate serde_json to 1.0.91 (#407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 00:24:38 +03:00
Anatolios Laskaris
6fbd4b762b
Add fluence-cli (#409) 2022-12-26 23:22:03 +02:00
renovate[bot]
25a7ae5e88
chore(deps): update rust crate clap to 4.0.32 (#410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 00:20:59 +03:00
renovate[bot]
d9cfa9cf15
chore(deps): update rust crate thiserror to 1.0.38 (#408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 00:19:10 +03:00
Anatolios Laskaris
89cd606e58
chore: Fix rust doc? (#415) 2022-12-26 19:28:18 +02:00
Anatolios Laskaris
590479cc5b
chore: Fix rust toolchain version (#413)
* Set rust toolchain version

* Fix date
2022-12-26 19:01:48 +02:00
Ivan Boldyrev
89f7cd09f7
fix(interpreter-interface): Remove the cid field (#414)
The `InterpreterOutcome::cid` field is not really needed, but makes integration more difficult.
2022-12-26 23:20:11 +07:00
renovate[bot]
9c26838a05
chore(deps): update dependency typescript to v4.9.4 (#400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 21:48:32 +07:00
renovate[bot]
2541c1651c
chore(deps): update rust crate built to 0.5.2 (#399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 21:46:51 +07:00
renovate[bot]
9cf326f1dd
chore(deps): update rust crate serde to 1.0.151 (#398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 21:45:08 +07:00
Ivan Boldyrev
03e63810f4
fix(interpreter-cid): fix Cargo.toml keyword list (#412)
It was too long, and the crate was rejected by the crates.io.
2022-12-26 20:58:04 +07:00
renovate[bot]
3c24658919
chore(deps): update rust crate marine-runtime to 0.24.0 (#397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-26 19:42:10 +07:00
Ivan Boldyrev
4ffad8d6b5
Fix interpreter-cid compilation (#411)
The serde crate was missing "derive" feature.
2022-12-26 19:35:49 +07:00
Ivan Boldyrev
0226c062f8
feat!(execution-engine): Store call executed values as CIDs in the data (#401)
The trace stores CID strings for call result values.  These strings are to be resolved to real values with `InterpreterData::cid_store` map.
2022-12-26 15:45:14 +07:00
Ivan Boldyrev
004ce10abd
Make unstable clippy happy with clippy --fix (#402)
Most of changes either move variables into `format!` templates
or remove excessive clones.
2022-12-12 22:37:05 +07:00
Ivan Boldyrev
e5837e9171
feat(testing-framework): tetraplet behavior (#396)
`behavior=tetraplet` annotation crates a service that returns call's tetraplets
0.32.1
2022-12-01 17:33:59 +07:00
Mike Voronov
9fe7afb897
feat(all): reduce stream usage scope (#298)
This PR intended to reduce stream usage scope in order to make AquaVM truly deterministic.

Refs: #297.

Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
0.32.0
2022-11-30 17:38:32 +03:00
renovate[bot]
30967626e3
chore(deps): update dependency typescript to v4.9.3 (#389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0.31.24
2022-11-29 23:23:20 +03:00
renovate[bot]
7aba7024e5
chore(deps): update rust crate clap to 4.0.29 (#388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-29 23:22:42 +03:00
Anatolios Laskaris
2d72ab9ff7
ci: Set commit prefix to chore (#395) 0.31.23 2022-11-29 10:12:34 +02:00
renovate[bot]
8318aca3c1
chore(deps): update actions/setup-node action to v3 (#394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 09:45:04 +02:00
renovate[bot]
d238c91a06
chore(deps): update jetli/wasm-pack-action action to v0.4.0 (#391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 09:44:45 +02:00
renovate[bot]
9fa5206435
chore(deps): update peaceiris/actions-gh-pages action to v3.9.0 (#392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 09:44:26 +02:00
renovate[bot]
a71d04a7ec
chore(deps): update actions/checkout action to v3 (#393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0.31.22
2022-11-28 09:44:11 +02:00
Ivan Boldyrev
843d2a1d7b
feat(testing-framework): testing parser improvements (#375)
* Introduce multiline call annotations

Call annotations have same format as `;`-annotations, but can allow
multiline JSON literals.  They look like `#| ...  |#` (that's Common Lisp syntax for multiline comments).

For example:

```
(call "peer_id" ("serv" "func") [a b] var)  #|
      map = {
        "0": null,
        "default": 42,
      }
   |#
```

* A JSON in the assertion parser doesn't have be last

We have been using nom's `rest` for JSON values.  Now we have a simple JSON parser
that recognizes JSON to be parsed with `serde_json`, and may have multiple JSON objects
within same assertion.

* Allow annotation after a compound form

It is attached to a rightmost nested element that has to be a `call` special form.
0.31.21
2022-11-25 17:56:23 +07:00
Ivan Boldyrev
becdedc364
feat!(avm-server): Per-call current_peer_id (#381)
The current peer ID is passed as a new field of `TestRunParameters` named
`current_peer_id: String`, instead of creating an AVM with peer ID.

This is a breaking API change of `avm-interface` and `avm-server`.
0.31.20
2022-11-25 14:59:09 +07:00
Ivan Boldyrev
4e86da7eda
feat(testing-framework): Testing framework major refactoring (#372)
1. Network can be shared between several execution, being used by an Rc-handle.
2. The neighborhood is just network's all peers with removed/inserted hosts delta with respect to network.
3. An AIR script is transformed into a separate value of type `TransformedAirScript`.  It allows running several
particles on the same parsed AIR script, sharing state.
4. `TestExecutor` was renamed to `AirScriptExecutor`.  It also has a constructor that accepts a `TransformedAirScript`.
0.31.19
2022-11-24 23:33:55 +07:00
Anatolios Laskaris
7ac0ab109c
ci: Renovate tuning (#385)
* Manage github-actions

* Update renovate config

* Silent automerge

* Do not manage wasmer

* Update
0.31.18
2022-11-24 12:06:22 +02:00
renovate[bot]
d3bda16e71
fix(deps): update all non-major rust dependencies (#369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0.31.17
2022-11-24 12:54:40 +03:00
Ivan Boldyrev
fb344084a7
Make new clippy happy (#384) 0.31.16 2022-11-23 21:02:28 +07:00
Anatolios Laskaris
78675f930e
ci: fix typo (#383) 0.31.15 2022-11-23 13:13:17 +02:00
Anatolios Laskaris
f5de602108
ci: Update e2e (#382)
* Update

* Fix

* Fix

* Typo

* Cleanup

* Run on merge to master

* Fix branch name
0.31.14
2022-11-22 16:58:30 +02:00
Anatolios Laskaris
c33d46619d
ci: Update e2e (#378) 0.31.13 2022-11-16 14:49:51 +02:00
Anatolios Laskaris
9896306573
chore: Fix needless-borrow warning(#379) 0.31.12 2022-11-16 14:12:31 +02:00
Ivan Boldyrev
9c88567e59
More convenient error messages (#374)
Data is printed last as it is very long and made it difficult to find
the original error message.
0.31.11
2022-11-01 15:06:56 +07:00
Anatolios Laskaris
76a1e6d4e6
Publish air-beautify-wasm only on when something changed (#371) 0.31.10 2022-10-26 17:23:47 +07:00
shamsartem
7554c01ce0
update links (#370) 0.31.9 2022-10-26 12:49:31 +03:00
Ivan Boldyrev
ea934ab9a9
air-beautify-wasm in the tree (#336)
1. Update wasm-bindgen in the wasm-air-beautify to make it buildable with rest of tree.
2. Rename `wasm-air-beautify` to `air-beautify-wasm`, to make it consistent
   with other packages.
3. Implement github workflows to build and deploy the `air-beautify-wasm` package.
0.31.8
2022-10-25 14:54:51 +07:00