You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* properly ignore files for biome
* add explicit checks
* remove broken link and use next steps directive (#1055)
* update redirects for clarinet and token metadata api (#1058)
@@ -265,7 +265,7 @@ We'll create a "Benjamin Club" - an exclusive NFT that costs exactly $100 worth
265
265
266
266
<Step>
267
267
### Test your implementation
268
-
268
+
269
269
Write comprehensive tests using Clarinet:
270
270
271
271
```typescript tests/benjamin-club.test.ts
@@ -343,7 +343,7 @@ try {
343
343
Batch multiple price updates when possible:
344
344
345
345
```clarity
346
-
(define-public (update-multiple-prices
346
+
(define-public (update-multiple-prices
347
347
(btc-vaa (buff 8192))
348
348
(eth-vaa (buff 8192))
349
349
(stx-vaa (buff 8192)))
@@ -362,14 +362,14 @@ Batch multiple price updates when possible:
362
362
Ensure you're fetching VAA data with `binary: true` option and converting from base64 to hex correctly. The VAA must be recent (typically within 5 minutes).
363
363
</AccordionContent>
364
364
</AccordionItem>
365
-
365
+
366
366
<AccordionItemvalue="price-conversion">
367
367
<AccordionTrigger>Price calculations are incorrect</AccordionTrigger>
368
368
<AccordionContent>
369
369
Check that you're handling the exponent correctly. Pyth uses fixed-point representation where the actual price = raw_price * 10^exponent. For negative exponents, divide by 10^(-exponent).
370
370
</AccordionContent>
371
371
</AccordionItem>
372
-
372
+
373
373
<AccordionItemvalue="gas-issues">
374
374
<AccordionTrigger>Transaction runs out of gas</AccordionTrigger>
375
375
<AccordionContent>
@@ -408,22 +408,9 @@ Batch multiple price updates when possible:
0 commit comments