@ledgerhq/coin-tester-evm 1.12.0-nightly.20251225024217 → 1.12.0-nightly.20251227023924

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-tester-evm",
3
- "version": "1.12.0-nightly.20251225024217",
3
+ "version": "1.12.0-nightly.20251227023924",
4
4
  "description": "Ledger EVM Coin Tester",
5
5
  "main": "src/scenarii.test.ts",
6
6
  "keywords": [
@@ -52,14 +52,14 @@
52
52
  "dotenv": "^16.4.5",
53
53
  "ethers": "6.15.0",
54
54
  "msw": "^2.2.1",
55
- "@ledgerhq/coin-evm": "^2.37.0-nightly.20251225024217",
56
- "@ledgerhq/coin-framework": "^6.11.0-nightly.20251225024217",
57
- "@ledgerhq/coin-tester": "^0.14.0-nightly.20251225024217",
58
- "@ledgerhq/cryptoassets": "^13.35.0-nightly.20251225024217",
59
- "@ledgerhq/live-common": "^34.55.0-nightly.20251225024217",
60
- "@ledgerhq/live-config": "^3.3.0-nightly.20251225024217",
61
- "@ledgerhq/types-cryptoassets": "^7.31.0-nightly.20251225024217",
62
- "@ledgerhq/types-live": "^6.91.0-nightly.20251225024217"
55
+ "@ledgerhq/coin-evm": "^2.37.0-nightly.20251227023924",
56
+ "@ledgerhq/coin-framework": "^6.11.0-nightly.20251227023924",
57
+ "@ledgerhq/coin-tester": "^0.14.0-nightly.20251227023924",
58
+ "@ledgerhq/cryptoassets": "^13.35.0-nightly.20251227023924",
59
+ "@ledgerhq/live-common": "^34.55.0-nightly.20251227023924",
60
+ "@ledgerhq/live-config": "^3.3.0-nightly.20251227023924",
61
+ "@ledgerhq/types-cryptoassets": "^7.31.0-nightly.20251227023924",
62
+ "@ledgerhq/types-live": "^6.91.0-nightly.20251227023924"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@swc/core": "1.4.11",
@@ -72,7 +72,7 @@
72
72
  "ts-jest": "^29.1.2",
73
73
  "ts-node": "^10.9.2",
74
74
  "typescript": "^5.3.3",
75
- "@ledgerhq/hw-transport": "6.31.15-nightly.20251225024217"
75
+ "@ledgerhq/hw-transport": "6.31.15-nightly.20251227023924"
76
76
  },
77
77
  "scripts": {
78
78
  "clean": "rimraf lib lib-es",
@@ -9,6 +9,7 @@ import { Transaction as EvmTransaction } from "@ledgerhq/coin-evm/types/transact
9
9
  import { makeAccount } from "../fixtures";
10
10
  import { blast, callMyDealer, getBridges, VITALIK } from "../helpers";
11
11
  import { killAnvil, spawnAnvil } from "../anvil";
12
+ import { LiveConfig } from "@ledgerhq/live-config/LiveConfig";
12
13
  import { MIM_ON_BLAST } from "../tokenFixtures";
13
14
  import { buildSigner } from "../signer";
14
15
 
@@ -76,11 +77,30 @@ export const scenarioBlast: Scenario<EvmTransaction, Account> = {
76
77
  },
77
78
  explorer: {
78
79
  type: "etherscan",
79
- uri: "https://api.blastscan.io/api",
80
+ uri: "https://proxyetherscan.api.live.ledger.com/v2/api/81457",
80
81
  },
81
82
  showNfts: true,
82
83
  },
83
84
  }));
85
+ LiveConfig.setConfig({
86
+ config_currency_blast: {
87
+ type: "object",
88
+ default: {
89
+ status: {
90
+ type: "active",
91
+ },
92
+ node: {
93
+ type: "external",
94
+ uri: "http://127.0.0.1:8545",
95
+ },
96
+ explorer: {
97
+ type: "etherscan",
98
+ uri: "https://proxyetherscan.api.live.ledger.com/v2/api/81457",
99
+ },
100
+ showNfts: true,
101
+ },
102
+ },
103
+ });
84
104
  initMswHandlers(getCoinConfig(blast).info);
85
105
 
86
106
  const { currencyBridge, accountBridge, getAddress } = await getBridges("blast", signer);
@@ -9,6 +9,7 @@ import { Transaction as EvmTransaction } from "@ledgerhq/coin-evm/types/transact
9
9
  import { makeAccount } from "../fixtures";
10
10
  import { callMyDealer, getBridges, scroll, VITALIK } from "../helpers";
11
11
  import { killAnvil, spawnAnvil } from "../anvil";
12
+ import { LiveConfig } from "@ledgerhq/live-config/LiveConfig";
12
13
  import { USDC_ON_SCROLL } from "../tokenFixtures";
13
14
  import { buildSigner } from "../signer";
14
15
 
@@ -79,12 +80,31 @@ export const scenarioScroll: Scenario<EvmTransaction, Account> = {
79
80
  uri: "http://127.0.0.1:8545",
80
81
  },
81
82
  explorer: {
82
- type: "etherscan",
83
- uri: "https://api.scrollscan.com/api",
83
+ type: "blockscout",
84
+ uri: "https://scroll.blockscout.com/api",
84
85
  },
85
86
  showNfts: true,
86
87
  },
87
88
  }));
89
+ LiveConfig.setConfig({
90
+ config_currency_scroll: {
91
+ type: "object",
92
+ default: {
93
+ status: {
94
+ type: "active",
95
+ },
96
+ node: {
97
+ type: "external",
98
+ uri: "http://127.0.0.1:8545",
99
+ },
100
+ explorer: {
101
+ type: "blockscout",
102
+ uri: "https://scroll.blockscout.com/api",
103
+ },
104
+ showNfts: true,
105
+ },
106
+ },
107
+ });
88
108
  initMswHandlers(getCoinConfig(scroll).info);
89
109
 
90
110
  const { currencyBridge, accountBridge, getAddress } = await getBridges("scroll", signer);
@@ -60,7 +60,7 @@ describe("EVM Deterministic Tester", () => {
60
60
  }
61
61
  });
62
62
 
63
- it.skip("scenario scroll", async () => {
63
+ it("scenario scroll", async () => {
64
64
  try {
65
65
  await executeScenario(scenarioScroll);
66
66
  } catch (e) {
@@ -71,7 +71,7 @@ describe("EVM Deterministic Tester", () => {
71
71
  }
72
72
  });
73
73
 
74
- it.skip("scenario blast", async () => {
74
+ it("scenario blast", async () => {
75
75
  try {
76
76
  await executeScenario(scenarioBlast);
77
77
  } catch (e) {
@@ -5,7 +5,7 @@ import type { TokenCurrency } from "@ledgerhq/types-cryptoassets";
5
5
 
6
6
  const ethereum = getCryptoCurrencyById("ethereum");
7
7
  const polygon = getCryptoCurrencyById("polygon");
8
- const scroll = getCryptoCurrencyById("scroll_sepolia");
8
+ const scroll = getCryptoCurrencyById("scroll");
9
9
  const blast = getCryptoCurrencyById("blast");
10
10
  const sonic = getCryptoCurrencyById("sonic");
11
11
  const core = getCryptoCurrencyById("core");