Skip to content

Commit

Permalink
fix: re-sync the GraphQL schema
Browse files Browse the repository at this point in the history
  • Loading branch information
petertonysmith94 committed Jun 26, 2024
1 parent a6c45fd commit 865f763
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/account/src/providers/fuel-core-schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ type GasCosts {
xor: U64!
xori: U64!
alocDependentCost: DependentCost!
cfe: DependentCost!
cfeiDependentCost: DependentCost!
call: DependentCost!
ccp: DependentCost!
croo: DependentCost!
Expand Down
6 changes: 6 additions & 0 deletions packages/account/src/providers/operations.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,12 @@ fragment GasCostsFragment on GasCosts {
alocDependentCost {
...DependentCostFragment
}
cfe {
...DependentCostFragment
}
cfeiDependentCost {
...DependentCostFragment
}
call {
...DependentCostFragment
}
Expand Down
10 changes: 10 additions & 0 deletions packages/account/test/fixtures/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,16 @@ export const MOCK_CHAIN: GqlChainInfoFragment = {
base: '2',
unitsPerGas: '214',
},
cfe: {
type: 'HeavyOperation',
base: '2',
gasPerUnit: '0',
},
cfeiDependentCost: {
type: 'HeavyOperation',
base: '2',
gasPerUnit: '0',
},
call: {
type: 'LightOperation',
base: '144',
Expand Down
12 changes: 12 additions & 0 deletions packages/fuels/test/fixtures/project/.fuels/chainConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@
"unitsPerGas": "214"
}
},
"cfe": {
"HeavyOperation": {
"base": 2,
"gasPerUnit": 0
}
},
"cfeiDependentCost": {
"HeavyOperation": {
"base": 2,
"gasPerUnit": 0
}
},
"call": {
"LightOperation": {
"base": 21687,
Expand Down
12 changes: 12 additions & 0 deletions packages/utils/src/utils/defaultSnapshots/chainConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@
"unitsPerGas": "214"
}
},
"cfe": {
"HeavyOperation": {
"base": 2,
"gasPerUnit": 0
}
},
"cfeiDependentCost": {
"HeavyOperation": {
"base": 2,
"gasPerUnit": 0
}
},
"call": {
"LightOperation": {
"base": 18190,
Expand Down

0 comments on commit 865f763

Please sign in to comment.