Skip to content

Commit

Permalink
Merge pull request #7 from colinnielsen/colinnielsen/publish-v0.10.0
Browse files Browse the repository at this point in the history
build: release v0.10.0
  • Loading branch information
colinnielsen authored Aug 22, 2023
2 parents a719c64 + e366659 commit e7531ba
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/noir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Noir

on:
push:
branches: [main]
pull_request:
branches: [main]

Expand All @@ -18,7 +19,7 @@ jobs:
- name: Install Nargo
uses: noir-lang/[email protected]
with:
toolchain: v0.6.0
toolchain: v0.10.1

- name: Run nargo test
run: |
Expand Down
2 changes: 1 addition & 1 deletion Nargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "noir_array_helpers"
authors = ["@colinnielsen"]
compiler_version = "0.6.0"
compiler_version = "0.10.0"
notes = "AMDG"
type = "lib"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Noir Array Helpers** is a Noir function library to manipulate arrays. This library serves a kitchen sink for various array functions the Noir community finds useful. `v0.1.0` mostly contains useful functions for Ethereum signatures, joining, and splitting arrays.
**Noir Array Helpers** is a Noir function library to manipulate arrays. This library serves a kitchen sink for various array functions the Noir community finds useful.

## Installation

In your `Nargo.toml` file, add the following dependency:

```toml
[dependencies]
array_helpers = { tag = "v0.1.0", git = "https://github.com/colinnielsen/noir-array-helpers" }
array_helpers = { tag = "v0.10.0", git = "https://github.com/colinnielsen/noir-array-helpers" }
```

then `use` it in your circuits:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.nr
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fn test_u8_32_to_u160() {
193,255,211,207,238,45,158,92,214,118,67,248,243,159,214,229,26,173,136,246,244,206,106,184,130,114,121,207,255,185,34,102
];

let mut right_20_bytes: [u8] = [0];
let mut right_20_bytes: [u8] = [0; 20];
for i in 0..20 {
right_20_bytes[i] = hashed_pub_key[i + 12];
}
Expand Down

0 comments on commit e7531ba

Please sign in to comment.