Skip to content

Commit aaf0882

Browse files
committed
docs: add changeset
1 parent bc4c082 commit aaf0882

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.changeset/nice-tips-learn.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
"@evolution-sdk/devnet": patch
3+
"@evolution-sdk/evolution": patch
4+
---
5+
6+
### Core Module Enhancements
7+
8+
**Mint Module**
9+
- Added `Mint.getByHex()` and `Mint.getAssetsByPolicyHex()` utilities for hex-based lookups
10+
- Fixed `Mint.insert`, `removePolicy`, `removeAsset`, and `get` to use content-based equality (`Equal.equals`) instead of reference equality for PolicyId/AssetName lookups
11+
12+
**Fee Calculation**
13+
- Fixed `calculateFeeIteratively` to include mint field in fee calculation via TxContext access
14+
- Removed unnecessary 5000n fee buffer that caused fee overpayment
15+
16+
**Transaction Builder**
17+
- Added `.mint()` method to TransactionBuilder for native token minting/burning
18+
- `.attachScript()` now accepts `{ script: CoreScript }` parameter format
19+
- Improved type safety by using Core types directly instead of SDK wrappers
20+
21+
### Devnet Package
22+
23+
**Test Infrastructure**
24+
- Added `TxBuilder.Mint.test.ts` with devnet submit tests for minting and burning
25+
- Updated `TxBuilder.Scripts.test.ts` to use Core types (`PlutusV2.PlutusV2`) instead of SDK format
26+
- Refactored `createCoreTestUtxo` helper to accept Core `Script` types directly
27+
- Removed unused `createTestUtxo` (SDK format) helper
28+
- Added `Genesis.calculateUtxosFromConfig()` for retrieving initial UTxOs from genesis config
29+
- Replaced all `Buffer.from().toString("hex")` with `Text.toHex()` in tests
30+
31+
### Breaking Changes
32+
- `attachScript()` now requires `{ script: ... }` object format instead of passing script directly
33+
- Test helpers now use Core types exclusively

0 commit comments

Comments
 (0)