From 0133981b754eb00fdd641f70a37018ce5fcad981 Mon Sep 17 00:00:00 2001 From: krlosMata Date: Fri, 28 Feb 2020 08:33:19 +0100 Subject: [PATCH] define 4 bytes for FieldDef --- doc/r1cs_bin_format.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/r1cs_bin_format.md b/doc/r1cs_bin_format.md index fbe3ab0..a564772 100644 --- a/doc/r1cs_bin_format.md +++ b/doc/r1cs_bin_format.md @@ -152,9 +152,9 @@ Size in bytes of the section Section Type: 0x01 ```` - ┏━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ - ┃ 4 │ FieldDefSize ┃ FieldDef ┃ field Id - ┗━━━━┻━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + ┏━━━━┳━━━━━━━━━━━━━━━━━┳━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ + ┃ 4 │ FieldDefSize ┃ 4 ┃FieldDef ┃ field Id ┃ + ┗━━━━┻━━━━━━━━━━━━━━━━━┻━━━┻━━━━━━━━━┻━━━━━━━━━━━━━━━━┛ ┏━━━━┳━━━━━━━━━━━━━━━━━┓ ┃ 4 │ 00 00 00 00 ┃ bigInt Format ┗━━━━┻━━━━━━━━━━━━━━━━━┛ @@ -501,7 +501,7 @@ The format will be: ```` ┏━━━━━━━━━━━━━━┓ - ┃ 72 31 63 77 ┃ Magic + ┃ 72 31 63 73 ┃ Magic ┣━━━━━━━━━━━━━━┫ ┃ 01 00 00 00 ┃ Version ┣━━━━━━━━━━━━━━┫