Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade [email protected] #3052

Merged
merged 8 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 `[email protected]`
maschad marked this conversation as resolved.
Show resolved Hide resolved
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"
Loading