From 2cb9894615c6d69720bb526b5e0fba174e8b3aa8 Mon Sep 17 00:00:00 2001 From: Florian Date: Sat, 22 Feb 2025 15:03:50 +0700 Subject: [PATCH] test --- README-dev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-dev.md b/README-dev.md index beeb4b7e4..78d5cd73d 100644 --- a/README-dev.md +++ b/README-dev.md @@ -82,7 +82,7 @@ For the Wasm build, the output files are: ### Generated Constant Types -In addition to building the OCaml and Rust code, the build script also generates TypeScript types for constants used in the Mina protocol. These types are generated from the OCaml source files, and are located under `src/bindings/crypto/constants.ts` and `src/bindings/mina-transaction/gen`. When building the bindings, these constants are auto-generated by Dune. If you wish to add a new constant, you can edit the `src/bindings/ocaml/o1js_constants` file, and then run `npm run build:bindings` to regenerate the TypeScript files. +In addition to building the OCaml and Rust code, the build script also generates TypeScript types for constants used in the Mina protocol. These types are generated from the OCaml source files, and are located under `src/bindings/crypto/constants.ts` and `src/bindings/mina-transaction/gen`. When building the bindings, these constants are auto-generated by Dune. If you wish to add a new constant, you can edit the `src/bindings/ocaml/o1js_constants` file, and then run `npm run build:bindings` to regenerate the TypeScript files o1js uses these types to ensure that the constants used in the protocol are consistent with the OCaml source files.