Skip to content

Commit

Permalink
chore(deps): update pjs (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
marshacb authored Dec 14, 2024
1 parent d735442 commit 464a2e2
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 176 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/moonbeam.hydration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ describe('Moonbeam <> Hydration', () => {

hydration = hydration1;
moonbeam = moonbeam1;
}, 200000);
}, 500000);

afterEach(async () => {
await moonbeam.teardown();
await hydration.teardown();
}, 200000);
}, 500000);

test('Transfer GLMR from Moonbeam to Hydration', async () => {
await moonbeam.dev.setStorage({
Expand Down
6 changes: 3 additions & 3 deletions e2e-tests/polkadotAssetHub.bridgeHub.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ describe('Polkadot AssetHub <> Ethereum', () => {

polkadotBridgeHub = polkadotBridgeHub1;
polkadotAssetHub = polkadotAssetHub1;
}, 200000);
}, 500000);

afterEach(async () => {
await polkadotBridgeHub.teardown();
await polkadotAssetHub.teardown();
}, 200000);
}, 500000);

test('Snowbridge WETH From AssetHub to Ethereum', async () => {
await polkadotAssetHub.dev.setStorage({
Expand Down Expand Up @@ -84,5 +84,5 @@ describe('Polkadot AssetHub <> Ethereum', () => {
const messageCommittedEvent = bridgeHubEvents[bridgeHubEvents.length - 1];
expect(messageCommittedEvent.event.section).toEqual('ethereumOutboundQueue');
expect(messageCommittedEvent.event.method).toEqual('MessagesCommitted');
}, 5000000);
}, 100000);
});
18 changes: 9 additions & 9 deletions e2e-tests/polkadotAssetHub.hydration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ describe('Polkadot AssetHub <> Hydration', () => {

hydration = hydration1;
polkadotAssetHub = polkadotAssetHub1;
}, 200000);
}, 500000);

afterEach(async () => {
await polkadotAssetHub.teardown();
await hydration.teardown();
}, 200000);
}, 500000);

test('AssetHub Local DOT Transfer', async () => {
await polkadotAssetHub.api.isReady;
Expand Down Expand Up @@ -74,7 +74,7 @@ describe('Polkadot AssetHub <> Hydration', () => {

const recipientsUpdatedDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free;
expect(recipientsUpdatedDOTBalance.toNumber()).toBeGreaterThan(1000000);
}, 50000);
}, 100000);

test('AssetHub Local Pool Asset Transfer', async () => {
await polkadotAssetHub.api.isReady;
Expand Down Expand Up @@ -120,7 +120,7 @@ describe('Polkadot AssetHub <> Hydration', () => {
expect(recipientsUpdatedPoolAssetBalance.balance.toNumber()).toBeGreaterThan(
recipientsInitialPoolAssetBalance.balance.toNumber(),
);
}, 50000);
}, 100000);

test('Hydration Local HDX Transfer', async () => {
await hydration.dev.setStorage({
Expand Down Expand Up @@ -161,7 +161,7 @@ describe('Polkadot AssetHub <> Hydration', () => {
expect((recipientUpdatedHDXBalance as AccountData).free.toNumber()).toBeGreaterThan(
(recipientInitialHDXBalance as AccountData).free.toNumber(),
);
}, 70000);
}, 100000);

test('Transfer DOT From Hydration to AssetHub', async () => {
await hydration.dev.setStorage({
Expand Down Expand Up @@ -195,7 +195,7 @@ describe('Polkadot AssetHub <> Hydration', () => {
const recipientsUpdatedDOTBalance = (await polkadotAssetHub.api.query.system.account(recipientAddress)).data.free;
expect(recipientsUpdatedDOTBalance.toNumber()).not.toEqual(0);
expect(recipientsUpdatedDOTBalance.toNumber()).toBeGreaterThan(recipientsInitialDOTBalance.toNumber());
}, 70000);
}, 100000);

test('Transfer DOT From AssetHub to Hydration', async () => {
await polkadotAssetHub.dev.setStorage({
Expand Down Expand Up @@ -225,7 +225,7 @@ describe('Polkadot AssetHub <> Hydration', () => {
expect((recipientsUpdatedDOTBalance as AccountData).free.toNumber()).toBeGreaterThan(
(recipientsInitialDOTBalance as AccountData).free.toNumber(),
);
}, 50000);
}, 100000);

test('Transfer SnowBridge WETH From Hydration To AssetHub', async () => {
await hydration.dev.setStorage({
Expand Down Expand Up @@ -303,7 +303,7 @@ describe('Polkadot AssetHub <> Hydration', () => {

expect(JSON.stringify(recipientsUpdatedWETHBalance)).not.toEqual('null');
expect(recipientsUpdatedWETHBalance.balance.toNumber()).toBeGreaterThan(0);
}, 50000);
}, 100000);

test('Transfer SnowBridge WETH From AssetHub To Hydration', async () => {
await polkadotAssetHub.dev.setStorage({
Expand Down Expand Up @@ -351,5 +351,5 @@ describe('Polkadot AssetHub <> Hydration', () => {
expect((recipientsUpdatedWETHBalance as AccountData).free.toNumber()).toBeGreaterThan(
(recipientsInitialHydrationWETHBalance as AccountData).free.toNumber(),
);
}, 50000);
}, 100000);
});
19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,23 @@
"dependencies": {
"@acala-network/chopsticks-core": "^1.0.1",
"@acala-network/chopsticks-testing": "^1.0.1",
"@polkadot/api": "^14.2.3",
"@polkadot/api-augment": "^14.2.3",
"@polkadot/types": "^14.2.3",
"@polkadot/types-codec": "^14.2.3",
"@polkadot/api": "^15.0.2",
"@polkadot/api-augment": "^15.0.2",
"@polkadot/types": "^15.0.2",
"@polkadot/types-codec": "^15.0.2",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@substrate/asset-transfer-api-registry": "^0.2.24"
},
"resolutions": {
"@polkadot/util-crypto": "13.2.2",
"@polkadot/util": "13.2.2"
"@polkadot/api": "^15.0.2",
"@polkadot/types-create": "15.0.2",
"@polkadot/rpc-provider": "15.0.2",
"@polkadot/api-augment": "^15.0.2",
"@polkadot/types": "^15.0.2",
"@polkadot/types-codec": "15.0.2",
"@polkadot/util-crypto": "13.2.3",
"@polkadot/util": "13.2.3",
"@polkadot/keyring": "13.2.3"
}
}
Loading

0 comments on commit 464a2e2

Please sign in to comment.