Skip to content

Commit

Permalink
chore: upgrade fuel-core@0.35.0 (#3052)
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad authored Sep 3, 2024
1 parent a0bb25f commit b00fd02
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .changeset/moody-masks-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"create-fuels": patch
"@fuel-ts/versions": patch
"@fuel-ts/account": patch
---

chore: upgrade `fuel-core@0.35.0`
2 changes: 1 addition & 1 deletion internal/fuel-core/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.34.0
0.35.0
32 changes: 32 additions & 0 deletions packages/account/src/providers/fuel-core-schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,9 @@ type Query {
"""
id: RelayedTransactionId!
): RelayedTransactionStatus
consensusParameters(version: Int!): ConsensusParameters!
stateTransitionBytecodeByVersion(version: Int!): StateTransitionBytecode
stateTransitionBytecodeByRoot(root: HexString!): StateTransitionBytecode!
}

type Receipt {
Expand Down Expand Up @@ -1219,6 +1222,11 @@ type SqueezedOutStatus {
reason: String!
}

type StateTransitionBytecode {
root: HexString!
bytecode: UploadedBytecode!
}

type StateTransitionPurpose {
root: Bytes32!
}
Expand Down Expand Up @@ -1253,6 +1261,13 @@ type Subscription {
Submits transaction to the `TxPool` and await either confirmation or failure.
"""
submitAndAwait(tx: HexString!): TransactionStatus!

"""
Submits the transaction to the `TxPool` and returns a stream of events.
Compared to the `submitAndAwait`, the stream also contains `
SubmittedStatus` as an intermediate state.
"""
submitAndAwaitStatus(tx: HexString!): TransactionStatus!
}

type SuccessStatus {
Expand Down Expand Up @@ -1375,6 +1390,23 @@ scalar U64

union UpgradePurpose = ConsensusParametersPurpose | StateTransitionPurpose

type UploadedBytecode {
"""
Combined bytecode of all uploaded subsections.
"""
bytecode: HexString!

"""
Number of uploaded subsections (if incomplete).
"""
uploadedSubsectionsNumber: Int

"""
Indicates if the bytecode upload is complete.
"""
completed: Boolean!
}

scalar UtxoId

type VariableOutput {
Expand Down
2 changes: 1 addition & 1 deletion packages/account/src/providers/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ describe('Provider', () => {

const version = await provider.getVersion();

expect(version).toEqual('0.34.0');
expect(version).toEqual('0.35.0');
});

it('can call()', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/versions/src/lib/getBuiltinVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Versions } from './types';
export function getBuiltinVersions(): Versions {
return {
FORC: '0.63.3',
FUEL_CORE: '0.34.0',
FUEL_CORE: '0.35.0',
FUELS: '0.94.3',
};
}
2 changes: 1 addition & 1 deletion templates/nextjs/sway-programs/fuel-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channel = "testnet"

[components]
forc = "0.63.3"
fuel-core = "0.34.0"
fuel-core = "0.35.0"
2 changes: 1 addition & 1 deletion templates/vite/sway-programs/fuel-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channel = "testnet"

[components]
forc = "0.63.3"
fuel-core = "0.34.0"
fuel-core = "0.35.0"

0 comments on commit b00fd02

Please sign in to comment.