Skip to content

Commit a025d72

Browse files
authored
bug fixes for v0.6.8 release (#1652)
* handle case where fees are null for a chain (#1644) * add log import * fix account view errors when request does not exist (#1643) * bump version
1 parent 142aa91 commit a025d72

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

app/tray/Account/Account.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class _AccountBody extends React.Component {
259259
if (crumb.view === 'requestView') {
260260
const { accountId, requestId } = crumb.data
261261
const req = this.store('main.accounts', accountId, 'requests', requestId)
262-
const accountViewTitle = this.getAccountViewTitle(req)
262+
const accountViewTitle = (req && this.getAccountViewTitle(req)) || ''
263263

264264
return (
265265
<AccountView
@@ -269,7 +269,7 @@ class _AccountBody extends React.Component {
269269
{...this.props}
270270
accountViewTitle={accountViewTitle}
271271
>
272-
{this.renderRequest(req, crumb.data)}
272+
{req && this.renderRequest(req, crumb.data)}
273273
</AccountView>
274274
)
275275
} else if (crumb.view === 'expandedModule') {

main/store/migrate/migrations/legacy/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import { v5 as uuidv5 } from 'uuid'
66
import { z } from 'zod'
7+
import log from 'electron-log'
78

89
import { accountNS, isDefaultAccountName } from '../../../../../resources/domain/account'
910
import { isWindows } from '../../../../../resources/platform'

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frame",
3-
"version": "0.6.7",
3+
"version": "0.6.8",
44
"description": "System-wide web3",
55
"main": "compiled/main",
66
"scripts": {

resources/Components/Monitor/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ class ChainSummaryComponent extends Component {
161161
// Optimism specific calculations
162162
const price = calculatedFees?.actualFee || gasPrice
163163

164-
const ethBaseFee = this.store('main.networksMeta.ethereum', 1, 'gas.price.fees.nextBaseFee')
164+
const feeMarket = this.store('main.networksMeta.ethereum', 1, 'gas.price.fees') || {}
165+
const { nextBaseFee: ethBaseFee } = feeMarket
165166

166167
const optimismEstimate = (serializedTx, l2Limit) => {
167168
const l1Estimate = BigNumber(calculateOptimismL1DataFee(serializedTx, ethBaseFee)).shiftedBy(-9)

0 commit comments

Comments
 (0)