Skip to content

Commit

Permalink
update assethub (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc authored Jul 19, 2024
1 parent a04a364 commit ee2a999
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions KNOWN_GOOD_BLOCK_NUMBERS.env
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ACALA_BLOCK_NUMBER=6598160
ASSETHUBKUSAMA_BLOCK_NUMBER=7388659
ASSETHUBPOLKADOT_BLOCK_NUMBER=6711225
ASTAR_BLOCK_NUMBER=6628277
BASILISK_BLOCK_NUMBER=6218158
HYDRADX_BLOCK_NUMBER=5573575
KARURA_BLOCK_NUMBER=7292481
KUSAMA_BLOCK_NUMBER=24091416
MOONBEAM_BLOCK_NUMBER=6631417
MOONRIVER_BLOCK_NUMBER=7376161
POLKADOT_BLOCK_NUMBER=21696386
SHIDEN_BLOCK_NUMBER=6963693
ACALA_BLOCK_NUMBER=6603508
ASSETHUBKUSAMA_BLOCK_NUMBER=7394223
ASSETHUBPOLKADOT_BLOCK_NUMBER=6717247
ASTAR_BLOCK_NUMBER=6634180
BASILISK_BLOCK_NUMBER=6224169
HYDRADX_BLOCK_NUMBER=5579636
KARURA_BLOCK_NUMBER=7297826
KUSAMA_BLOCK_NUMBER=24103521
MOONBEAM_BLOCK_NUMBER=6643456
MOONRIVER_BLOCK_NUMBER=7388173
POLKADOT_BLOCK_NUMBER=21708559
SHIDEN_BLOCK_NUMBER=6969468
4 changes: 2 additions & 2 deletions packages/networks/src/chains/assethub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ const getInitStorages = (config: typeof custom.assetHubPolkadot | typeof custom.

export const assetHubPolkadot = defineChain({
name: 'assetHubPolkadot',
endpoint: 'wss://statemint-rpc-tn.dwellir.com',
endpoint: 'wss://rpc-asset-hub-polkadot.luckyfriday.io',
paraId: 1000,
custom: custom.assetHubPolkadot,
initStorages: getInitStorages(custom.assetHubPolkadot),
})

export const assetHubKusama = defineChain({
name: 'assetHubKusama',
endpoint: 'wss://statemine-rpc-tn.dwellir.com',
endpoint: 'wss://rpc-asset-hub-kusama.luckyfriday.io',
paraId: 1000,
custom: custom.assetHubKusama,
initStorages: getInitStorages(custom.assetHubKusama),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`acala & assetHubPolkadot > acala transfer USDT to assetHubPolkadot > ba

exports[`acala & assetHubPolkadot > acala transfer USDT to assetHubPolkadot > balance on to chain 1`] = `
{
"balance": "(rounded 950000)",
"balance": "(rounded 1000000)",
"extra": null,
"reason": {
"sufficient": null,
Expand Down
2 changes: 1 addition & 1 deletion packages/polkadot/src/acala.assetHubPolkadot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('acala & assetHubPolkadot', async () => {
fromBalance: query.tokens(acala.custom.usdt),
toBalance: query.assets(assetHubPolkadot.custom.usdtIndex),
tx: tx.xtokens.transfer(acala.custom.usdt, 1e6, tx.xtokens.parachainV3(assetHubPolkadot.paraId!)),
precision: 2,
precision: 1,
}
})
})

0 comments on commit ee2a999

Please sign in to comment.