You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And run through node --loader ts-node/esm localNode.ts
Expected Behavior
Launch a local fuel-core test node.
Actual Behavior
Errors out with
_FuelError: Unknown field "alocDependentCost" on type"GasCosts".
at responseMiddleware (file:///Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/node_modules/@fuel-ts/account/dist/test-utils.mjs:3898:19)
at /Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/node_modules/graphql-request/dist/index.js:284:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Provider.fetchChain (file:///Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/node_modules/@fuel-ts/account/dist/test-utils.mjs:3964:23)
at async _Provider.fetchChainAndNodeInfo (file:///Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/node_modules/@fuel-ts/account/dist/test-utils.mjs:3862:19)
at async _Provider.create (file:///Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/node_modules/@fuel-ts/account/dist/test-utils.mjs:3793:5)
at async setupTestProviderAndWallets (file:///Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/node_modules/@fuel-ts/account/dist/test-utils.mjs:8995:16)
at async launchTestNode (file:///Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/node_modules/@fuel-ts/contract/dist/test-utils.mjs:69:42)
at async file:///Users/calvin/Documents/DO/0172_Props/projects/fuel/fuel-scripts/localNode.ts:6:30 {
VERSIONS: { FORC: '0.60.0', FUEL_CORE: '0.30.0', FUELS: '0.90.0' },
metadata: {},
code: 'invalid-request'
}
The text was updated successfully, but these errors were encountered:
@nedsalk interesting! My error code returned 0.30.0 but fuel-core --version returned 0.26.0!
How do I separately update fuel-core? I have not seen instructions in the docs. Thx!
@xpluscal the best way to go about this until the latest tag issue is sorted out is for you to setup a custom toolchain: fuelup toolchain new my_toolchain && fuelup component add [email protected] && fuelup component add [email protected].
This will work with version 0.90.0 of the TS SDK. Version 0.91.0 will be released soon, at which point I suggest you update forc to 0.61.1: fuelup component add [email protected].
What version of fuels-ts are you using?
0.90.0
Steps to Reproduce
Create nodejs test script:
And run through
node --loader ts-node/esm localNode.ts
Expected Behavior
Launch a local fuel-core test node.
Actual Behavior
Errors out with
The text was updated successfully, but these errors were encountered: