Commit Graph

537 Commits

Author SHA1 Message Date
695937d450 chore(deps): update rust crate num-traits to 0.2.15 (#570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 03:22:22 +07:00
839c3200a9 chore(deps): update rust crate serde to 1.0.159 (#565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 02:34:34 +07:00
648f297a2b fix(deps): update rust crate marine-rs-sdk to 0.7.1 (#568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-09 16:27:37 +01:00
85cf531de4 chore(deps): update rust crate multimap to 0.9.0 (#550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 19:35:12 +07:00
b2116c7ea4 chore(trace-handler): fix fmt and clippy warnings (#567)
chore(trace-handler): remove some line breaks to sync with cargo fmt
2023-04-07 12:50:00 +03:00
658daf1d3f feat(trace-handler): TracePos becomes a wrapper for u32 alias [fixes VM-267] (#544) 2023-04-05 11:50:15 +03:00
a026512dcd chore: Try different option to ignore dirs in renovate (#566)
Use different optioon
2023-04-04 19:27:39 +03:00
ad30edcc76 chore(renovate): Exclude junk dir (#564)
Exclude junk dir
2023-04-04 12:48:41 +03:00
0b437038dc chore: Prepare tests to be called from e2e (#560)
* Prepare tests to be called from e2e

* Ref

* Do not upload coveralls
2023-03-31 17:19:17 +03:00
ca38ee68d8 chore: Update E2E [fixes FLU-297 and FLU-252 and FLU-298] (#557)
* Test

* Fix

* Fix

* Use new workflows

* No cache

* Typo

* Rename Run tests to ci

* Some renaming?

* Renaming

* Add nextest config

* Test e2e on label

* Test

* Fix

* Fixes

* Update

* Fix

* Fix

* Fix name

* Fix

* Rename report
2023-03-31 13:03:23 +03:00
76d263b4c8 fix(deps): update rust crate marine-runtime to 0.26.1 (#546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 23:07:57 +07:00
593083b966 chore(e2e): Make e2e run on forks (#555)
* Use e2e env

* Snapshot env

* Update

* Test

* Update

* Test

* Add comments

* Make linter happy
2023-03-29 12:16:59 +03:00
8bcad8e3af chore(deps): update rust crate regex to 1.7.3 (#549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 22:59:39 +07:00
b0e771430f chore(deps): update rust crate clap to 4.1.13 (#548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 22:57:35 +07:00
73c1ba70cc feat(aquavm-air-cli)!: Usability enhancements (#540)
* Fix aquavm-air-cli release-please config
* Print a prompt when AIR is read from stdin
* Make `run --plain --data` arg optional
* Rename `... --data` to `... --current-data`
* Update AIR cli README
2023-03-27 16:27:01 +07:00
28cf5045b6 chore: release master (#542)
* chore: release master

* chore: Bump air-interpreter version to 0.39.0
air-testing-framework-v0.2.0 air-trace-handler-v0.2.0 air-interpreter-v0.39.0 air-interpreter-data-v0.7.0 air-test-utils-v0.5.0 avm-client-v0.39.0 air-v0.39.0
2023-03-23 17:37:30 +07:00
d5028942e4 feat(interpreter-data)!: New data format for calls (#501)
BREAKING CHANGE:
1. Call values in the trace have CID references to structures that have call arguments' hash and CID references to values and tetraplets.
2. If call value is unused, it is serialized with `Unused` variant, and CID references are not stored.

Previous data scheme was (Scalar as an example, other cases are similar):

```
Scalar(CID<JValue>) ---<value_store>----> JValue
```

New data scheme is much more sophisticated:

```
Scalar(CID<ServiceResultAggregate>) ---+
                                       |
  +----<service_result_store>----------+
  |
  +-------> ServiceResultAggregate:
               value_cid ------------<value_store>----> JValue
               tetraplet_cid --------<tetraplet_store>----> SecurityTetraplet
               argument_hash: String
```
`Stream` variant is similar, however, `Unused` is different: it has value CID only, but the value is not stored into the `value_store`:

```
Unused(Rc<CID<JValue>>) ---> X
```

Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-03-21 19:12:04 +07:00
631abd4ec4 chore(execution-engine): this commit adds a set of trace-related negative tests for UncatchableError [fixes VM-263] (#532)
chore(execution-engine): this commit adds a set of trace-related
negative tests for UncatchableError [fixes VM-263]
2023-03-21 00:31:36 +03:00
a2ad3b15db chore: Use marine from e2e (#541)
Use marine from e2e
2023-03-20 19:55:18 +02:00
2c8d02d271 chore(deps): update rust crate serde to 1.0.158 (#536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 00:28:18 +07:00
ad1ab9ee81 chore(deps): update rust crate anyhow to 1.0.70 (#534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 00:12:59 +07:00
282ff9de70 chore(deps): update rust crate thiserror to 1.0.40 (#537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 23:23:46 +07:00
94708528ba chore(deps): update rust crate clap to 4.1.11 (#535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 23:20:57 +07:00
8388a95bf4 chore(deps): update rust crate bimap to 0.6.3 (#539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 23:19:21 +07:00
0a524a5863 chore: Remove versions from dev deps (#526)
Remove versions from dev deps
2023-03-20 14:44:07 +02:00
548e458f1c chore(execution-engine): this removes useless InvalidCanonStreamInData error (#529) 2023-03-17 17:15:28 +03:00
6db35dbd93 chore: Update codecov (#531)
* Update codecov

* Use  instrument-coverage

* Enable profiler

* Fix
2023-03-17 15:11:46 +02:00
4a48bcddb7 chore: Use setup-marine action (#528)
Use setup-marine action
2023-03-17 11:57:31 +02:00
93c54431b9 chore(execution-engine): remove unnecessary value_to_pos logic (#527)
remove unncessary value_to_pos logic
2023-03-16 21:12:43 +03:00
f1975becb3 chore(execution-engine): a set of trace-unrelated negative tests for UncatableError [fixes VM-263] (#519) 2023-03-16 19:06:26 +03:00
eb55564369 chore: release master (#524)
* chore: release master

* chore: Bump air-interpreter version to 0.38.0
air-trace-handler-v0.1.3 air-testing-framework-v0.1.7 avm-data-store-v0.6.1 air-execution-info-collector-v0.7.4 air-beautifier-v0.1.3 air-interpreter-v0.38.0 avm-server-v0.31.0 air-test-utils-v0.4.7 air-v0.38.0 air-interpreter-data-v0.6.4 avm-interface-v0.28.3 air-interpreter-interface-v0.13.0 air-beautify-wasm-v0.2.0 avm-client-v0.38.0
2023-03-15 17:32:29 +02:00
5d2d9a9a60 Fix test-utils version 2023-03-15 17:30:04 +02:00
169a284c46 chore: Fix (#525)
Fix
2023-03-15 17:25:32 +02:00
a22e2dd3fb chore: Revert "chore: release master (#520)" (#523)
Revert "chore: release master (#520)"

This reverts commit 7aa5d4bef5.
2023-03-15 17:21:47 +02:00
459d2cf13a chore: Fix air-beautify-wasm name (#522)
* Add wasm32-unknown-unknown to toolchains

* Fix air-beautify-wasm name
2023-03-15 17:13:32 +02:00
7aa5d4bef5 chore: release master (#520)
* chore: release master

* chore: Bump air-interpreter version to 0.38.0
2023-03-15 17:35:44 +03:00
a96a52db27 chore: fix some Cargo.tomls (#521)
* chore: fix some Cargo.tomls

* chore: publish `air-testing-framework`

As it is a dev dependency to `aquavm-air` crate.
2023-03-15 21:28:10 +07:00
126d5507c8 feat(avm)!: integrate Marine 0.26.0 (#461) 2023-03-15 17:11:53 +03:00
3ac1d03868 chore: release master (#515)
* chore: release master

* chore: Bump air-interpreter version to 0.37.1
air-log-targets-v0.1.0 air-lambda-parser-v0.1.0 air-test-utils-v0.4.6 air-parser-v0.7.4 avm-client-v0.37.1 air-testing-framework-v0.1.6 air-interpreter-v0.37.1 air-v0.37.1 air-lambda-ast-v0.1.0 air-beautify-wasm-v0.1.2
2023-03-15 19:29:59 +07:00
8cf969762a chore: Rename air-parser (#518)
* Rename air-parser

* Fix

* Set version

* Fix

* Fix?

* Fix?

* Fix
2023-03-15 14:10:25 +02:00
31fe488fae chore(ci): Rename aquavm-air to air (#517)
Rename aquavm-air to air
2023-03-15 12:49:00 +02:00
a1bf3604d8 chore: Some CI fixes (#516)
* Use master fluence-js

* Rename air -> aquavm-air
2023-03-15 12:43:39 +02:00
79ac153f1d feat(tools): merge some tools into the air CLI tool (#509)
* feat(tools): merge some tools into the `air` CLI tool

`air-beautify` and `air-trace` are merged into a single `air` tool.  Its
crate name is `fluence-air-cli` as otherwise it confilicts with `air`
interpreter crate.  The tool has subcommands `beautify`, `run`
and `stats`.

* Add one-letter aliases to `air` CLI subcommands

+ `air beautify` => `air b`
+ `air run` => `air r`
+ `air stats` => `air s`

---------

Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-03-15 16:59:30 +07:00
790d3c2119 chore(execution-engine): unused ApResultNotCorrespondToInstr cleanup (#513)
Remove `UncatchableError::ApResultNotCorrespondToInstr`

This transformation is valid only if `MergerApResult` has only two
variants mentioned in previos version.

Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
2023-03-14 23:23:12 +03:00
d99272f9d3 chore: release master (#491) air-interpreter-v0.37.0 air-test-utils-v0.4.5 air-v0.37.0 avm-server-v0.30.1 avm-client-v0.37.0 aquavm-air-v0.37.0 air-trace-v0.2.6 air-testing-framework-v0.1.5 2023-03-14 19:08:48 +03:00
990a4fcfa6 chore(release-please): Sync air versions (#512)
Sync versions
2023-03-13 15:43:12 +02:00
4f1a617bf5 chore(execution-engine): VM execution step negative tests [fixes VM-262] (#511) 2023-03-13 16:34:37 +03:00
62da247c3a chore(deps): update rust crate semver to 1.0.17 (#510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 15:59:38 +03:00
eb1425de25 chore(deps): update rust crate serde to 1.0.155 (#508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-12 14:35:50 +07:00
f87d1cb373 chore(deps): update rust crate thiserror to 1.0.39 (#507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 13:28:33 +03:00