Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ugprade clarity-vscode version #11

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Clarinet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ requirements = []

[contracts.counter]
path = 'contracts/counter.clar'
clarity_version = 2
epoch = 2.5
clarity_version = 3
epoch = 3.0

[repl.analysis]
passes = ['check_checker']
Expand Down
7 changes: 0 additions & 7 deletions contracts/counter.clar
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
(var-get count)
)

(define-read-only (get-count-at-block (block uint))
(ok (at-block
(unwrap! (get-block-info? id-header-hash block) ERR_BLOCK_NOT_FOUND)
(var-get count)
))
)

(define-public (increment)
(begin
(try! (stx-transfer? (var-get cost) tx-sender (var-get contract-owner)))
Expand Down
6 changes: 3 additions & 3 deletions deployments/default.devnet-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ plan:
- contract-publish:
contract-name: counter
expected-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
cost: 10760
cost: 9070
path: contracts/counter.clar
anchor-block-only: true
clarity-version: 2
epoch: "2.5"
clarity-version: 3
epoch: "3.0"
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"author": "",
"license": "ISC",
"dependencies": {
"@hirosystems/clarinet-sdk": "^2.9.0",
"@stacks/transactions": "6.16.1",
"@hirosystems/clarinet-sdk": "^2.10.0",
"@stacks/transactions": "^6.17.0",
"chokidar-cli": "^3.0.0",
"typescript": "5.6.3",
"vite": "5.4.8",
"vite": "5.4.9",
"vitest": "^1.5.2",
"vitest-environment-clarinet": "^2.1.0"
}
Expand Down
14 changes: 7 additions & 7 deletions settings/Devnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ balance = 100_000_000_000_000
[devnet]
disable_stacks_explorer = false
disable_stacks_api = false
bitcoin_controller_block_time = 6000
bitcoin_controller_block_time = 1000
# stacks_node_image_url = "localhost:5001/stacks-node:local"
# stacks_signer_image_url = "localhost:5001/stacks-signer:local"
# stacks_node_image_url = "quay.io/hirosystems/stacks-node:devnet-2.5"
# stacks_signer_image_url = "quay.io/hirosystems/stacks-signer:devnet-2.5"
stacks_node_image_url = "quay.io/hirosystems/stacks-node:devnet2.9.0-epoch3.0"
stacks_signer_image_url = "quay.io/hirosystems/stacks-signer:devnet2.9.0-epoch3.0"

# disable_bitcoin_explorer = true
# working_dir = "tmp/devnet"
Expand Down Expand Up @@ -113,28 +113,28 @@ bitcoin_controller_block_time = 6000
# epoch_2_2 = 104
# epoch_2_3 = 105
# epoch_2_4 = 106
# epoch_3_0 = 124
epoch_3_0 = 144

# Send some stacking orders
[[devnet.pox_stacking_orders]]
start_at_cycle = 1
duration = 10
duration = 2
wallet = "wallet_1"
slots = 2
btc_address = "mr1iPkD9N3RJZZxXRk7xF9d36gffa6exNC"
auto_extend = true

[[devnet.pox_stacking_orders]]
start_at_cycle = 1
duration = 10
duration = 2
wallet = "wallet_2"
slots = 2
btc_address = "muYdXKmX9bByAueDe6KFfHd5Ff1gdN9ErG"
auto_extend = true

[[devnet.pox_stacking_orders]]
start_at_cycle = 1
duration = 10
duration = 2
wallet = "wallet_3"
slots = 2
btc_address = "mvZtbibDAAA3WLpY7zXXFqRa3T4XSknBX7"
Expand Down
Loading