Commit Graph

11810 Commits

Author SHA1 Message Date
Remy
2f27f987ad
Increase daml-assistant GRPC timeout (#16751)
10s is definitively too short for the ledger to upload a "big" dar
especially when on load. We bump it to 60s following the one uses in
the scenario service.
2023-04-24 17:20:05 +02:00
Remy
7a17c19bbf
LF: Rename builtins that would need a witness to allow nat type erasure (#16743)
part of #11679
2023-04-24 15:02:11 +00:00
azure-pipelines[bot]
7a4ea18445
update NOTICES file (#16747)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-24 11:41:48 +02:00
Samuel Williams
f73a569b9d
Final integration test changes (#16702)
* Immediate actions from meeting

* Convert last files, include note about odd behaviour

* Fix loop error locations

* Drop party test tags, test fetch/lookup over script

* Change abort style, comment fixes
2023-04-24 10:29:31 +01:00
Remy
ac4792244a
Kill Speedy STNat value (#16740) 2023-04-24 10:48:21 +02:00
azure-pipelines[bot]
637b187a33
bump canton to 20230421 (#16745)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-23 18:17:49 +02:00
Gary Verhaegen
f2721a0479
2.3.12 snapshot for testing (#16744) 2023-04-21 19:30:47 +02:00
Gary Verhaegen
e657624aa7
change Azure subscription (#16741) 2023-04-21 18:16:43 +02:00
Remy
66253e0b06
Migrate Daml script JsonApiIT to canton (#16724) 2023-04-21 16:44:49 +02:00
azure-pipelines[bot]
3e7134d968
update compat versions (2023-04-21) (#16728)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-21 12:31:14 +02:00
Samuel Williams
52b9193631
Convert all daml-helper test suites to canton (#16722)
* Convert all daml-helper test suites to canton
2023-04-21 09:19:43 +01:00
azure-pipelines[bot]
0eed04643d
bump canton to 20230420 (#16727)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-21 07:18:03 +00:00
Raphael Speyer
7a82b02b38
JSON API: Oracle: Pass string as a literal when querying json payload if index is enabled (#16717)
Previously, when using an Oracle-based ACS cache, JSON queries such as
```
 {
 ...
 "query": {
    "si_detail": {
      "si_input_no": {
        "%gt": "foo"
      }
    }
  }
}
```

were resulting in SQL queries containing 
```
JSON_EXISTS(payload, '$."si_detail"."si_input_no"?(@ > $X)' PASSING ? AS X)
```

which works when the payload json index is disabled, but when the index is enabled it results in an error.

We can avoid this by passing in the literal value rather than using a query parameter when the index is enabled, e.g.

```
JSON_EXISTS(payload, '$."si_detail"."si_input_no"?(@ > $X)' PASSING 'foo' AS X)
```

Fixes https://github.com/digital-asset/daml/issues/15006

And contributes towards https://digitalasset.atlassian.net/browse/LT-14
2023-04-21 17:01:23 +10:00
Gary Verhaegen
b149ffa8b8
Windows clean up (#16723)
* shut down GCP windows nodes
* shut down periodic-killer
* cycle Windows nodes in daily-reset
2023-04-20 17:06:26 +02:00
Gary Verhaegen
99821e0b66
infra: add a Windows node on Azure (#16705) 2023-04-20 08:32:25 -04:00
Gary Verhaegen
3a92a7ce88
start 2.6.3 (#16721) 2023-04-20 14:13:03 +02:00
azure-pipelines[bot]
1743635f55
update compat versions (2023-04-20) (#16719)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-20 12:36:14 +02:00
azure-pipelines[bot]
c69b880890
update NOTICES file (#16720)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-20 11:53:08 +02:00
azure-pipelines[bot]
0ebc3f55c5
bump canton to 20230419 (#16718)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-20 07:15:26 +00:00
azure-pipelines[bot]
9a9335875f
bump canton to 20230418 (#16715)
* bump canton to 20230418

CHANGELOG_BEGIN
CHANGELOG_END

* deactive ChoiceAuthority:test

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-04-19 15:02:33 +00:00
azure-pipelines[bot]
dcfc7c0114
rotate release duty after 2023-04-19 (#16714)
@nickchapman-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-19 14:50:22 +01:00
Gary Verhaegen
c67ffe403e
remove ubuntu nodes on reset (#16703) 2023-04-19 11:10:00 +00:00
nickchapman-da
353c6d903d
cleanup code for consortium design #1 -- withAuthority (#16708) 2023-04-19 11:12:36 +01:00
Rafael Guglielmetti
a8079fbc8d
Start 2.6.2 release process (#16696) 2023-04-18 16:25:08 +02:00
nickchapman-da
8ad44f5fbc
kill Node.Authority with fire (#16524) 2023-04-18 14:16:44 +01:00
nickchapman-da
37a2a47ddc
kill with fire (#16546) 2023-04-18 10:07:24 +01:00
Oriol Muñoz
c316df194d
Fix errors with status code 200 not being handled properly (#16695) 2023-04-18 10:23:28 +02:00
azure-pipelines[bot]
7b4c5ec993
bump canton to 20230417 (#16706)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-18 07:24:46 +00:00
nickchapman-da
ac68bdf416
[engine] kill Daml withAuthority / LF WITH_AUTHORITY (#16548) 2023-04-17 16:50:10 +01:00
azure-pipelines[bot]
e1a96bc543
update NOTICES file (#16701)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-17 17:31:54 +02:00
Gary Verhaegen
f8050f1f18
Add license file (#16697)
See [DAML-358] for details.

[DAML-358]: https://digitalasset.atlassian.net/browse/DAML-358
2023-04-17 11:33:04 +00:00
azure-pipelines[bot]
32ac68419c
bump canton to 20230414 (#16699)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-17 11:30:34 +02:00
Gary Verhaegen
6444f1ef87
review release documentation (#16619)
I think I've made things clearer, but please let me know either way.
2023-04-17 11:18:40 +02:00
nickchapman-da
1c4d9c2882
[engine] speedy evaluation for choice authority (#16658)
* Push choice authority through speedy evaluation

fix tests for choice-authorizers limits config

make calls to NeedAuthority as required from speedy begin-exerise builtin; and test

prepare for no authorizers check

* authorization check for NoAuthorizers
2023-04-17 08:28:26 +01:00
Carl Pulley
fdd7a7cb8b
Migrate simulation tests to use Canton (#16692) 2023-04-14 11:27:07 +01:00
azure-pipelines[bot]
3b8b5e8d4c
bump canton to 20230413 (#16693)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-14 07:19:17 +00:00
Carl Pulley
48ba9b24b8
Multi-process trigger simulation library (#16551) 2023-04-13 16:30:51 +01:00
Gary Verhaegen
3d9a8b3084
revert oracle image bump (#16682)
Reverts "update oracle test image (#16650)".
2023-04-13 13:54:09 +00:00
Gary Verhaegen
40f6cb26dc
infra: move Ubuntu to Azure (#16690)
The daily restart is now working, I think we can switch over. I'm
keeping the GCP configuration around for the time being in case we need
to roll back for some reason; if everything goes smoothly I'll remove
all of it in a month or so.
2023-04-13 09:21:38 -04:00
azure-pipelines[bot]
5e4cb973be
update NOTICES file (#16689)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-13 12:37:24 +02:00
azure-pipelines[bot]
d5a95c6977
rotate release duty after 2023-04-12 (#16684)
@basvangijzel-DA is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-13 12:17:42 +02:00
azure-pipelines[bot]
26f617ac53
bump canton to 20230412 (#16688)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-13 12:08:51 +02:00
Raymond Roestenburg (Actually RayRoestenburg)
e9912f3138
Fix for warning in logback output, if can’t be inside appender. (#16687) 2023-04-13 07:49:10 +02:00
Raphael Speyer
ef732d7e63
Fix SQL used to build view in Oracle to handle larger number of observers. (#16683)
When the `observers` list was too long, we were getting an `ORA-40478: output value too large (maximum 4000)` error from Oracle.

This was being hit when the `contract_stakeholders` view was being updated. An intermediate part of the expression which updates the view was being defaulted to a type which didn't allow larger values. Adding an explicit type fixes the problem.

- Added test which could reproduce the previous failure. 
- Moved `randomTextN` to be accessible to the new test.

Fixes https://digitalasset.atlassian.net/browse/LT-11
2023-04-13 09:45:08 +10:00
azure-pipelines[bot]
8b8aa6d223
bump canton to 20230411 (#16685)
CHANGELOG_BEGIN
CHANGELOG_END

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-04-12 09:49:43 +02:00
Carl Pulley
3850f7fe0c
Jwt, Tls and ConfigSpec test migration to Canton (#16663) 2023-04-11 17:03:46 +01:00
Moisés Ackerman
3ea97fa5f8
place 'templateTypeRepToText' behind its own feature flag (#16657)
* place 'templateTypeRepToText' behind its own feature flag

* move down WITH_AUTHORITY in daml_lf_1.proto
2023-04-11 17:46:07 +02:00
Gary Verhaegen
23ee54ab7b
infra: fix inadvertent shadowing in reset-azure (#16678) 2023-04-11 17:28:23 +02:00
Simon Maxen
328200fe96
Enable GetEventsByContract tests (#16679) 2023-04-11 15:07:43 +01:00
Carl Pulley
0ccb02d533
AbstractTriggerTest refactor (#16669) 2023-04-11 12:43:42 +01:00