Commit Graph

289 Commits

Author SHA1 Message Date
9bac51f24e chore: release master (#725)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.54.0

* Update minimal version to 0.54.0

---------

Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
2023-10-26 20:56:52 +07:00
776d81a1db feat(interpreter-cid)!: use Blake3 for CIDs (#729)
Change to more efficient cryptography hash implementation.
2023-10-23 20:16:15 +07:00
2b944eb348 chore(deps): update rust crate built to 0.7.1 (#730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 16:02:33 +03:00
1d02b426b5 chore(deps): update rust crate num-traits to 0.2.17 (#669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 13:39:31 +03:00
f73e220ed1 chore(deps): update rust crate log to 0.4.20 (#661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 13:03:15 +03:00
4d4c946eaa chore(deps): update rust crate regex to 1.10.2 (#603)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 12:11:13 +03:00
88e7dba5f2 fix(deps): update rust crate fluence-keypair to 0.10.3 (#620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 19:00:15 +03:00
a84716dad6 chore(interpreter-cid): fix compilation with correct featureflag (#724)
fix(interpreter-cid): fix compilation with correct featureflag
2023-10-19 13:02:24 +03:00
cbc659e939 chore: release master (#721)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.53.0
2023-10-16 17:15:16 +03:00
c2108e0fa0 feat(execution-engine,test-utils,interpreter-data,interpreter-cid)!: Rc into CID (#718)
* Hide `Rc` inside `CID` type, making it cheap to clone.
* Introduce `CidRef` type that abstracts on `CID`'s inner type.

This change makes code cleaner, makes memory more optimal (single allocation vs two allocations) and makes it easier to change CID's internal representation from string to binary.
2023-10-16 20:35:42 +07:00
d2ad221597 chore: release master (#720)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.52.0
2023-10-16 16:01:49 +03:00
cdcb86cb55 feat(execution-engine)!: intro farewell_if_error_macro (#719)
intro farewell_if_error_macro
2023-10-16 15:13:20 +03:00
0aa23318d9 chore: release master (#716) 2023-10-13 22:21:19 +03:00
8a07613027 feat(aquavm-air)!: signature checking (#607) 2023-10-13 22:19:02 +03:00
b6c4eaaddc chore: release master (#715) 2023-10-13 21:19:14 +03:00
40cad86b49 chore: release master (#707)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.49.0
2023-10-13 20:42:40 +03:00
98870c2ff9 feat(execution-engine)!: fail :error: now bubbles the original error up [fixes VM-342] (#714) 2023-10-13 20:37:27 +03:00
779e79ac48 chore(deps): update rust crate built to 0.7.0 (#624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 02:03:57 +07:00
8f23d90ece chore: release master (#698)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.48.0
2023-09-22 00:46:21 +03:00
45035ccff5 feat(execution-engine)!: this patch prohibits error code = 0 (#702) 2023-09-21 17:33:57 +03:00
b713e447fc fix(deps): update rust crate marine-rs-sdk to 0.10.0 (#640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
2023-09-19 17:04:40 +07:00
bd80a127ea feat(parser,execution-engine): allow :error: in fail (#696)
The `(fail :error:)` was previously rejected by parser.  Now it is
executed, but is of limited use.
2023-09-19 14:21:30 +07:00
d41f7646d9 chore: Rust channel update dedicated to Software Engineer Day (#699) 2023-09-14 18:55:06 +07:00
244bed3326 chore: release master (#694)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.47.0
2023-09-07 17:56:11 +07:00
b4cbf8f621 feat(execution-engine)!: canon stream map support [fixes VM-301] (#648)
* feat(execution-engine)!: canon stream map support [fixes VM-301]
	Canon stream map is a CRDT-like map structure that contains a
	canonicalized stream map and allows indexed access to its
	contents. ATM CSM supports both strings and int64 keys.
2023-09-07 11:30:24 +03:00
bf64366750 chore: release master (#692)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.46.0
2023-09-05 02:20:03 +02:00
3dd239dc10 chore: release master (#690) 2023-09-05 00:28:26 +02:00
20afb79e3f feat(execution-engine): a new :error: runtime attribute according with FLIP-11 [fixes VM-329] (#683)
* feat(execution-engine): a new :error: runtime attribute according with FLIP-11 [fixes VM-329]
2023-09-04 22:57:51 +03:00
46142f3163 chore: release master (#688)
* chore: release master

* chore: Bump air-interpreter and air-near-contract version to 0.45.0
2023-08-31 17:22:44 +07:00
c41c101083 chore: Revert release and fix typo in release-please (#684)
* Fix component name

* Revert "chore: release master (#680)"

This reverts commit d6bd1c0348.
2023-08-31 10:48:50 +03:00
d6bd1c0348 chore: release master (#680)
* chore: release master

* chore: Bump air-interpreter version to 0.45.0
2023-08-29 19:36:08 +02:00
2b636e808a feat(execution-engine,interpreter-data)!: insert state for canon join (#682)
If `canon` is to be executed on another peer and the particle is to be
sent here, current peer inserts canon request-sent-by state to avoid
repeated requests, similar to `call` instruction.
2023-08-29 18:18:42 +02:00
27a99fcca0 chore: release master (#668)
* chore: release master

* chore: Bump air-interpreter version to 0.44.0
2023-08-17 16:06:59 +03:00
0e80ee7908 feat(aquavm-air-cli): --near execution mode [fixes VM-322] (#672)
Adding the NEAR execution mode that executes AIR NEAR smart contract, measuring its gas consumption.
2023-08-17 13:40:29 +02:00
7a8a460572 feat(polyplets)!: move SecurityTetraplets to marine-rs-sdk (#674)
* wip

* remove patch.crates-io section

* switch from Into to From

* fmt + Cargo.lock update

* try use marine-rs-sdk 0.9.0

* Revert "try use marine-rs-sdk 0.9.0"

This reverts commit 603c18fb71.
2023-08-17 00:04:36 +03:00
681ec35d07 chore(testing-framework): clearer triplet error message (#675)
* chore(testing-framework): clearer triplet error message

ATM service ID has to be a static string; make it more explicit in the
error message.
2023-08-16 17:39:57 +07:00
f3b00eafd1 chore: PartialOrd uses Ord's implementation (#676)
It was vice versa.  The problem was found by clippy.
2023-08-16 15:39:31 +07:00
4b4e3bde83 feat: updating marine-rs-sdk minor version (#667)
* 1st polyplets update: minor marine-rs-sdk-main bump

* renovate manifest update

* update marine-rs-sdk

* update marine runtime

* bump minor versions
2023-08-09 22:11:45 +03:00
6383a74680 chore(trace-handler,air-parser): replace matches! with equality comparison where applicable (#662)
chore(trace-handler,air-parser): replace matches! with equalite comparison where applicable
2023-08-08 11:58:15 +03:00
e5039086cd chore: release master (#665) 2023-08-08 11:46:32 +03:00
b66c3346e2 chore: release master (#659)
Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-08-04 17:04:29 +03:00
372b90496f chore: release master (#634)
* chore: release master

* chore: Bump air-interpreter version to 0.43.0

---------

Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-08-04 00:18:11 +03:00
eca52b7191 feat(execution-engine)!: refactor streams [fixes VM-255] (#621)
Refactored stream and stream generation a lot, it introduces the following changes:
- no generation in data anymore, AquaVM relies on generation inside data to stay valid and places value accordingly to it
- stream is internally divided into previous, current, and new values, before, it was one array for all of them
- recursive streams cursors are refactored and rely on new generation values instead
- the Generation enum was refactored and now contains the source of the generation
2023-08-03 21:07:57 +03:00
3843da5cb9 chore(deps): update rust crate bs58 to 0.5.0 (#604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 13:02:55 +03:00
786b111642 fix(deps): update rust crate marine-macro to 0.8.0 (#639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 20:10:50 +03:00
8871465324 feat(air-parser): canon stream syntax (#618)
feat(air-parser): improved canon stream syntax support [fixes VM-293]
2023-07-25 12:38:10 +03:00
6fd0385058 chore(execution-engine): refactor unseen canon stream creation (#636) 2023-07-20 23:11:55 +03:00
c530c93fcb feat(air-test-utils): print_trace prints values (#633)
As traces contain CIDs for calls and canons, one cannot easily see
values produced.  Print them for convenience.
2023-07-18 19:59:58 +07:00
531956b9ba chore: release master (#619)
* chore: release master

* chore: Bump air-interpreter version to 0.42.0
2023-07-17 21:55:56 +07:00
33a9d9f32f feat(execution-engine)!: add error-code invariant check for match/mismatch (#622) 2023-07-16 17:53:01 +03:00