@ledgerhq/coin-tester-evm 1.11.1-nightly.20251204135727 → 1.12.0-nightly.20251205111238

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +12 -9
  3. package/lib/src/helpers.d.ts +1 -2
  4. package/lib/src/helpers.d.ts.map +1 -1
  5. package/lib/src/helpers.js +1 -11
  6. package/lib/src/helpers.js.map +1 -1
  7. package/lib/src/scenarii/blast.d.ts.map +1 -1
  8. package/lib/src/scenarii/blast.js +2 -12
  9. package/lib/src/scenarii/blast.js.map +1 -1
  10. package/lib/src/scenarii/core.js +2 -2
  11. package/lib/src/scenarii/core.js.map +1 -1
  12. package/lib/src/scenarii/ethereum.d.ts.map +1 -1
  13. package/lib/src/scenarii/ethereum.js +9 -89
  14. package/lib/src/scenarii/ethereum.js.map +1 -1
  15. package/lib/src/scenarii/polygon.d.ts.map +1 -1
  16. package/lib/src/scenarii/polygon.js +9 -86
  17. package/lib/src/scenarii/polygon.js.map +1 -1
  18. package/lib/src/scenarii/scroll.d.ts.map +1 -1
  19. package/lib/src/scenarii/scroll.js +1 -11
  20. package/lib/src/scenarii/scroll.js.map +1 -1
  21. package/lib/src/scenarii/sonic.d.ts.map +1 -1
  22. package/lib/src/scenarii/sonic.js +2 -3
  23. package/lib/src/scenarii/sonic.js.map +1 -1
  24. package/lib/tsconfig.tsbuildinfo +1 -1
  25. package/lib-es/src/helpers.d.ts +1 -2
  26. package/lib-es/src/helpers.d.ts.map +1 -1
  27. package/lib-es/src/helpers.js +1 -11
  28. package/lib-es/src/helpers.js.map +1 -1
  29. package/lib-es/src/scenarii/blast.d.ts.map +1 -1
  30. package/lib-es/src/scenarii/blast.js +2 -9
  31. package/lib-es/src/scenarii/blast.js.map +1 -1
  32. package/lib-es/src/scenarii/core.js +2 -2
  33. package/lib-es/src/scenarii/core.js.map +1 -1
  34. package/lib-es/src/scenarii/ethereum.d.ts.map +1 -1
  35. package/lib-es/src/scenarii/ethereum.js +9 -89
  36. package/lib-es/src/scenarii/ethereum.js.map +1 -1
  37. package/lib-es/src/scenarii/polygon.d.ts.map +1 -1
  38. package/lib-es/src/scenarii/polygon.js +9 -86
  39. package/lib-es/src/scenarii/polygon.js.map +1 -1
  40. package/lib-es/src/scenarii/scroll.d.ts.map +1 -1
  41. package/lib-es/src/scenarii/scroll.js +2 -9
  42. package/lib-es/src/scenarii/scroll.js.map +1 -1
  43. package/lib-es/src/scenarii/sonic.d.ts.map +1 -1
  44. package/lib-es/src/scenarii/sonic.js +2 -3
  45. package/lib-es/src/scenarii/sonic.js.map +1 -1
  46. package/lib-es/tsconfig.tsbuildinfo +1 -1
  47. package/package.json +7 -8
  48. package/src/helpers.ts +0 -15
  49. package/src/scenarii/blast.ts +2 -11
  50. package/src/scenarii/core.ts +2 -2
  51. package/src/scenarii/ethereum.ts +9 -109
  52. package/src/scenarii/polygon.ts +9 -101
  53. package/src/scenarii/scroll.ts +2 -11
  54. package/src/scenarii/sonic.ts +2 -3
  55. package/src/scenarii.test.ts +56 -59
@@ -16,76 +16,73 @@ jest.setTimeout(100_000);
16
16
  // Note this config runs with NanoX
17
17
  // https://github.com/LedgerHQ/ledger-live/blob/develop/libs/coin-tester/docker-compose.yml
18
18
 
19
- describe.each([["legacy"], ["generic-adapter"]] as const)(
20
- "EVM Deterministic Tester (%s strategy)",
21
- strategy => {
22
- it("scenario Ethereum", async () => {
23
- try {
24
- await executeScenario(scenarioEthereum, strategy);
25
- } catch (e) {
26
- if (e != "done") {
27
- await Promise.all([killSpeculos(), killAnvil()]);
28
- throw e;
29
- }
19
+ describe("EVM Deterministic Tester", () => {
20
+ it("scenario Ethereum", async () => {
21
+ try {
22
+ await executeScenario(scenarioEthereum);
23
+ } catch (e) {
24
+ if (e != "done") {
25
+ await Promise.all([killSpeculos(), killAnvil()]);
26
+ throw e;
30
27
  }
31
- });
28
+ }
29
+ });
32
30
 
33
- it("scenario Sonic", async () => {
34
- try {
35
- await executeScenario(scenarioSonic, strategy);
36
- } catch (e) {
37
- if (e != "done") {
38
- await Promise.all([killSpeculos(), killAnvil()]);
39
- throw e;
40
- }
31
+ it("scenario Sonic", async () => {
32
+ try {
33
+ await executeScenario(scenarioSonic);
34
+ } catch (e) {
35
+ if (e != "done") {
36
+ await Promise.all([killSpeculos(), killAnvil()]);
37
+ throw e;
41
38
  }
42
- });
39
+ }
40
+ });
43
41
 
44
- it("scenario polygon", async () => {
45
- try {
46
- await executeScenario(scenarioPolygon, strategy);
47
- } catch (e) {
48
- if (e != "done") {
49
- await Promise.all([killSpeculos(), killAnvil()]);
50
- throw e;
51
- }
42
+ it("scenario Polygon", async () => {
43
+ try {
44
+ await executeScenario(scenarioPolygon);
45
+ } catch (e) {
46
+ if (e != "done") {
47
+ await Promise.all([killSpeculos(), killAnvil()]);
48
+ throw e;
52
49
  }
53
- });
50
+ }
51
+ });
54
52
 
55
- it("scenario Core", async () => {
56
- try {
57
- await executeScenario(scenarioCore, strategy);
58
- } catch (e) {
59
- if (e != "done") {
60
- await Promise.all([killSpeculos(), killAnvil()]);
61
- throw e;
62
- }
53
+ it("scenario Core", async () => {
54
+ try {
55
+ await executeScenario(scenarioCore);
56
+ } catch (e) {
57
+ if (e != "done") {
58
+ await Promise.all([killSpeculos(), killAnvil()]);
59
+ throw e;
63
60
  }
64
- });
61
+ }
62
+ });
65
63
 
66
- it.skip("scenario scroll", async () => {
67
- try {
68
- await executeScenario(scenarioScroll);
69
- } catch (e) {
70
- if (e != "done") {
71
- await Promise.all([killSpeculos(), killAnvil()]);
72
- throw e;
73
- }
64
+ it.skip("scenario scroll", async () => {
65
+ try {
66
+ await executeScenario(scenarioScroll);
67
+ } catch (e) {
68
+ if (e != "done") {
69
+ await Promise.all([killSpeculos(), killAnvil()]);
70
+ throw e;
74
71
  }
75
- });
72
+ }
73
+ });
76
74
 
77
- it.skip("scenario blast", async () => {
78
- try {
79
- await executeScenario(scenarioBlast);
80
- } catch (e) {
81
- if (e != "done") {
82
- await Promise.all([killSpeculos(), killAnvil()]);
83
- throw e;
84
- }
75
+ it.skip("scenario blast", async () => {
76
+ try {
77
+ await executeScenario(scenarioBlast);
78
+ } catch (e) {
79
+ if (e != "done") {
80
+ await Promise.all([killSpeculos(), killAnvil()]);
81
+ throw e;
85
82
  }
86
- });
87
- },
88
- );
83
+ }
84
+ });
85
+ });
89
86
 
90
87
  ["exit", "SIGINT", "SIGQUIT", "SIGTERM", "SIGUSR1", "SIGUSR2", "uncaughtException"].map(e =>
91
88
  process.on(e, async () => {