Commit Graph

487 Commits

Author SHA1 Message Date
f57dc7bf7a
wallet-core: implement and test forced coin/denom selection 2022-06-10 13:03:47 +02:00
Boss Marco
46861e6a21
fix bench1 2022-06-07 13:46:09 +02:00
Boss Marco
244b99cfbd
fix bench1 2022-06-07 13:45:11 +02:00
Boss Marco
f8c814cf95
reserve long polling longer, add withdrawOnly to bench1 2022-06-07 13:42:34 +02:00
59a2119dcb
integration tests: one variable for pybank/libeufin switch 2022-06-01 10:14:23 +02:00
2e6f3b3569
-error reporting, code formatting 2022-05-31 15:08:31 +02:00
72d936eaf9
-stdev for benchmarks 2022-05-25 14:17:56 +02:00
43d265dde5
wallet-core: age restriction benchmarking 2022-05-25 13:52:39 +02:00
07e1818679
Revert "no need to compile after install"
This reverts commit c3ba7fb523.
2022-05-24 18:00:25 +02:00
Sebastian
c3ba7fb523
no need to compile after install 2022-05-24 00:20:42 -03:00
b2931fbac6
wallet-core: clamp claim retry properly 2022-05-19 10:36:58 +02:00
Sebastian
d3a857743d
- linter 2022-05-18 14:38:57 -03:00
Sebastian
e4ea201943
feat: awaiting refund 2022-05-14 18:09:49 -03:00
Marco Boss
c02dbc833b
make batch withdrawal configurable in benchmarks 2022-05-10 08:39:35 +02:00
Marco Boss
935a119621
add bench3 for zipf and random merchant selection (by id) 2022-05-09 14:28:12 +02:00
9641299d6c
enable batch withdrawal in bench1 2022-05-06 15:36:16 +02:00
Sebastian
cad6d99453
more integration test for age restriction: trying to pay age-restricted contract with not-age-restricted coins and using age-restricted coins with not-age-restricted-contract 2022-05-05 12:59:43 -03:00
Sebastian
4491118494
add restricted option to manual withdraw 2022-05-04 16:26:53 -03:00
f16d2e52d5
wallet-core: implement batch withdrawal 2022-05-03 17:53:37 +02:00
a165afa682
wallet-core: implement age restriction support 2022-04-27 00:50:17 +02:00
Sebastian
8e468ae092
fix segwit api 2022-04-22 16:10:45 -03:00
68b4d0c4de
wallet-cli: allow generating segwit addresses 2022-04-18 21:23:48 +02:00
24b7110776
vendor CancellationToken 2022-03-28 20:24:09 +02:00
303c6e99b3
wallet: allow using RPC crypto in more places 2022-03-24 01:59:08 +01:00
9d38cb56a6
wallet: crypto worker fixes, better taler-crypto-worker integration 2022-03-24 01:10:41 +01:00
d881f4fd25
wallet: simplify crypto workers 2022-03-23 21:24:36 +01:00
c539d1803c
wallet: address crypto worker hang and warning about worker termination 2022-03-23 13:11:36 +01:00
739c2f9337
wallet: more time format fixes 2022-03-22 23:03:41 +01:00
5d23eb3635
wallet: improve error handling and error codes 2022-03-22 21:16:38 +01:00
f8d12f7b0d
wallet: t_s/d_us migration 2022-03-21 19:20:48 +01:00
c0be242292
wallet: db-less benchmarking 2022-03-15 17:51:11 +01:00
Sebastian
984cbb7ab7
save tos etag after forced refresh 2022-03-15 00:24:39 -03:00
332745862e
wallet: towards db-less benchmarking, some refactoring 2022-03-14 18:31:36 +01:00
d0376d9e68
more Makefile improvements 2022-03-08 13:14:33 +01:00
3aa0b812f4
wallet: fix withdrawal in timetravel test 2022-03-07 23:57:25 +01:00
0323868e10
fix tipping 2022-03-07 20:44:18 +01:00
0290c5fd37
address protocol changes in the exchange
The exchange now has a wad fee and truncates the payto hash in signatures
2022-03-07 12:09:38 +01:00
5c93f15157
towards implementing breaking exchange protocol changes 2022-02-21 12:40:57 +01:00
8920ea9c54
dependencies / tsconfig 2022-02-10 20:13:07 +01:00
14d18065f9
add clause-schnorr integration test (currently failing) 2022-02-03 01:49:44 +01:00
f5ff4afae6
clause schnorr 2022-02-03 01:35:21 +01:00
af3082f448
bump version, fix test 2022-01-27 20:30:08 +01:00
038aa948eb
fix contract terms normalization 2022-01-27 14:33:23 +01:00
a51abcffb0
make refund-gone test case pass again (see #7158) 2022-01-24 22:44:30 +01:00
26ee8e3c71
fix exchange-timetravel test case with latest exchange version 2022-01-24 21:14:28 +01:00
ee492b2552
fixes in integration tests, run fakebank with ram limit 2022-01-24 20:34:29 +01:00
Sebastian
ec059d42d7
replace abbrev-ref with short since abbrev will try to use branch name 2022-01-24 10:58:41 -03:00
Sebastian
97a1e09f6e
add git revision to --version 2022-01-24 10:57:20 -03:00
17c3ced648
make more use of the denom cache 2022-01-13 22:01:14 +01:00
a74cdf0529
fix DB indexing issues 2022-01-11 22:15:56 +01:00
a05e891d6e
towards new recoup API 2022-01-11 14:48:02 +01:00
a2591a29af
logging, bump version 2022-01-10 01:19:19 +01:00
a7b89247e4
wallet-core: towards exchange protocol v12 2022-01-05 20:29:55 +01:00
188ff0b453
upgrade rollup plugins, as older ones caused miscompilation 2022-01-05 18:40:43 +01:00
dc040ba41c
update dependencies to fix rollup issue 2022-01-05 16:48:22 +01:00
423af144ee
put 'setInsecureTrustExchange' behind env variable in benchmark 2021-12-09 12:00:10 +01:00
dbfc599540
wallet-core: use crypto worker for eddsa signing 2021-12-09 10:39:50 +01:00
684c53e105
wallet-core: trust exchange for exchange benchmark 2021-12-08 16:23:00 +01:00
5c4c25516d
wallet: support both protocol versions 2021-11-27 20:57:07 +01:00
Sebastian
403de8170e
bump version to 0.9 2021-11-26 12:55:41 -03:00
7fac3bd17d
logging / explicit wire deadline 2021-11-24 01:57:11 +01:00
ae8af3f27c
wallet: tipping protocol change / merchant version info 2021-11-23 23:51:12 +01:00
Boss Marco
525fcc48dc
Merge benchmark implementation for Grid5000 2021-11-18 13:52:24 +01:00
c33ed91971
wallet: experiment with C-based crypto worker for some primitives 2021-11-16 17:20:44 +01:00
Boss Marco
f8c0242f53
fix wallet.stop 2021-11-14 12:57:21 +01:00
ms
9692f589c6
Bring euFin-based tests to pass.
Note: timetravel-withdraw is now failing for both
pybank and eufin.  That is likely due to the wallet
not refreshing expired denominations.
2021-11-13 12:55:15 +01:00
Boss Marco
ba198eab4a
purge wallet after a specified amount of iterations 2021-11-12 17:28:11 +01:00
Boss Marco
612275df61
update time calculation 2021-11-10 15:14:55 +01:00
Boss Marco
8dadd89edb
timeEnd 2021-11-09 10:58:30 +01:00
Boss Marco
42cf0c445c
added timestamps to logs 2021-11-07 11:47:50 +01:00
Boss Marco
98064f0652
added some logging messages 2021-11-05 16:57:32 +01:00
6fc3aa0b31
taler-wallet: implement log level, use new wallet for every benchmark iteration 2021-11-05 13:10:15 +01:00
ms
c87be3707e
Implementing euFin-based harness.
- move stateless euFin API helpers to separate
  file, in order to avoid circular dependecy between
  harness.ts and libeufin.ts

- implement BankServiceInterface with euFin.  This
  one is not tested and disabled by default.
2021-11-04 13:49:23 +01:00
Boss Marco
8d9386ac00
start a new wallet for each iteration 2021-11-03 16:20:55 +01:00
ms
ea2acd1d3c
Testing harness.
No need to import modules dynamically, in order to
provide the euFin implementation of the BankServiceInterface.
2021-11-01 14:48:49 +01:00
ms
240a8c7427
fix IBAN generator 2021-10-29 15:07:43 +02:00
ms
1419751bfb
test harness: abstracting import of BankService 2021-10-29 15:07:16 +02:00
Boss Marco
dce86113b1
disable throttling for bench1 2021-10-27 15:56:28 +02:00
Boss Marco
4b05ba002c
remove string() 2021-10-26 11:04:02 +02:00
Boss Marco
fb23bab6fe
update bench1 config 2021-10-26 10:50:01 +02:00
ms
835ac85a28
Adapt euFin tests to Demobank model.
Mostly, this change removes any mention of
the currency when bank accounts are created.
2021-10-23 11:35:54 +02:00
cf25f5698e
wallet-cli: run benchmark in a loop 2021-10-20 13:27:47 +02:00
589c2a3382
wallet-cli: benchmarking 2021-10-20 13:06:31 +02:00
ms
f2492cac6d
Fix key-rotation test case. 2021-10-15 07:50:20 +02:00
ms
883ed972a4
Not tolerating != 200 responses during (libEufin) tests. 2021-10-15 07:50:20 +02:00
ms
c25b26983c
Pass Sandbox credentials to the CLI's env. 2021-10-15 07:50:19 +02:00
c532648694
implement fakebank withdrawal 2021-10-14 11:36:43 +02:00
e2fe2d6db1
add anastasis skeleton, put crypto in taler-util 2021-10-07 12:01:40 +02:00
ms
2c3456608e
Testing euFin 'bad gateway' handling. 2021-10-02 10:21:09 +02:00
ms
5dc9bc1ebb
testing 404 from Sandbox 2021-10-01 13:05:15 +02:00
ms
490620ad04
Adapt tests to Sandbox' new access control. 2021-09-17 16:02:34 +02:00
MS
a4489b80e3
testing Nexus balance accounting 2021-09-02 21:48:41 +00:00
MS
311f89c8ba
testing c52/c53 coordination,
and allow passing query parameters to the
"fetch transactions" API from Nexus.
2021-09-02 09:29:13 +00:00
ms
4e9d59e6f6
Exclude test (CAMT printer) without assertions. 2021-09-01 18:26:31 +02:00
ms
bf98724808
Use valid currency (EUR) for EBICS schema. 2021-09-01 18:17:52 +02:00
ms
8b73c30b1f
Avoid Sandbox (deprecated) POST /admin/payments/ API. 2021-09-01 17:51:52 +02:00
ms
79c14e77ec
Avoid Sandbox (deprecated) POST /admin/payments/ API. 2021-09-01 17:38:54 +02:00
ms
2cecdccb49
remove test without assertions 2021-09-01 15:53:32 +02:00
MS
1ca5677f8d
Need to "tick" before asking transactions to libeufin. 2021-09-01 11:45:47 +02:00
MS
812c7e7708
testing the statement generation 2021-08-29 23:47:51 -11:00
ms
fc334ecb60
make Camt test go debit 2021-08-24 17:42:09 +02:00
a09359bd39
implement freezing for payments 2021-08-24 15:08:34 +02:00
MS
7553ae7c74
test Camt generation 2021-08-23 23:46:40 -11:00
828e65b0eb
fix un-offered denom situation, test case almost works 2021-08-23 22:28:46 +02:00
MS
39cbad89bb
Testing Sandbox CLI wire transfer. 2021-08-23 03:31:48 -11:00
de0d004dd9
packaging fixes 2021-08-20 13:52:13 +02:00
45f1346990
minimatch
Signed-off-by: Florian Dold <florian@dold.me>
2021-08-20 13:18:51 +02:00
a576fdfbf8
backup 2021-08-19 19:26:37 +02:00
f5a8ae33e3
cleanup / formatting 2021-08-19 18:34:23 +02:00
d43313f71e
Revert "testing: reset exchange tables before start"
This reverts commit 3450c1617f.
2021-08-19 18:07:45 +02:00
0d03063710
new integration test 2021-08-19 17:59:52 +02:00
c0e6b6d0f6
run pending operations at least once, style fixes 2021-08-19 15:12:33 +02:00
3ce740d87d
store 'list issue date' of denoms, cleanup 2021-08-19 13:48:45 +02:00
ms
b015f76e72
check Anastasis API's (positive) delta param 2021-08-18 19:58:43 +02:00
ms
e5d10137dd
Checking the start and delta params of Anastasis API. 2021-08-18 19:55:49 +02:00
ms
739e6576a8
Test Anastasis with user privileges,
therefore giving history permission first.
2021-08-18 19:42:17 +02:00
MS
1d711d441d
Anastasis facade: check transactions number 2021-08-17 23:16:51 -11:00
MS
2450ecbe6a
enable Anastasis facade test, and call API. 2021-08-17 03:53:16 -11:00
MS
93b455a28a
Anastasis API helper function. 2021-08-16 23:21:35 -11:00
MS
1f255b7f4e
Extend test tooling to create Anastasis facades. 2021-08-16 22:31:04 -11:00
MS
daf9dc507e
Anastasis facade tooling. 2021-08-16 03:19:44 -11:00
ec713f04b8
better coverage for merchant spec test 2021-08-16 13:33:31 +02:00
MS
0f851aceed
Fix use of validateStatus(). 2021-08-15 23:43:19 -11:00
MS
de7e4ee015
tests: POSTing malformed facade creation. See bug 6971. 2021-08-14 22:37:57 -11:00
eb553be841
merchant spec test: adapt to updated spec 2021-08-13 14:41:25 +02:00
9e07bc9963
merchant spec: more checks 2021-08-13 14:28:54 +02:00
2f945b2aeb
merchant test cases 2021-08-12 21:01:40 +02:00
425ea0fbca
tests: logging for test-paywall-flow 2021-08-08 13:35:35 +02:00
5f06ce16be
use valid BIC in test 2021-08-07 22:09:46 +02:00
c077c0d8c0
consider deposit operations for pending operations 2021-08-07 17:59:06 +02:00
ms
93e9c3b6cf
Sandbox: testing balance 2021-08-07 17:06:39 +02:00
34c405f4c9
adjust libeufin test cases 2021-08-07 12:39:26 +02:00
20ffa834d8
tag test properly 2021-08-06 18:51:37 +02:00
05e52d4e11
perf and logging improvements 2021-08-06 16:27:18 +02:00
9026b0aaad
merchant test: pass h_contract 2021-08-06 11:45:08 +02:00
ea0e058b34
merchant test: auth is not a management API 2021-08-05 22:55:58 +02:00
b0e05fcdbc
typo 2021-08-05 22:49:54 +02:00
cd15937dad
fix section comparison 2021-08-05 22:43:14 +02:00
09b07d6147
fix typo in wire gateway client invocation 2021-08-05 21:52:38 +02:00
6141d214b9
typo in error message 2021-08-05 21:49:11 +02:00
Sebastian
8dbf127083
issue #6945: Move instance management API to /management instead of /private 2021-08-05 15:02:56 -03:00
e073f3a793
typo 2021-08-05 00:03:41 +02:00
8e41165f45
debian: bump version 2021-08-05 00:02:49 +02:00
d86714eaba
linting 2021-08-04 23:58:50 +02:00
77b16392b0
linting logic 2021-08-04 23:32:34 +02:00
0439096a53
improved denomination generator 2021-08-04 23:26:47 +02:00
9769f69601
linting 2021-08-04 23:16:08 +02:00
dadf7a943c
more checks 2021-08-04 22:43:09 +02:00
8210480bdd
fix condition 2021-08-04 22:35:03 +02:00
3ca05c0906
linting 2021-08-04 22:32:23 +02:00
04e7315d4d
linting 2021-08-04 22:24:06 +02:00
0c6bb04356
linting 2021-08-04 21:58:21 +02:00
c3f23d0eab
fix test expectation in merchant-exchange-confusion 2021-08-04 18:40:39 +02:00
20611fe6e0
linting 2021-08-04 18:14:37 +02:00
4293b91abc
linting 2021-08-04 18:08:24 +02:00
acaa2282b6
linting 2021-08-04 18:05:41 +02:00
17f2132b4a
fix test expectation in merchant-refund-api 2021-08-04 17:47:28 +02:00
f88e14f66d
towards exchange linting 2021-08-04 17:14:52 +02:00
18c8cebbcd
add test to righ test suite 2021-08-04 13:45:24 +02:00
ec0ebb09e2
adapt integration tests to new exchange configuration 2021-08-04 12:49:46 +02:00
a8e5b95682
integration tests: check that TWG base URLs look well-formed 2021-08-04 12:40:49 +02:00
f92cbdbf47
better default config location detection 2021-08-04 12:21:05 +02:00
a123569677
test libeufin facade creation CLI 2021-08-03 14:00:49 +02:00
049227bfd9
missing file 2021-08-02 16:23:17 +02:00
fc2be33e32
deployment helpers 2021-08-02 15:20:00 +02:00
a8a4f76ed8
implement new GNUnet config features 2021-08-02 14:11:39 +02:00
fe44c84c09
initialize wallet 2021-08-02 10:54:25 +02:00
aaf219807d
debian 2021-08-02 10:03:13 +02:00
3427e2f016
debian 2021-08-02 09:46:16 +02:00
ms
f448f94aea
testing: delay to allow ingestion 2021-07-30 12:12:26 +02:00
ms
a6016952e6
fix IBAN generator 2021-07-30 11:09:17 +02:00
ms
263b1e7751
Fix libeufin refund test.
The ingestion needed a delay to take place.
2021-07-30 10:53:26 +02:00
ms
2ccfa3c2f2
testing: give option to restart merchant without DB reset. 2021-07-30 09:46:19 +02:00
ms
59b6615093
Adapt tests to new API.
Putting public_reorder_url beside any mention
of fulfillment_url, since tests used the latter
in the sense of the former.
2021-07-29 17:12:46 +02:00
ms
172044f022
Fix tipping test.
This test case used to stop+start the merchant along the
run.  This made the DB erased, and got the tip reserve information
lost.  stop+start is now commented out
2021-07-29 16:40:02 +02:00
ms
3de34849b8
testing: provide default instance beforehand 2021-07-29 16:11:02 +02:00
ms
2a86e4c721
testing: provide default instance beforehand 2021-07-29 16:03:08 +02:00
ms
58c3a17b3e
Testing: convenience method to make default instances.
This will facilitate those tests needing a merchant
backend, since it is currently not possible to make
instances without having first a default instance defined.
2021-07-29 15:42:23 +02:00
ms
3450c1617f
testing: reset exchange tables before start 2021-07-29 10:43:01 +02:00
ms
d725d82338
remove incorrect comment 2021-07-29 09:07:35 +02:00
ms
96640c5741
test harness: resetting merchant tables before starting it 2021-07-29 09:06:03 +02:00
ms
a415545644
Instances test auth.
Commenting out 401-responded call due to its use
of the old auth policy of the merchant backend.
2021-07-28 14:34:18 +02:00
ms
fbf1b3e9bf
Sandbox keyrotation testcase. 2021-07-27 10:08:00 +02:00
ms
d591933890
(sandbox) key-rotation command 2021-07-27 07:55:45 +02:00
ms
375b3af7e8
Configure Sandbox before tests 2021-07-27 07:27:14 +02:00
ms
a4bfce6e93
Debian packaging deps (Node) 2021-07-27 07:27:14 +02:00
e70e664da9
fix test case 2021-07-22 18:58:45 +02:00
Sebastian
2b9686ccc6
added missing implementation in wallet cli 2021-07-16 10:12:22 -03:00
ms
4f53189536
debian package 2021-07-14 15:33:30 +02:00
e2287d6d5b
make TextEncoder/Decoder creation lazy for polyfill to work 2021-07-13 14:10:38 +02:00
50bbaa40db
cli: polyfill for older node versions 2021-07-13 13:55:52 +02:00
2667d741e9
add test for zero-value payments 2021-07-12 15:55:19 +02:00
ms
5881d957ca
env var name 2021-07-09 16:54:10 +02:00
ms
ec038c407f
env var name 2021-07-09 13:51:33 +02:00
ms
a3d22f7313
improve tests symlink's name 2021-07-09 13:15:50 +02:00
ms
ba995882ba
introducing a health check for demo.taler.net. 2021-07-08 09:34:38 +02:00
e35c2f581b
simplify task loop, test coin suspension 2021-06-22 13:52:28 +02:00
Sebastian
7f3ce304cb
missing globalThis Polyfill, remove duplicate url util 2021-06-20 16:14:56 -03:00
99550b0011
hide internal wallet state, keep it internal to package 2021-06-17 21:06:54 +02:00
a7c1f7d012
add --quiet flag to test runner 2021-06-17 14:18:05 +02:00