diff --git a/Clarinet.toml b/Clarinet.toml index 0343f19..0d45bcb 100644 --- a/Clarinet.toml +++ b/Clarinet.toml @@ -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'] diff --git a/contracts/counter.clar b/contracts/counter.clar index cd41294..b9dcec1 100644 --- a/contracts/counter.clar +++ b/contracts/counter.clar @@ -13,7 +13,7 @@ (define-read-only (get-count-at-block (block uint)) (ok (at-block - (unwrap! (get-block-info? id-header-hash block) ERR_BLOCK_NOT_FOUND) + (unwrap! (get-stacks-block-info? id-header-hash block) ERR_BLOCK_NOT_FOUND) (var-get count) )) ) diff --git a/deployments/default.devnet-plan.yaml b/deployments/default.devnet-plan.yaml index 424a21c..59fb312 100644 --- a/deployments/default.devnet-plan.yaml +++ b/deployments/default.devnet-plan.yaml @@ -11,8 +11,8 @@ plan: - contract-publish: contract-name: counter expected-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM - cost: 10760 + cost: 10830 path: contracts/counter.clar anchor-block-only: true - clarity-version: 2 - epoch: "2.5" + clarity-version: 3 + epoch: "3.0" diff --git a/settings/Devnet.toml b/settings/Devnet.toml index 10ca3e1..c6410d5 100644 --- a/settings/Devnet.toml +++ b/settings/Devnet.toml @@ -76,10 +76,6 @@ balance = 100_000_000_000_000 disable_stacks_explorer = false disable_stacks_api = false bitcoin_controller_block_time = 6000 -# 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" # disable_bitcoin_explorer = true # working_dir = "tmp/devnet" @@ -113,7 +109,7 @@ 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]]