Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Oct 9, 2024
1 parent 6bac24a commit 367be52
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
17 changes: 6 additions & 11 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IPFS hash of the deployment:
- CIDv0: `QmSSKD7h4Q9E4bEtFW5zqeBJQ419v7BGHUushs7Myz2WQQ`
- CIDv1: `bafybeib44ixryspegordbiauzjcek6nvu4kqbdgucj6dgvwiv4jad6owde`
- CIDv0: `QmbrVRA32CDwC4dhB4NStnreoYJ2xEaX3SoMW8kU5TuE7s`
- CIDv1: `bafybeigiztmprfce7w24v25bv65hos5sz464njnrahj37irfxp255e434i`

The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).

Expand All @@ -10,15 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.

IPFS gateways:
- https://bafybeib44ixryspegordbiauzjcek6nvu4kqbdgucj6dgvwiv4jad6owde.ipfs.dweb.link/
- https://bafybeib44ixryspegordbiauzjcek6nvu4kqbdgucj6dgvwiv4jad6owde.ipfs.cf-ipfs.com/
- [ipfs://QmSSKD7h4Q9E4bEtFW5zqeBJQ419v7BGHUushs7Myz2WQQ/](ipfs://QmSSKD7h4Q9E4bEtFW5zqeBJQ419v7BGHUushs7Myz2WQQ/)
- https://bafybeigiztmprfce7w24v25bv65hos5sz464njnrahj37irfxp255e434i.ipfs.dweb.link/
- https://bafybeigiztmprfce7w24v25bv65hos5sz464njnrahj37irfxp255e434i.ipfs.cf-ipfs.com/
- [ipfs://QmbrVRA32CDwC4dhB4NStnreoYJ2xEaX3SoMW8kU5TuE7s/](ipfs://QmbrVRA32CDwC4dhB4NStnreoYJ2xEaX3SoMW8kU5TuE7s/)

### 5.50.2 (2024-10-09)


### Bug Fixes

* **web:** log step and original error on web (#12826) 5d4bd4f
### 5.50.3 (2024-10-09)


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.50.2
web/5.50.3
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export function EthSendRequestContent({ request }: EthSendRequestContentProps):
const chainId = useDappLastChainId(dappUrl)

// Gas service requires a chain id
const formattedTxnForGasQuery = { ...dappRequest.transaction, chainId }
const formattedTxnForGasQuery = useMemo(
() => ({ ...dappRequest.transaction, chainId }),
[dappRequest.transaction, chainId],
)

const transactionGasFeeResult = useTransactionGasFee(
formattedTxnForGasQuery,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useMemo } from 'react'
import { useTranslation } from 'react-i18next'
import { useDappLastChainId } from 'src/app/features/dapp/hooks'
import { DappRequestStoreItem } from 'src/app/features/dappRequests/slice'
Expand Down Expand Up @@ -25,11 +26,14 @@ export const WrapTransactionDetails = ({

const chainId = useDappLastChainId(dappUrl) || UniverseChainId.Mainnet

const networkFee = useTransactionGasFee({
chainId,
...sendTransactionRequest.transaction,
}).value
const gasFeeUSD = useUSDValue(chainId, networkFee)
const txRequest = useMemo(
() => ({ ...sendTransactionRequest.transaction, chainId }),
[sendTransactionRequest, chainId],
)

const networkFee = useTransactionGasFee(txRequest)

const gasFeeUSD = useUSDValue(chainId, networkFee.value)

return (
<Flex>
Expand Down
7 changes: 6 additions & 1 deletion packages/uniswap/src/features/gas/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,13 @@ export function useTransactionGasFee(
const activeGasStrategy = useActiveGasStrategy(tx?.chainId, 'general')
const shadowGasStrategies = useShadowGasStrategies(tx?.chainId, 'general')

const txWithGasStrategies = useMemo(
() => ({ ...tx, gasStrategies: [activeGasStrategy, ...(shadowGasStrategies ?? [])] }),
[tx, activeGasStrategy, shadowGasStrategies],
)

const { data, error, isLoading } = useGasFeeQuery({
params: skip || !tx ? undefined : { ...tx, gasStrategies: [activeGasStrategy, ...(shadowGasStrategies ?? [])] },
params: skip || !tx ? undefined : txWithGasStrategies,
refetchInterval,
staleTime: pollingIntervalForChain,
immediateGcTime: pollingIntervalForChain + 15 * ONE_SECOND_MS,
Expand Down

0 comments on commit 367be52

Please sign in to comment.