-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: start cleaning up tests with latest changes
- Loading branch information
Showing
3 changed files
with
74 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Cl } from "@stacks/transactions"; | ||
import { describe, expect, it } from "vitest"; | ||
|
||
const accounts = simnet.getAccounts(); | ||
const address1 = accounts.get("wallet_1")!; | ||
const address2 = accounts.get("wallet_2")!; | ||
const addressDeployer = accounts.get("deployer")!; | ||
|
||
const contractAddress = `${addressDeployer}.aibtc-ext001-actions`; | ||
|
||
enum ErrCode { | ||
ERR_UNAUTHORIZED = 1000, | ||
ERR_NOT_DAO_OR_EXTENSION, | ||
ERR_NOT_INITIALIZED = 1100, | ||
ERR_ALREADY_INITIALIZED, | ||
ERR_TREASURY_MUST_BE_CONTRACT = 1200, | ||
ERR_TREASURY_CANNOT_BE_SELF, | ||
ERR_TREASURY_ALREADY_SET, | ||
ERR_TREASURY_MISMATCH, | ||
} | ||
|
||
const withdrawalAmount = 10000000; // 10 STX | ||
const withdrawalPeriod = 144; // 144 blocks | ||
|
||
describe("aibtc-ext001-actions", () => {}); |
Oops, something went wrong.