feat: sync and update with all changes from solar-punk-ltd fork (#730)
* fix: swap error caused by invalid id and batchcount * fix: enhance creation messages for admin drive and user drives * fix: identity and wallet creation * fix: asset preview types * fix: fm search unicode text * fix: feed identity and stamp usage * fix: ui display changes * fix: stamp buy and dilute * fix: vite polyfill warning for stream * fix: standard mode postage stamp purchase reserves incorrect size and duration * fix: add syncing message for Bee node and update page state handling * refactor: stamp depth and amount validation --------- Co-authored-by: Balint Ujvari <balint.ujvari@solarpunk.buzz> Co-authored-by: Bálint Ujvári <58116288+bosi95@users.noreply.github.com> Co-authored-by: rolandlor <33499567+rolandlor@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -3,10 +3,10 @@ import { debounce } from '@mui/material'
|
||||
import { Contract, JsonRpcProvider, TransactionReceipt, TransactionResponse, Wallet } from 'ethers'
|
||||
|
||||
import { BZZ_TOKEN_ADDRESS, bzzABI } from './bzzAbi'
|
||||
import { ethAddressString, newGnosisProvider } from './chain'
|
||||
import { ethAddressString, newGnosisProvider, newGnosisProviderForValidation } from './chain'
|
||||
|
||||
async function getNetworkChainId(url: string): Promise<bigint> {
|
||||
const provider = newGnosisProvider(url)
|
||||
const provider = newGnosisProviderForValidation(url)
|
||||
const network = await provider.getNetwork()
|
||||
|
||||
return network.chainId
|
||||
|
||||
Reference in New Issue
Block a user