Skip to content

Commit

Permalink
feat: v3 tx hashes calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Nov 29, 2023
1 parent c2607ed commit f0e760d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export * as types from './types';
export * as constants from './constants';
export * as encode from './utils/encode';
export * as hash from './utils/hash';
export * as v3hash from './utils/v3hash';
export * as json from './utils/json';
export * as num from './utils/num';
export * as transaction from './utils/transaction';
Expand Down
7 changes: 7 additions & 0 deletions src/types/api/rpcspec_0_6/nonspec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
PENDING_STATE_UPDATE,
PENDING_TXN_RECEIPT,
REPLACED_CLASS,
RESOURCE_BOUNDS_MAPPING,
RESULT_PAGE_REQUEST,
SIMULATION_FLAG,
STATE_UPDATE,
Expand Down Expand Up @@ -86,6 +87,7 @@ export type TransactionStatus = {
finality_status: TXN_STATUS;
execution_status?: TXN_EXECUTION_STATUS;
};
export type ResourceBounds = RESOURCE_BOUNDS_MAPPING;

// Diff Than Seq
export type StorageDiffs = Array<CONTRACT_STORAGE_DIFF_ITEM>;
Expand Down Expand Up @@ -132,3 +134,8 @@ export enum EDataAvailabilityMode {
L1 = 'L1',
L2 = 'L2',
}

export enum EDAMode {
L1,
L2,
}

0 comments on commit f0e760d

Please sign in to comment.