@@ -23,7 +23,7 @@ Verify your Compact installation:
2323
2424``` bash
2525$ compact compile --version
26- Compactc version: 0.26 .0
26+ Compactc version: 0.28 .0
2727```
2828
2929## Binaries
@@ -52,7 +52,7 @@ compact-compiler [options]
5252| ` --out <directory> ` | Output directory for compiled artifacts | ` artifacts ` |
5353| ` --hierarchical ` | Preserve source directory structure in output | ` false ` |
5454| ` --skip-zk ` | Skip zero-knowledge proof generation | ` false ` |
55- | ` +<version> ` | Use specific toolchain version (e.g., ` +0.26 .0 ` ) | (default) |
55+ | ` +<version> ` | Use specific toolchain version (e.g., ` +0.28 .0 ` ) | (default) |
5656
5757### Environment Variables
5858
@@ -102,7 +102,7 @@ compact-compiler --dir security
102102compact-compiler --skip-zk
103103
104104# Use specific toolchain version
105- compact-compiler +0.26 .0
105+ compact-compiler +0.28 .0
106106
107107# Custom source and output directories
108108compact-compiler --src contracts --out build
@@ -155,7 +155,7 @@ import { CompactCompiler } from '@openzeppelin/compact-tools-cli';
155155const compiler = new CompactCompiler ({
156156 flags: ' --skip-zk' ,
157157 targetDir: ' security' ,
158- version: ' 0.26 .0' ,
158+ version: ' 0.28 .0' ,
159159 hierarchical: true ,
160160 srcDir: ' src' ,
161161 outDir: ' artifacts' ,
@@ -167,7 +167,7 @@ await compiler.compile();
167167const compiler = CompactCompiler .fromArgs ([
168168 ' --dir' , ' security' ,
169169 ' --skip-zk' ,
170- ' +0.26 .0'
170+ ' +0.28 .0'
171171]);
172172
173173await compiler .compile ();
@@ -196,7 +196,7 @@ class CompactBuilder {
196196interface CompilerOptions {
197197 flags? : string ; // Compiler flags (e.g., '--skip-zk --verbose')
198198 targetDir? : string ; // Subdirectory within srcDir to compile
199- version? : string ; // Toolchain version (e.g., '0.26 .0')
199+ version? : string ; // Toolchain version (e.g., '0.28 .0')
200200 hierarchical? : boolean ; // Preserve directory structure in output
201201 srcDir? : string ; // Source directory (default: 'src')
202202 outDir? : string ; // Output directory (default: 'artifacts')
@@ -233,15 +233,15 @@ yarn clean
233233
234234## Output Example
235235
236- ```
236+ ``` bash
237237ℹ [COMPILE] Compact compiler started
238- ℹ [COMPILE] Compact developer tools: compact 0.1 .0
239- ℹ [COMPILE] Compact toolchain: Compactc version: 0.26 .0
238+ ℹ [COMPILE] Compact developer tools: compact 0.2 .0
239+ ℹ [COMPILE] Compact toolchain: Compactc version: 0.28 .0
240240ℹ [COMPILE] Found 2 .compact file(s) to compile
241241✔ [COMPILE] [1/2] Compiled AccessControl.compact
242- Compactc version: 0.26 .0
242+ Compactc version: 0.28 .0
243243✔ [COMPILE] [2/2] Compiled Token.compact
244- Compactc version: 0.26 .0
244+ Compactc version: 0.28 .0
245245```
246246
247247## License
0 commit comments