renovate[bot]
91189a1d9d
chore(deps): update rust crate serde_json to 1.0.93 ( #462 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 12:17:52 +03:00
fluencebot
5aa3c75875
chore: release master ( #454 )
...
* chore: release master
* chore: Bump air-interpreter-wasm version to 0.35.4
2023-02-08 15:28:17 +03:00
Anatolios Laskaris
34592fa7d4
chore(ci): Set all version in manifest ( #455 )
...
Set all version in manifest
2023-02-08 12:51:12 +02:00
Anatolios Laskaris
e168d2a55e
chore(ci): Revert previous release, prepare for new release [fixed FLU-271] ( #453 )
...
* Add versions everywhere
* Revert "chore(air-trace): release master (#452 )"
This reverts commit 3452b6b24d5b838241a353ff3a7a536899421fed.
* Fix
* Fix versions
2023-02-08 12:08:51 +02:00
fluencebot
3452b6b24d
chore(air-trace): release master ( #452 )
...
chore: release master
2023-02-07 21:33:57 +03:00
Mike Voronov
367546b82c
feat(trace-handler): improve data deserialization version check ( #451 )
2023-02-07 21:07:02 +03:00
fluencebot
888b05bbd4
chore(air-trace): release master ( #444 )
2023-02-07 10:48:58 +03:00
renovate[bot]
84af9c6185
chore(deps): update rust crate serde_json to 1.0.92 ( #448 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 16:44:20 +03:00
renovate[bot]
dacd4f074b
chore(deps): update rust crate regex to 1.7.1 ( #433 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 22:29:00 +07:00
renovate[bot]
6c809e943d
chore(deps): update rust crate cid to 0.10.1 ( #432 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 20:10:30 +07:00
renovate[bot]
2a9d105c36
chore(deps): update rust crate serde to 1.0.152 ( #434 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 03:13:05 +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.
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>
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>
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>
2022-12-31 20:47:04 +07: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]
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
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
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]
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
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
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>
2022-11-30 17:38:32 +03: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`.
2022-11-25 14:59:09 +07: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>
2022-11-24 12:54:40 +03:00
Anatolios Laskaris
c33d46619d
ci: Update e2e ( #378 )
2022-11-16 14:49:51 +02:00
renovate[bot]
bbc521ce53
fix(deps): update all non-major rust dependencies ( #338 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 21:08:46 +03:00
Mike Voronov
8c3f9a3090
feat(interpreter-data): add interpreter version in data ( #367 )
2022-10-13 12:50:32 +03:00
Mike Voronov
a60b61e1a1
fix(execution-engine): save order between current generations ( #366 )
...
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-10-12 04:29:31 +03:00
Mike Voronov
bf8aee7f15
fix(execution-engine): fix invalid iteration over stream ( #362 )
...
This PR is mostly a revertion of #357 , that is needed to make stream work correctly in fold itrerations.
Closes #363 .
2022-10-11 01:41:22 +03:00
Mike Voronov
eafdec5d86
fix(aquavm): temporary fix entire value in canon ( #358 )
2022-10-10 22:15:28 +03:00
Mike Voronov
01bbca72c2
fix(air-parser): allow non used streams in validator ( #360 )
...
Validator checks that stream used in `canon` is populated by a value in a supplied script. This PR removes this check, because it's useful for code generation.
2022-10-10 15:51:03 +03:00
Mike Voronov
910f1665eb
fix(trace-handler): fix fold and canon compatibility ( #357 )
...
Fixes bug of traces divergence when `canon` is used inside `fold`.
Closes #356 .
2022-10-09 12:56:12 +03:00
Mike Voronov
cd598c28ae
refactor(aquavm): improve readability of ap
merger and handler ( #354 )
...
At the moment `Ap` state contains vector of generations, although the ap instruction itself allow to specify only one stream. It was done to support several streams in a result position in a future. But the current realization allows to handle empty vector that was implemented to support states for scalars and it turned out (for more info see #326 ) that states for scalars aren't actually needed.
Closes #355 .
2022-10-07 14:38:29 +03:00
Mike Voronov
a8b227caf5
refactor(aquavm): getting rid of CallOutputValue
in call merger ( #353 )
...
This PR refactors call merger of `TraceHandler`. Previously it requires `CallOutputValue` to determine a type of call output value (stream or scalar). And internally it checked correspondence between data result and call output type and return a error if they are not equal. Although execution engine component also had a match over these values and does nothing if they are not matched since `TraceHandler` did this job. This PR eliminate such behaviour and improve isolation of AquaVM modules.
2022-10-06 19:59:47 +03:00
Mike Voronov
c3aa8efa04
chore(tests): rename all *.clj files to *.air ( #352 )
2022-10-06 15:56:31 +03:00
Mike Voronov
ccbd3262a3
feat(aquavm): allow to set last instruction of fold ( #349 )
2022-10-01 23:41:30 +03:00
Valery Antopol
dd0c458339
fix: cannon treats ap with different generations as incompatible ( #350 )
...
Fixes #348 .
2022-09-30 21:43:51 +03:00
Ivan Boldyrev
2e98712cb2
fix(execution-engine) Restricted stream bugfix ( #337 )
...
Use proper stream generation structures for call results merged from current data.
Closes #302 .
Co-authored-by: vms <michail.vms@gmail.com>
2022-09-30 03:10:24 +07:00
Ivan Boldyrev
4a2e8be178
refactor(parser): use AirPos
type for AIR script position ( #341 )
...
Use a dedicated wrapper type for better type safety and self-documented code.
2022-09-29 00:16:37 +03:00
Mike Voronov
c85b2e2fbf
feat(execution-engine): change behaviour of fold over streams ( #340 )
...
feat(execution-engine): change behaviour of fold over streams
Change behaviour of fold over streams to make it more similar to pi-calculus channels/names (for more info see #333 ).
Closes #333 .
BREAKING CHANGE:
The new stream behaviour is not compatible with old one, such as
```
(fold $stream iterator
(seq
(call ...)
(next iterator)))
```
will never end after this change (for more info again see #333 ).
2022-09-28 22:03:54 +03:00
Mike Voronov
20bb230a3a
Introduce never
instruction ( #335 )
2022-09-19 14:36:46 +03:00
renovate[bot]
ad504bce8b
Update all non-major Rust dependencies ( #330 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 14:07:34 +03:00
Anatoly Laskaris
ca62bd6066
chore: release ( #329 )
2022-09-13 19:08:47 +03:00
renovate[bot]
40bb3c843f
Update all non-major Rust dependencies ( #323 )
...
* Update all non-major Rust dependencies
* bump fluence-app-service version
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-13 19:03:18 +03:00
Ivan Boldyrev
89355d9da3
style: Misc clippy fixes ( #327 )
...
* Add warn(rust_2018_idioms) to remaining crates
air-beautifier, air-beautify and air-trace now have this lint too.
* Fix more warnings
2022-09-13 20:54:57 +07:00
renovate[bot]
a77fb3395c
Update all non-major Rust dependencies ( #321 )
2022-09-09 13:36:19 +03:00
Mike Voronov
a4011ef038
Introduce length functor ( #314 )
2022-09-08 16:58:04 +03:00