Skip to content

Commit be569a7

Browse files
authored
feat: only deploy with latest Clarity version (#2835)
1 parent 127656c commit be569a7

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/app/sandbox/deploy/LeftSection.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ export function LeftSection() {
113113
</Stack>
114114
<Stack gap={2}>
115115
<Text fontSize="xs" as="p">
116-
The sandbox only supports Clarity 4 deployments. To deploy using a different version,
117-
please use{' '}
116+
The sandbox only supports deploying in the latest Clarity version. To deploy using a
117+
different version, please use{' '}
118118
<TextLink
119119
display="inline"
120120
href="https://docs.stacks.co/clarinet/contract-deployment"

‎src/app/sandbox/utils/walletTransactions.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,12 @@ export const transferStx = async (params: {
5252
export const deployContract = async (params: {
5353
name: string;
5454
clarityCode: string;
55-
clarityVersion?: number;
5655
network?: string;
5756
}) => {
5857
try {
5958
const response = await request('stx_deployContract', {
6059
name: params.name,
6160
clarityCode: params.clarityCode,
62-
clarityVersion: params.clarityVersion || 4,
6361
network: params.network || 'mainnet',
6462
postConditionMode: 'allow',
6563
});

0 commit comments

Comments
 (0)