Skip to content

Commit 4e1a79a

Browse files
authored
feat: update beta-4 (#61)
1 parent 6b50156 commit 4e1a79a

File tree

10 files changed

+222
-100
lines changed

10 files changed

+222
-100
lines changed

.github/workflows/helm-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- "helm/fuel-explorer/Chart.yaml"
8+
- 'helm/fuel-explorer/Chart.yaml'
99

1010
permissions:
1111
contents: read
@@ -33,4 +33,4 @@ jobs:
3333
username: ${{ github.repository_owner }}
3434
access-token: ${{ secrets.GITHUB_TOKEN }}
3535
force: true
36-
chart-folder: ./helm/fuel-explorer
36+
chart-folder: ./helm/fuel-explorer

.github/workflows/pr.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
- uses: FuelLabs/github-actions/setups/node@master
3131

3232
- name: Run Audit
33-
run: pnpm audit --prod
33+
# temporally avoid low severity vulnerabilities
34+
run: pnpm audit --prod --audit-level high
3435

3536
lint-and-test:
3637
name: Lint

.prettierignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ storybook
1515
**/storybook/**
1616
storybook-static
1717
**/storybook-static/**
18+
**/public/ui/**
19+
**/public/storybook/**
1820
.turbo
1921
pnpm-lock.yaml
2022
.next
2123
graphql.schema.json
22-
heml
24+
helm
25+
packages/graphql/src/schemas/*.graphql

packages/app/.env.example

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

packages/app/.env.production

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

packages/graphql/.env.production

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

packages/graphql/codegen.fuel.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const config: CodegenConfig = {
44
generates: {
55
'./src/schemas/fuelcore.graphql': {
66
schema:
7-
process.env.FUEL_PROVIDER_URL || 'http://beta-3.fuel.network/graphql',
7+
process.env.FUEL_PROVIDER_URL || 'http://beta-4.fuel.network/graphql',
88
plugins: ['schema-ast'],
99
config: {
1010
includeDirectives: true,

packages/graphql/src/domains/Output.ts

-12
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import type {
66
CoinOutput,
77
ContractCreated,
88
ContractOutput,
9-
MessageOutput,
109
TransactionItemFragment,
1110
VariableOutput,
1211
} from '../generated/types';
@@ -20,7 +19,6 @@ export class OutputDomain {
2019
return [
2120
...this.coinOutputs,
2221
...this.contractOutputs,
23-
...this.messageOutputs,
2422
...this.changeOutputs,
2523
...this.variableOutputs,
2624
...this.contractCreatedOutputs,
@@ -47,16 +45,6 @@ export class OutputDomain {
4745
});
4846
}
4947

50-
get messageOutputs() {
51-
const outputs = this._filterByTypename<MessageOutput>('MessageOutput');
52-
const entries = Object.entries(groupBy(outputs, (i) => i.recipient));
53-
return entries.map(([recipient, outputs]) => {
54-
const type = outputs[0].__typename;
55-
const totalAmount = this._getTotalAmount(outputs);
56-
return { recipient, type, outputs, totalAmount };
57-
});
58-
}
59-
6048
get changeOutputs() {
6149
const outputs = this._filterByTypename<ChangeOutput>('ChangeOutput');
6250
const entries = Object.entries(groupBy(outputs, (i) => i.assetId));

packages/graphql/src/queries/tx-fragments.graphql

-4
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ fragment TransactionOutput on Output {
6363
... on ContractOutput {
6464
inputIndex
6565
}
66-
... on MessageOutput {
67-
recipient
68-
amount
69-
}
7066
... on ChangeOutput {
7167
to
7268
amount

0 commit comments

Comments
 (0)