251 Commits

Author SHA1 Message Date
raftedproc
c52a36c784
fix(execution-engine): ExecutionCtx fmt now prints stream maps out (#705) 2023-09-26 17:21:22 +03:00
fluencebot
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
raftedproc
3a9beed3c5
fix(execution-engine)!: this adds a join behavior for key and value pair used by ap inserting into a map [fixes VM-337] (#701) 2023-09-21 19:56:22 +03:00
raftedproc
45035ccff5
feat(execution-engine)!: this patch prohibits error code = 0 (#702) 2023-09-21 17:33:57 +03:00
renovate[bot]
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
Ivan Boldyrev
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
Ivan Boldyrev
d41f7646d9
chore: Rust channel update dedicated to Software Engineer Day (#699) 2023-09-14 18:55:06 +07:00
Ivan Boldyrev
4e72abe9a7
feat(execution-engine): join behavior for canon (#697)
Implement join behavior for `canon`'s first argument `peer_id`.  It
simplifies generating code in Aqua compiler when `peer_id` is defined
by a variable defined in a `par` branch.

Co-authored-by: Mike Voronov <michail.vms@gmail.com>
2023-09-13 21:20:51 +07:00
renovate[bot]
d9638575bf
chore(deps): update rust crate concat-idents to 1.1.5 (#625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-10 21:50:33 +07:00
fluencebot
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
raftedproc
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
fluencebot
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
Mike Voronov
b13dd515da
feat(data)!: bump minimal support version (#691)
bump minimal support version
2023-09-05 01:05:38 +02:00
fluencebot
3dd239dc10
chore: release master (#690) 2023-09-05 00:28:26 +02:00
raftedproc
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
fluencebot
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
Anatolios Laskaris
c41c101083
chore: Revert release and fix typo in release-please (#684)
* Fix component name

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

This reverts commit d6bd1c0348d163ae9b7d4c45b41399e84fd60ac0.
2023-08-31 10:48:50 +03:00
fluencebot
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
Ivan Boldyrev
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
raftedproc
f943dd00cd
feat(execution-engine)!: this introduces a hardcoded limit for a number of values in a stream [fixes VM-324] (#677)
feat(execution-engine)!: this introduces a hardcoded limit for a number of values in a stream [fixes VM-324]
2023-08-23 12:33:00 +03:00
fluencebot
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
Ivan Boldyrev
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
Valery Antopol
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 603c18fb71e88c2ad9f221990bb0bca4fc053dca.
2023-08-17 00:04:36 +03:00
Valery Antopol
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
fluencebot
e5039086cd
chore: release master (#665) 2023-08-08 11:46:32 +03:00
Mike Voronov
20ae5eeeb9
feat(execution-engine): rename boxed_values into value_types (#664) 2023-08-07 20:00:02 +03:00
Anatolios Laskaris
abdc88309f
chore: Bump fluence-app-service to 0.27.0 (#663)
Bump fluence-app-service
2023-08-07 13:59:46 +03:00
fluencebot
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
Mike Voronov
75bb33056c
chore: fix code formatting (#653)
formatting
2023-08-03 22:45:21 +03:00
Mike Voronov
791ada3b93
chore(tests): fix publish_version_check test (#651)
fix publish_version_check
2023-08-03 22:28:56 +03:00
Mike Voronov
1493ae3450
chore(tests): fix version checking tests (#650)
fix version checking tests
2023-08-03 21:58:42 +03:00
Mike Voronov
0655daa89d
feat(execution-engine)!: update minimal interpreter version (#649)
update minimal interpreter version
2023-08-03 21:18:00 +03:00
Mike Voronov
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
Mike Voronov
e41953b495
chore(tests): test case for #644 (#645) 2023-08-01 18:35:44 +03:00
Mike Voronov
f5c19da057
chore(tests): test case for #642 (#643) 2023-08-01 18:24:22 +03:00
Mike Voronov
007f2eab83
chore(execution-engine): fix instruction names while logging (#641)
fix command names while logging
2023-08-01 00:44:02 +03:00
Mike Voronov
6bd60d48e7
chore(execution-engine): optimize StreamMapKey::from_kvpair (#638)
optimize StreamMapKey::from_kvpair
2023-07-25 11:15:37 +03:00
Mike Voronov
6fd0385058
chore(execution-engine): refactor unseen canon stream creation (#636) 2023-07-20 23:11:55 +03:00
Mike Voronov
3fa8be0776
chore(execution-engine): move get_unique_map_keys_stream into StreamMap (#635) 2023-07-19 21:51:20 +03:00
fluencebot
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
raftedproc
33a9d9f32f
feat(execution-engine)!: add error-code invariant check for match/mismatch (#622) 2023-07-16 17:53:01 +03:00
raftedproc
d195152320
feat(execution-engine)!: unfefined %last_error% now returns an empty … (#628)
feat(execution-engine)!: %last_eror%.$.message and $.error_code now return an empty string and 0 correspondingly [fixes VM-313]
2023-07-14 21:46:28 +03:00
Mike Voronov
d5a3f768af
chore: remove fstrings dep (#627)
* remove fstrings dep

---------

Co-authored-by: Ivan Boldyrev <ivan@fluence.one>
2023-07-14 20:02:19 +07:00
Ivan Boldyrev
75f5516c58
feat(aquavm-air)!: ap join behavior (#631)
* feat(aquavm-air)!: `ap` join behavior

Previously, `ap` of an undefined (first) variable was a catchable error.
Now `ap` has join behavior for its first argument.

It should simplify compiling Aqua to AIR.

Closes #632
2023-07-14 17:48:23 +07:00
Mike Voronov
62fdd74805
chore: remove unused dependecies (#626)
remove unused dependecies
2023-07-03 12:31:56 +03:00
raftedproc
fcb4c9dab4
feat(execution-engine)!: stream map to scalar conversion using canon instruction [fixes VM-294] (#610)
feat(execution-engine): Stream Map to Scalar conversion using canon instruction [fixes VM-294]
2023-06-28 13:59:16 +03:00
raftedproc
56a03364b1
chore(execution-engine): additional StreamMap positive tests [fixes VM-295] (#608)
chore(execution-engine): Additional StreamMap positive tests [fixes VM-295]
2023-06-28 12:24:58 +03:00
renovate[bot]
bba1becdce
chore(deps): update rust crate serde to 1.0.164 (#595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 03:47:42 +07:00
Mike Voronov
be8c97c35c
chore(tests): add tests for topology hops (#616) 2023-06-27 21:09:10 +03:00
Mike Voronov
dadbba37e9
chore(core): fix variable checking (#617)
fix variable checking
2023-06-27 12:57:16 +03:00