Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
friedger committed Feb 13, 2024
1 parent 68ccf8d commit 85d50a9
Show file tree
Hide file tree
Showing 107 changed files with 1,308 additions and 1,308 deletions.
24 changes: 12 additions & 12 deletions tests/integration/clarity/natives/buff-to-int-be.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ describe("buff-to-int-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(block.bitcoin_anchor_block_identifier.index).toBeLessThanOrEqual(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`,
);
expect(tx.success).toBeFalsy();
});
Expand All @@ -81,7 +81,7 @@ describe("buff-to-int-be", () => {
beforeAll(async () => {
// Wait for 2.1 to go live
await orchestrator.waitForStacksBlockAnchoredOnBitcoinBlockOfHeight(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
await orchestrator.waitForNextStacksBlock();
});
Expand Down Expand Up @@ -111,10 +111,10 @@ describe("buff-to-int-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`,
);
expect(tx.success).toBeTruthy();
});
Expand Down Expand Up @@ -145,10 +145,10 @@ describe("buff-to-int-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`,
);
expect(tx.result).toBe("(ok 1)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -180,10 +180,10 @@ describe("buff-to-int-be", () => {
// Wait for the transaction to be processed
let [_, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`,
);
expect(tx.result).toBe("(ok -1)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -215,10 +215,10 @@ describe("buff-to-int-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`,
);
expect(tx.result).toBe("(ok 0)");
expect(tx.success).toBeTruthy();
Expand Down
24 changes: 12 additions & 12 deletions tests/integration/clarity/natives/buff-to-int-le.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ describe("buff-to-int-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(block.bitcoin_anchor_block_identifier.index).toBeLessThanOrEqual(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`,
);
expect(tx.success).toBeFalsy();
});
Expand All @@ -84,7 +84,7 @@ describe("buff-to-int-le", () => {
beforeAll(async () => {
// Wait for 2.1 to go live
await orchestrator.waitForStacksBlockAnchoredOnBitcoinBlockOfHeight(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
await orchestrator.waitForNextStacksBlock();
});
Expand Down Expand Up @@ -114,10 +114,10 @@ describe("buff-to-int-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`,
);
expect(tx.success).toBeTruthy();
});
Expand Down Expand Up @@ -148,10 +148,10 @@ describe("buff-to-int-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`,
);
expect(tx.result).toBe("(ok 1)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -184,10 +184,10 @@ describe("buff-to-int-le", () => {
// Wait for the transaction to be processed
let [_, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`,
);
expect(tx.result).toBe("(ok -1)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -220,10 +220,10 @@ describe("buff-to-int-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`,
);
expect(tx.result).toBe("(ok 0)");
expect(tx.success).toBeTruthy();
Expand Down
24 changes: 12 additions & 12 deletions tests/integration/clarity/natives/buff-to-uint-be.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ describe("buff-to-uint-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(block.bitcoin_anchor_block_identifier.index).toBeLessThanOrEqual(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`,
);
expect(tx.success).toBeFalsy();
});
Expand All @@ -82,7 +82,7 @@ describe("buff-to-uint-be", () => {
beforeAll(async () => {
// Wait for 2.1 to go live
await orchestrator.waitForStacksBlockAnchoredOnBitcoinBlockOfHeight(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
await orchestrator.waitForNextStacksBlock();
});
Expand Down Expand Up @@ -112,10 +112,10 @@ describe("buff-to-uint-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`,
);
expect(tx.success).toBeTruthy();
});
Expand Down Expand Up @@ -146,10 +146,10 @@ describe("buff-to-uint-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`,
);
expect(tx.result).toBe("(ok u1)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -181,10 +181,10 @@ describe("buff-to-uint-be", () => {
// Wait for the transaction to be processed
let [_, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`,
);
expect(tx.result).toBe("(ok u340282366920938463463374607431768211455)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -216,10 +216,10 @@ describe("buff-to-uint-be", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`,
);
expect(tx.result).toBe("(ok u0)");
expect(tx.success).toBeTruthy();
Expand Down
24 changes: 12 additions & 12 deletions tests/integration/clarity/natives/buff-to-uint-le.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ describe("buff-to-uint-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(block.bitcoin_anchor_block_identifier.index).toBeLessThanOrEqual(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`,
);
expect(tx.success).toBeFalsy();
});
Expand All @@ -82,7 +82,7 @@ describe("buff-to-uint-le", () => {
beforeAll(async () => {
// Wait for 2.1 to go live
await orchestrator.waitForStacksBlockAnchoredOnBitcoinBlockOfHeight(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
await orchestrator.waitForNextStacksBlock();
});
Expand Down Expand Up @@ -112,10 +112,10 @@ describe("buff-to-uint-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`,
);
expect(tx.success).toBeTruthy();
});
Expand Down Expand Up @@ -146,10 +146,10 @@ describe("buff-to-uint-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`,
);
expect(tx.result).toBe("(ok u1)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -181,10 +181,10 @@ describe("buff-to-uint-le", () => {
// Wait for the transaction to be processed
let [_, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-2()`,
);
expect(tx.result).toBe("(ok u340282366920938463463374607431768211455)");
expect(tx.success).toBeTruthy();
Expand Down Expand Up @@ -216,10 +216,10 @@ describe("buff-to-uint-le", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-3()`,
);
expect(tx.result).toBe("(ok u0)");
expect(tx.success).toBeTruthy();
Expand Down
16 changes: 8 additions & 8 deletions tests/integration/clarity/natives/chain-id.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ describe("chain-id", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(block.bitcoin_anchor_block_identifier.index).toBeLessThanOrEqual(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-05`,
);
expect(tx.success).toBeFalsy();
});
Expand All @@ -80,7 +80,7 @@ describe("chain-id", () => {
beforeAll(async () => {
// Wait for 2.1 to go live
await orchestrator.waitForStacksBlockAnchoredOnBitcoinBlockOfHeight(
Constants.DEVNET_DEFAULT_EPOCH_2_1
Constants.DEVNET_DEFAULT_EPOCH_2_1,
);
await orchestrator.waitForNextStacksBlock();
});
Expand Down Expand Up @@ -110,10 +110,10 @@ describe("chain-id", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`
`deployed: ${Accounts.DEPLOYER.stxAddress}.test-2-1`,
);
expect(tx.success).toBeTruthy();
});
Expand Down Expand Up @@ -144,10 +144,10 @@ describe("chain-id", () => {
// Wait for the transaction to be processed
let [block, tx] = await waitForStacksTransaction(
orchestrator,
transaction.txid()
transaction.txid(),
);
expect(tx.description).toBe(
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`
`invoked: ${Accounts.DEPLOYER.stxAddress}.test-2-1::test-1()`,
);
expect(tx.result).toBe("(ok u2147483648)");
expect(tx.success).toBeTruthy();
Expand Down
Loading

0 comments on commit 85d50a9

Please sign in to comment.