Skip to content

Commit dbe375c

Browse files
committed
Merge branches 'beta-5' and 'main' of github.com:FuelLabs/fuel-explorer into beta-5
2 parents 29329c3 + 3d4b737 commit dbe375c

File tree

13 files changed

+318
-163
lines changed

13 files changed

+318
-163
lines changed

contracts/predicate/.env.example

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
FUEL_PROVIDER_URL=https://beta-4.fuel.network/graphql
2-
PRIVATE_KEY=
3-
1+
FUEL_PROVIDER_URL=https://beta-5.swayswap.io/graphql

contracts/predicate/scripts/run-predicate.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ import { BaseAssetId, Predicate, Provider, Wallet, bn, hexlify } from 'fuels';
22
import { promises as fs } from 'node:fs';
33
import { resolve } from 'node:path';
44

5-
const { FUEL_PROVIDER_URL, PRIVATE_KEY } = process.env;
5+
const { FUEL_PROVIDER_BETA5, PRIVATE_KEY } = process.env;
66
const BIN_PATH = resolve(__dirname, '../out/debug/predicate-app.bin');
77
const AMOUNT = 300_000;
88

9-
if (!FUEL_PROVIDER_URL || !PRIVATE_KEY) {
9+
if (!FUEL_PROVIDER_BETA5 || !PRIVATE_KEY) {
1010
throw new Error('Missing some config on your .env file');
1111
}
1212

1313
async function main() {
1414
const binHex = hexlify(await fs.readFile(BIN_PATH));
15-
const provider = await Provider.create(FUEL_PROVIDER_URL!);
15+
const provider = await Provider.create(FUEL_PROVIDER_BETA5!);
1616
const wallet = Wallet.fromPrivateKey(PRIVATE_KEY!, provider);
1717
const { minGasPrice: gasPrice } = wallet.provider.getGasConfig();
1818
const walletAddress = wallet.address.toB256();

deployment/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM node:20-slim AS base
44

55
# Expose the ENVs to the env of the container
66
ENV PORT="${PORT}"
7-
ENV FUEL_PROVIDER_URL="${FUEL_PROVIDER_URL}"
7+
ENV FUEL_PROVIDER_BETA5="${FUEL_PROVIDER_BETA5}"
88
ENV PNPM_HOME="/pnpm"
99
ENV PATH="$PNPM_HOME:$PATH"
1010

packages/app-explorer/src/systems/Core/components/Search/SearchForm.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import { styles } from './styles';
1010
type SearchFormProps = {
1111
className: string;
1212
autoFocus?: boolean;
13+
expandOnFocus?: boolean;
1314
};
1415

15-
export function SearchForm({ className, autoFocus }: SearchFormProps) {
16+
export function SearchForm({ className, autoFocus, expandOnFocus }: SearchFormProps) {
1617
const classes = styles();
1718
const [results, action] = useFormState(
1819
(_: SearchResult | null, formData: FormData) => {
@@ -29,6 +30,7 @@ export function SearchForm({ className, autoFocus }: SearchFormProps) {
2930
searchResult={results}
3031
autoFocus={autoFocus}
3132
onClear={onClear}
33+
expandOnFocus={expandOnFocus}
3234
/>
3335
</form>
3436
);

0 commit comments

Comments
 (0)