Skip to content

Commit 11b9013

Browse files
committed
fix: test tx types
1 parent 81254f8 commit 11b9013

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/tests/datastore-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2483,7 +2483,7 @@ describe('postgres datastore', () => {
24832483
execution_cost_write_count: 0,
24842484
execution_cost_write_length: 0,
24852485
};
2486-
const tx: DbTx = {
2486+
const tx: DbTxRaw = {
24872487
tx_id: '0x421234',
24882488
tx_index: 4,
24892489
anchor_mode: 3,

src/tests/mempool-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ describe('mempool tests', () => {
191191
test('fetch mempool-tx - versioned smart contract', async () => {
192192
const block = new TestBlockBuilder().addTx().build();
193193
await db.update(block);
194-
const mempoolTx: DbMempoolTx = {
194+
const mempoolTx: DbMempoolTxRaw = {
195195
pruned: false,
196196
tx_id: '0x8912000000000000000000000000000000000000000000000000000000000000',
197197
anchor_mode: 3,

src/tests/smart-contract-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ describe('smart contract tests', () => {
315315
source_code: '(some-contract-src)',
316316
abi: '{"some-abi":1}',
317317
};
318-
const tx1: DbTx = {
318+
const tx1: DbTxRaw = {
319319
tx_id: txId1,
320320
tx_index: 0,
321321
anchor_mode: 3,

src/tests/tx-tests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ describe('tx tests', () => {
191191
source_code: '(some-versioned-contract-src)',
192192
abi: '{"some-abi":1}',
193193
};
194-
const dbTx3: DbTx = {
194+
const dbTx3: DbTxRaw = {
195195
tx_id: versionedSmartContract1.tx_id,
196196
anchor_mode: 3,
197197
nonce: 1000,
@@ -1121,7 +1121,7 @@ describe('tx tests', () => {
11211121
execution_cost_write_count: 0,
11221122
execution_cost_write_length: 0,
11231123
};
1124-
const dbTx: DbTx = {
1124+
const dbTx: DbTxRaw = {
11251125
tx_id: '0x421234',
11261126
tx_index: 0,
11271127
anchor_mode: 3,

0 commit comments

Comments
 (0)