@fuel-ts/account 0.0.0-rc-2432-20240610171540 → 0.0.0-rc-2491-20240611075910

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @fuel-ts/account might be problematic. Click here for more details.

@@ -67,6 +67,7 @@ export type GqlBlock = {
67
67
  height: Scalars['U32'];
68
68
  id: Scalars['BlockId'];
69
69
  transactions: Array<GqlTransaction>;
70
+ version: GqlBlockVersion;
70
71
  };
71
72
  export type GqlBlockConnection = {
72
73
  /** A list of edges. */
@@ -83,6 +84,9 @@ export type GqlBlockEdge = {
83
84
  /** The item at the end of the edge */
84
85
  node: GqlBlock;
85
86
  };
87
+ export declare enum GqlBlockVersion {
88
+ V1 = "V1"
89
+ }
86
90
  /** Breakpoint, defined as a tuple of contract ID and relative PC offset inside it */
87
91
  export type GqlBreakpoint = {
88
92
  contract: Scalars['ContractId'];
@@ -256,6 +260,7 @@ export type GqlGasCosts = {
256
260
  add: Scalars['U64'];
257
261
  addi: Scalars['U64'];
258
262
  aloc: Scalars['U64'];
263
+ alocDependentCost: GqlDependentCost;
259
264
  and: Scalars['U64'];
260
265
  andi: Scalars['U64'];
261
266
  bal: Scalars['U64'];
@@ -410,7 +415,12 @@ export type GqlHeader = {
410
415
  transactionsCount: Scalars['U16'];
411
416
  /** Merkle root of transactions. */
412
417
  transactionsRoot: Scalars['Bytes32'];
418
+ /** Version of the header */
419
+ version: GqlHeaderVersion;
413
420
  };
421
+ export declare enum GqlHeaderVersion {
422
+ V1 = "V1"
423
+ }
414
424
  export type GqlHeavyOperation = {
415
425
  base: Scalars['U64'];
416
426
  gasPerUnit: Scalars['U64'];
@@ -555,6 +565,7 @@ export type GqlMutationContinueTxArgs = {
555
565
  id: Scalars['ID'];
556
566
  };
557
567
  export type GqlMutationDryRunArgs = {
568
+ gasPrice?: InputMaybe<Scalars['U64']>;
558
569
  txs: Array<Scalars['HexString']>;
559
570
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
560
571
  };
@@ -1473,6 +1484,7 @@ export type GqlMessageProofFragment = {
1473
1484
  proofIndex: string;
1474
1485
  };
1475
1486
  messageBlockHeader: {
1487
+ version: GqlHeaderVersion;
1476
1488
  id: string;
1477
1489
  daHeight: string;
1478
1490
  consensusParametersVersion: string;
@@ -1488,6 +1500,7 @@ export type GqlMessageProofFragment = {
1488
1500
  applicationHash: string;
1489
1501
  };
1490
1502
  commitBlockHeader: {
1503
+ version: GqlHeaderVersion;
1491
1504
  id: string;
1492
1505
  daHeight: string;
1493
1506
  consensusParametersVersion: string;
@@ -1641,6 +1654,15 @@ export type GqlGasCostsFragment = {
1641
1654
  xor: string;
1642
1655
  xori: string;
1643
1656
  newStoragePerByte: string;
1657
+ alocDependentCost: {
1658
+ base: string;
1659
+ gasPerUnit: string;
1660
+ type: 'HeavyOperation';
1661
+ } | {
1662
+ base: string;
1663
+ unitsPerGas: string;
1664
+ type: 'LightOperation';
1665
+ };
1644
1666
  call: {
1645
1667
  base: string;
1646
1668
  gasPerUnit: string;
@@ -1957,6 +1979,15 @@ export type GqlConsensusParametersFragment = {
1957
1979
  xor: string;
1958
1980
  xori: string;
1959
1981
  newStoragePerByte: string;
1982
+ alocDependentCost: {
1983
+ base: string;
1984
+ gasPerUnit: string;
1985
+ type: 'HeavyOperation';
1986
+ } | {
1987
+ base: string;
1988
+ unitsPerGas: string;
1989
+ type: 'LightOperation';
1990
+ };
1960
1991
  call: {
1961
1992
  base: string;
1962
1993
  gasPerUnit: string;
@@ -2287,6 +2318,15 @@ export type GqlChainInfoFragment = {
2287
2318
  xor: string;
2288
2319
  xori: string;
2289
2320
  newStoragePerByte: string;
2321
+ alocDependentCost: {
2322
+ base: string;
2323
+ gasPerUnit: string;
2324
+ type: 'HeavyOperation';
2325
+ } | {
2326
+ base: string;
2327
+ unitsPerGas: string;
2328
+ type: 'LightOperation';
2329
+ };
2290
2330
  call: {
2291
2331
  base: string;
2292
2332
  gasPerUnit: string;
@@ -2664,6 +2704,15 @@ export type GqlGetChainQuery = {
2664
2704
  xor: string;
2665
2705
  xori: string;
2666
2706
  newStoragePerByte: string;
2707
+ alocDependentCost: {
2708
+ base: string;
2709
+ gasPerUnit: string;
2710
+ type: 'HeavyOperation';
2711
+ } | {
2712
+ base: string;
2713
+ unitsPerGas: string;
2714
+ type: 'LightOperation';
2715
+ };
2667
2716
  call: {
2668
2717
  base: string;
2669
2718
  gasPerUnit: string;
@@ -3589,6 +3638,7 @@ export type GqlGetMessageProofQuery = {
3589
3638
  proofIndex: string;
3590
3639
  };
3591
3640
  messageBlockHeader: {
3641
+ version: GqlHeaderVersion;
3592
3642
  id: string;
3593
3643
  daHeight: string;
3594
3644
  consensusParametersVersion: string;
@@ -3604,6 +3654,7 @@ export type GqlGetMessageProofQuery = {
3604
3654
  applicationHash: string;
3605
3655
  };
3606
3656
  commitBlockHeader: {
3657
+ version: GqlHeaderVersion;
3607
3658
  id: string;
3608
3659
  daHeight: string;
3609
3660
  consensusParametersVersion: string;
@@ -3640,6 +3691,7 @@ export type GqlGetRelayedTransactionStatusQuery = {
3640
3691
  export type GqlDryRunMutationVariables = Exact<{
3641
3692
  encodedTransactions: Array<Scalars['HexString']> | Scalars['HexString'];
3642
3693
  utxoValidation?: InputMaybe<Scalars['Boolean']>;
3694
+ gasPrice?: InputMaybe<Scalars['U64']>;
3643
3695
  }>;
3644
3696
  export type GqlDryRunMutation = {
3645
3697
  dryRun: Array<{