Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable unreachable endpoints #9862

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/apps-config/src/endpoints/productionRelayKusama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const prodParasKusama: Omit<EndpointOption, 'teleport'>[] = [
providers: {
Darwinia: 'wss://crab-rpc.darwinia.network/',
'Darwinia Community': 'wss://crab-rpc.darwiniacommunitydao.xyz',
Dwellir: 'wss://darwiniacrab-rpc.dwellir.com',
// Dwellir: 'wss://darwiniacrab-rpc.dwellir.com', // https://github.com/polkadot-js/apps/issues/9861
OnFinality: 'wss://crab.api.onfinality.io/public-ws'
},
text: 'Crab2',
Expand Down Expand Up @@ -319,7 +319,7 @@ export const prodParasKusama: Omit<EndpointOption, 'teleport'>[] = [
'Acala Foundation 1': 'wss://karura-rpc-1.aca-api.network',
'Acala Foundation 2': 'wss://karura-rpc-2.aca-api.network/ws',
'Acala Foundation 3': 'wss://karura-rpc-3.aca-api.network/ws',
Dwellir: 'wss://karura-rpc.dwellir.com',
// Dwellir: 'wss://karura-rpc.dwellir.com', // https://github.com/polkadot-js/apps/issues/9861
OnFinality: 'wss://karura.api.onfinality.io/public-ws'
// 'Polkawallet 0': 'wss://karura.polkawallet.io' // https://github.com/polkadot-js/apps/issues/9383
},
Expand Down
4 changes: 2 additions & 2 deletions packages/apps-config/src/endpoints/productionRelayPolkadot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ export const prodParasPolkadot: Omit<EndpointOption, 'teleport'>[] = [
providers: {
Darwinia: 'wss://rpc.darwinia.network',
'Darwinia Community': 'wss://darwinia-rpc.darwiniacommunitydao.xyz',
Dwellir: 'wss://darwinia-rpc.dwellir.com',
OnFinality: 'wss://darwinia2.api.onfinality.io/public-ws'
Dwellir: 'wss://darwinia-rpc.dwellir.com'
// OnFinality: 'wss://darwinia2.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/9861
},
text: 'Darwinia2',
ui: {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/src/modals/Transfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function Transfer ({ className = '', onClose, recipientId: propRecipientId, send
if (balances && balances.accountId?.eq(fromId) && fromId && toId && api.call.transactionPaymentApi && api.tx.balances) {
nextTick(async (): Promise<void> => {
try {
const extrinsic = api.tx.balances.transfer(toId, balances.availableBalance);
const extrinsic = (api.tx.balances.transferAllowDeath || api.tx.balances.transfer)(toId, balances.availableBalance);
const { partialFee } = await extrinsic.paymentInfo(fromId);
const adjFee = partialFee.muln(110).div(BN_HUNDRED);
const maxTransfer = balances.availableBalance.sub(adjFee);
Expand Down