Merge branch 'main' into ci

This commit is contained in:
friedger
2024-03-16 14:56:13 +01:00
67 changed files with 1153 additions and 745 deletions

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import {
MultiSigSpendingCondition,
StacksMessageType,

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import {
deserializeTransaction,
getNonce,

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash
#
# SPDX-License-Identifier: BUSL-1.1
set -euo pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import fs from "fs";
import { hexToBytes } from '@stacks/common';
import { AddressHashMode, TransactionVersion, addressFromHashMode, createStacksPrivateKey, publicKeyFromBytes } from "@stacks/transactions";

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import {
makeUnsignedContractDeploy,
StacksPublicKey,

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import { makeRandomPrivKey } from "@stacks/transactions";
import { bytesToHex } from '@stacks/common';

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import { AddressHashMode, AddressVersion, addressFromPublicKeys, addressToString, compressPublicKey, pubKeyfromPrivKey } from "@stacks/transactions";
import { getNetwork, getStacksPubkeys, loadConfig } from "./config.ts";
import { bytesToHex } from '@stacks/common';

7
scripts/prepare_tests.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
#
# SPDX-License-Identifier: BUSL-1.1
find . -type f -name "*.clar" -exec \
sed -i '' -e 's/SP000000000000000000002Q6VF78/ST000000000000000000002AMW42H/g' {} \;

View File

@@ -0,0 +1,7 @@
#!/bin/bash
#
# SPDX-License-Identifier: BUSL-1.1
find . -type f -name "*.clar" -exec \
sed -i 's/ST000000000000000000002AMW42H/SP000000000000000000002Q6VF78/g' {} \;

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import {
TransactionSigner,
compressPublicKey,

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: BUSL-1.1
import { Address, SpendingCondition, StacksPublicKey } from "@stacks/transactions";
import fs from "fs";