Skip to content

Commit cf8cef9

Browse files
author
Aaron Blankstein
committed
smooth similar runtimes to same value, bump cost_principal_of to hash160(32)
1 parent 2103e9f commit cf8cef9

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/chainstate/stacks/boot/costs-2.clar

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
(runtime u200))
150150

151151
(define-read-only (cost_asserts (n uint))
152-
(runtime u158))
152+
(runtime u170))
153153

154154
(define-read-only (cost_map (n uint))
155155
(runtime (linear n u1210 u3314)))
@@ -185,10 +185,10 @@
185185
(runtime (nlogn n u11 u1101)))
186186

187187
(define-read-only (cost_add (n uint))
188-
(runtime (linear n u12 u156)))
188+
(runtime (linear n u14 u157)))
189189

190190
(define-read-only (cost_sub (n uint))
191-
(runtime (linear n u12 u156)))
191+
(runtime (linear n u14 u157)))
192192

193193
(define-read-only (cost_mul (n uint))
194194
(runtime (linear n u14 u157)))
@@ -197,37 +197,37 @@
197197
(runtime (linear n u14 u157)))
198198

199199
(define-read-only (cost_geq (n uint))
200-
(runtime u166))
200+
(runtime u170))
201201

202202
(define-read-only (cost_leq (n uint))
203-
(runtime u166))
203+
(runtime u170))
204204

205205
(define-read-only (cost_le (n uint))
206-
(runtime u166))
206+
(runtime u170))
207207

208208
(define-read-only (cost_ge (n uint))
209-
(runtime u166))
209+
(runtime u170))
210210

211211
(define-read-only (cost_int_cast (n uint))
212-
(runtime u164))
212+
(runtime u170))
213213

214214
(define-read-only (cost_mod (n uint))
215-
(runtime u168))
215+
(runtime u170))
216216

217217
(define-read-only (cost_pow (n uint))
218218
(runtime u170))
219219

220220
(define-read-only (cost_sqrti (n uint))
221-
(runtime u167))
221+
(runtime u170))
222222

223223
(define-read-only (cost_log2 (n uint))
224-
(runtime u161))
224+
(runtime u170))
225225

226226
(define-read-only (cost_xor (n uint))
227-
(runtime u167))
227+
(runtime u170))
228228

229229
(define-read-only (cost_not (n uint))
230-
(runtime u162))
230+
(runtime u170))
231231

232232
(define-read-only (cost_eq (n uint))
233233
(runtime (linear n u7 u172)))
@@ -269,10 +269,10 @@
269269
(runtime u230))
270270

271271
(define-read-only (cost_default_to (n uint))
272-
(runtime u249))
272+
(runtime u287))
273273

274274
(define-read-only (cost_unwrap_ret (n uint))
275-
(runtime u299))
275+
(runtime u339))
276276

277277
(define-read-only (cost_unwrap_err_or_ret (n uint))
278278
(runtime u339))
@@ -290,16 +290,16 @@
290290
(runtime u287))
291291

292292
(define-read-only (cost_unwrap (n uint))
293-
(runtime u284))
293+
(runtime u287))
294294

295295
(define-read-only (cost_unwrap_err (n uint))
296-
(runtime u264))
296+
(runtime u287))
297297

298298
(define-read-only (cost_try_ret (n uint))
299-
(runtime u256))
299+
(runtime u287))
300300

301301
(define-read-only (cost_match (n uint))
302-
(runtime u286))
302+
(runtime u287))
303303

304304
(define-read-only (cost_or (n uint))
305305
(runtime (linear n u3 u149)))
@@ -323,7 +323,7 @@
323323
(runtime u13400))
324324

325325
(define-read-only (cost_principal_of (n uint))
326-
(runtime u39))
326+
(runtime u235))
327327

328328

329329
(define-read-only (cost_at_block (n uint))

0 commit comments

Comments
 (0)