@cardano-sdk/e2e 0.53.2 → 0.54.0
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/CHANGELOG.md +14 -0
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -19
- package/test/handle/KoraLabsHandleProvider.test.ts +2 -1
- package/test/local-network/register-pool.test.ts +18 -14
- package/test/long-running/cache-invalidation.test.ts +9 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cardano-sdk/e2e",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"description": "End to end tests for the cardano-js-sdk packages.",
|
|
5
5
|
"repository": "https://github.com/input-output-hk/cardano-js-sdk",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -76,20 +76,20 @@
|
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@cardano-foundation/ledgerjs-hw-app-cardano": "^7.1.4",
|
|
78
78
|
"@cardano-ogmios/client": "6.9.0",
|
|
79
|
-
"@cardano-sdk/cardano-services": "~0.35.
|
|
80
|
-
"@cardano-sdk/cardano-services-client": "~0.26.
|
|
81
|
-
"@cardano-sdk/core": "~0.46.
|
|
82
|
-
"@cardano-sdk/crypto": "~0.
|
|
83
|
-
"@cardano-sdk/hardware-ledger": "~0.16.
|
|
84
|
-
"@cardano-sdk/hardware-trezor": "~0.7.
|
|
85
|
-
"@cardano-sdk/input-selection": "~0.14.
|
|
86
|
-
"@cardano-sdk/key-management": "~0.
|
|
87
|
-
"@cardano-sdk/ogmios": "~0.18.
|
|
88
|
-
"@cardano-sdk/tx-construction": "~0.27.
|
|
79
|
+
"@cardano-sdk/cardano-services": "~0.35.19",
|
|
80
|
+
"@cardano-sdk/cardano-services-client": "~0.26.17",
|
|
81
|
+
"@cardano-sdk/core": "~0.46.1",
|
|
82
|
+
"@cardano-sdk/crypto": "~0.4.0",
|
|
83
|
+
"@cardano-sdk/hardware-ledger": "~0.16.3",
|
|
84
|
+
"@cardano-sdk/hardware-trezor": "~0.7.16",
|
|
85
|
+
"@cardano-sdk/input-selection": "~0.14.16",
|
|
86
|
+
"@cardano-sdk/key-management": "~0.29.0",
|
|
87
|
+
"@cardano-sdk/ogmios": "~0.18.41",
|
|
88
|
+
"@cardano-sdk/tx-construction": "~0.27.3",
|
|
89
89
|
"@cardano-sdk/util": "~0.17.0",
|
|
90
|
-
"@cardano-sdk/util-dev": "~0.25.
|
|
91
|
-
"@cardano-sdk/util-rxjs": "~0.9.
|
|
92
|
-
"@cardano-sdk/wallet": "~0.53.
|
|
90
|
+
"@cardano-sdk/util-dev": "~0.25.19",
|
|
91
|
+
"@cardano-sdk/util-rxjs": "~0.9.18",
|
|
92
|
+
"@cardano-sdk/wallet": "~0.53.3",
|
|
93
93
|
"@dcspark/cardano-multiplatform-lib-nodejs": "^3.1.1",
|
|
94
94
|
"@emurgo/cardano-message-signing-nodejs": "^1.0.1",
|
|
95
95
|
"@shiroyasha9/axios-fetch-adapter": "1.0.3",
|
|
@@ -120,10 +120,10 @@
|
|
|
120
120
|
"@babel/core": "^7.18.2",
|
|
121
121
|
"@babel/preset-env": "^7.18.2",
|
|
122
122
|
"@babel/preset-typescript": "^7.17.12",
|
|
123
|
-
"@cardano-sdk/dapp-connector": "~0.13.
|
|
124
|
-
"@cardano-sdk/projection": "~0.13.
|
|
125
|
-
"@cardano-sdk/projection-typeorm": "~0.10.
|
|
126
|
-
"@cardano-sdk/web-extension": "~0.39.
|
|
123
|
+
"@cardano-sdk/dapp-connector": "~0.13.15",
|
|
124
|
+
"@cardano-sdk/projection": "~0.13.2",
|
|
125
|
+
"@cardano-sdk/projection-typeorm": "~0.10.2",
|
|
126
|
+
"@cardano-sdk/web-extension": "~0.39.13",
|
|
127
127
|
"@dcspark/cardano-multiplatform-lib-browser": "^3.1.1",
|
|
128
128
|
"@emurgo/cardano-message-signing-asmjs": "^1.0.1",
|
|
129
129
|
"@types/bunyan": "^1.8.8",
|
|
@@ -183,5 +183,5 @@
|
|
|
183
183
|
"publishConfig": {
|
|
184
184
|
"access": "public"
|
|
185
185
|
},
|
|
186
|
-
"gitHead": "
|
|
186
|
+
"gitHead": "d925c014ff7ba97b2682b94e82d58cbaffb9d36b"
|
|
187
187
|
}
|
|
@@ -26,7 +26,8 @@ const checkHandleResolution = (source: string, result: unknown) => {
|
|
|
26
26
|
expect(['string', 'undefined']).toContain(typeof profilePic);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
// Fix flaky tests LW-13058
|
|
30
|
+
describe.skip('KoraLabsHandleProvider', () => {
|
|
30
31
|
let provider: KoraLabsHandleProvider;
|
|
31
32
|
|
|
32
33
|
beforeAll(() => {
|
|
@@ -82,19 +82,21 @@ describe('local-network/register-pool', () => {
|
|
|
82
82
|
|
|
83
83
|
await unDelegateWallet(wallet);
|
|
84
84
|
|
|
85
|
-
const poolPubKey = wallet1.bip32Account.derivePublicKey({
|
|
85
|
+
const poolPubKey = await wallet1.bip32Account.derivePublicKey({
|
|
86
86
|
index: 0,
|
|
87
87
|
role: KeyRole.External
|
|
88
88
|
});
|
|
89
89
|
|
|
90
90
|
const poolKeyHash = bip32Ed25519.getPubKeyHash(poolPubKey);
|
|
91
91
|
const poolId = Cardano.PoolId.fromKeyHash(poolKeyHash);
|
|
92
|
-
const poolRewardAccount =
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
const poolRewardAccount = (
|
|
93
|
+
await wallet1.bip32Account.deriveAddress(
|
|
94
|
+
{
|
|
95
|
+
index: 0,
|
|
96
|
+
type: AddressType.External
|
|
97
|
+
},
|
|
98
|
+
0
|
|
99
|
+
)
|
|
98
100
|
).rewardAccount;
|
|
99
101
|
|
|
100
102
|
const registrationCert: Cardano.PoolRegistrationCertificate = {
|
|
@@ -167,19 +169,21 @@ describe('local-network/register-pool', () => {
|
|
|
167
169
|
await walletReady(wallet);
|
|
168
170
|
await unDelegateWallet(wallet);
|
|
169
171
|
|
|
170
|
-
const poolPubKey = wallet2.bip32Account.derivePublicKey({
|
|
172
|
+
const poolPubKey = await wallet2.bip32Account.derivePublicKey({
|
|
171
173
|
index: 0,
|
|
172
174
|
role: KeyRole.External
|
|
173
175
|
});
|
|
174
176
|
|
|
175
177
|
const poolKeyHash = bip32Ed25519.getPubKeyHash(poolPubKey);
|
|
176
178
|
const poolId = Cardano.PoolId.fromKeyHash(poolKeyHash);
|
|
177
|
-
const poolRewardAccount =
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
const poolRewardAccount = (
|
|
180
|
+
await wallet2.bip32Account.deriveAddress(
|
|
181
|
+
{
|
|
182
|
+
index: 0,
|
|
183
|
+
type: AddressType.External
|
|
184
|
+
},
|
|
185
|
+
0
|
|
186
|
+
)
|
|
183
187
|
).rewardAccount;
|
|
184
188
|
|
|
185
189
|
const registrationCert: Cardano.PoolRegistrationCertificate = {
|
|
@@ -107,19 +107,21 @@ describe('cache invalidation', () => {
|
|
|
107
107
|
|
|
108
108
|
await walletReady(wallet);
|
|
109
109
|
|
|
110
|
-
const poolPubKey = wallet1.bip32Account.derivePublicKey({
|
|
110
|
+
const poolPubKey = await wallet1.bip32Account.derivePublicKey({
|
|
111
111
|
index: 0,
|
|
112
112
|
role: KeyRole.External
|
|
113
113
|
});
|
|
114
114
|
|
|
115
115
|
const poolKeyHash = bip32Ed25519.getPubKeyHash(poolPubKey);
|
|
116
116
|
const poolId = Cardano.PoolId.fromKeyHash(poolKeyHash);
|
|
117
|
-
const poolRewardAccount =
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
117
|
+
const poolRewardAccount = (
|
|
118
|
+
await wallet1.bip32Account.deriveAddress(
|
|
119
|
+
{
|
|
120
|
+
index: 0,
|
|
121
|
+
type: AddressType.External
|
|
122
|
+
},
|
|
123
|
+
0
|
|
124
|
+
)
|
|
123
125
|
).rewardAccount;
|
|
124
126
|
|
|
125
127
|
const registrationCert: Cardano.PoolRegistrationCertificate = {
|