Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Rename to argument #278

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/check-downstream-compiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
path: ${{ github.workspace }}/neptune
- uses: actions/checkout@v4
with:
repository: lurk-lab/arecibo
repository: argumentcomputer/arecibo
path: ${{ github.workspace }}/arecibo
ref: "dev"
submodules: recursive
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Patch Cargo.toml
working-directory: ${{ github.workspace }}/arecibo
run: |
echo "[patch.'https://github.com/lurk-lab/neptune']" >> Cargo.toml
echo "[patch.'https://github.com/argumentcomputer/neptune']" >> Cargo.toml
echo "neptune = { path='../neptune' }" >> Cargo.toml
- name: Check Arecibo types don't break spectacularly
working-directory: ${{ github.workspace }}/arecibo
Expand All @@ -52,15 +52,15 @@ jobs:
path: ${{ github.workspace }}/neptune
- uses: actions/checkout@v4
with:
repository: lurk-lab/lurk-rs
repository: argumentcomputer/lurk-rs
path: ${{ github.workspace }}/lurk
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Patch Cargo.toml
working-directory: ${{ github.workspace }}/lurk
run: |
echo "[patch.'https://github.com/lurk-lab/neptune']" >> Cargo.toml
echo "[patch.'https://github.com/argumentcomputer/neptune']" >> Cargo.toml
echo "neptune = { path='../neptune' }" >> Cargo.toml
- name: Check Lurk-rs types don't break spectacularly
working-directory: ${{ github.workspace }}/lurk
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
unused-dependencies:
uses: lurk-lab/ci-workflows/.github/workflows/unused-deps.yml@main
uses: argumentcomputer/ci-workflows/.github/workflows/unused-deps.yml@main

rust-version-check:
uses: lurk-lab/ci-workflows/.github/workflows/rust-version-check.yml@main
uses: argumentcomputer/ci-workflows/.github/workflows/rust-version-check.yml@main
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: lurk-lab/ci-workflows
repository: argumentcomputer/ci-workflows
- uses: ./.github/actions/ci-env
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -72,13 +72,13 @@ jobs:

# Check documentation links aren't broken
link-checker:
uses: lurk-lab/ci-workflows/.github/workflows/links-check.yml@main
uses: argumentcomputer/ci-workflows/.github/workflows/links-check.yml@main
with:
fail-fast: true

# Lint dependencies for licensing and auditing issues as per https://github.com/lurk-lab/neptune/blob/main/deny.toml
# Lint dependencies for licensing and auditing issues as per https://github.com/argumentcomputer/neptune/blob/main/deny.toml
licenses-audits:
uses: lurk-lab/ci-workflows/.github/workflows/licenses-audits.yml@main
uses: argumentcomputer/ci-workflows/.github/workflows/licenses-audits.yml@main

# Runs the test suite on a self-hosted GPU machine with CUDA enabled
test-cuda:
Expand All @@ -91,7 +91,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: lurk-lab/ci-workflows
repository: argumentcomputer/ci-workflows
- uses: ./.github/actions/ci-env
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: lurk-lab/ci-workflows
repository: argumentcomputer/ci-workflows
- uses: ./.github/actions/ci-env
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
124 changes: 62 additions & 62 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,88 +9,88 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview

## 10.0.0

- fix: PoseidonConstants serde Implementation (https://github.com/lurk-lab/neptune/pull/184)
- chore: make version part of the release commit (https://github.com/lurk-lab/neptune/pull/185)
- fix: PoseidonConstants serde Implementation (https://github.com/argumentcomputer/neptune/pull/184)
- chore: make version part of the release commit (https://github.com/argumentcomputer/neptune/pull/185)

## 9.0.0

- refactor: Bump ff & group to 0.13, adjust dependent crates (https://github.com/lurk-lab/neptune/pull/179)
- ci: Add licenses audits with 'cargo-deny' (https://github.com/lurk-lab/neptune/pull/181)
- doc: covering PoseidonConstants and Poseidon abstractions with proper docs (https://github.com/lurk-lab/neptune/pull/178)
- refactor: Bump ff & group to 0.13, adjust dependent crates (https://github.com/argumentcomputer/neptune/pull/179)
- ci: Add licenses audits with 'cargo-deny' (https://github.com/argumentcomputer/neptune/pull/181)
- doc: covering PoseidonConstants and Poseidon abstractions with proper docs (https://github.com/argumentcomputer/neptune/pull/178)

## 8.1.1

- chore: update ec-gpu, update const fns (https://github.com/lurk-lab/neptune/pull/175)
- chore: minor upgrade (https://github.com/lurk-lab/neptune/pull/173)
- fix: simplify the implementation of arity (https://github.com/lurk-lab/neptune/pull/172)
- fix: Ensure preimage buffer is padded with newly variables that are actually constrained to be equal to zero (https://github.com/lurk-lab/neptune/pull/169)
- chore: update ec-gpu, update const fns (https://github.com/argumentcomputer/neptune/pull/175)
- chore: minor upgrade (https://github.com/argumentcomputer/neptune/pull/173)
- fix: simplify the implementation of arity (https://github.com/argumentcomputer/neptune/pull/172)
- fix: Ensure preimage buffer is padded with newly variables that are actually constrained to be equal to zero (https://github.com/argumentcomputer/neptune/pull/169)

## 8.1.0
- Implement serde for PoseidonConstants (https://github.com/lurk-lab/neptune/pull/165)
- Implement serde for PoseidonConstants (https://github.com/argumentcomputer/neptune/pull/165)

## 8.0.0
- fix: update to newer ec-gpu version (https://github.com/lurk-lab/neptune/pull/164)
- chore: fix CI MacOS build (https://github.com/lurk-lab/neptune/pull/161)
- fix: update to newer ec-gpu version (https://github.com/argumentcomputer/neptune/pull/164)
- chore: fix CI MacOS build (https://github.com/argumentcomputer/neptune/pull/161)

## 7.2.0 - 2022-8-9
- Change write_rate_element to add_rate_element to agree with spec.

## 7.1.0 - 2022-8-8

- Add Sponge API to README. (https://github.com/lurk-lab/neptune/pull/158)
- IO pattern (https://github.com/lurk-lab/neptune/pull/157)
- Sponge absorb add (https://github.com/lurk-lab/neptune/pull/156)
- Add sponge circuit synthesis test and remove make_elt method. (https://github.com/lurk-lab/neptune/pull/154)
- Add Sponge API to README. (https://github.com/argumentcomputer/neptune/pull/158)
- IO pattern (https://github.com/argumentcomputer/neptune/pull/157)
- Sponge absorb add (https://github.com/argumentcomputer/neptune/pull/156)
- Add sponge circuit synthesis test and remove make_elt method. (https://github.com/argumentcomputer/neptune/pull/154)

## 7.0.0 - 2022-7-21
- Implement sponge construction. (https://github.com/lurk-lab/neptune/pull/151)
- feat: support other fields (https://github.com/lurk-lab/neptune/pull/135)
- feat: update dependencies to the latest (https://github.com/lurk-lab/neptune/pull/150)
- Implement sponge construction. (https://github.com/argumentcomputer/neptune/pull/151)
- feat: support other fields (https://github.com/argumentcomputer/neptune/pull/135)
- feat: update dependencies to the latest (https://github.com/argumentcomputer/neptune/pull/150)

## 6.2.0 - 2022-6-10
- Reduce constraints (https://github.com/lurk-lab/neptune/pull/148)
- Reduce constraints (https://github.com/argumentcomputer/neptune/pull/148)

## 6.1.1 - 2022-5-26
- Implement Arity for U1 (https://github.com/lurk-lab/neptune/pull/145)
- Implement Arity for U1 (https://github.com/argumentcomputer/neptune/pull/145)

## 6.1.0 - 2022-4-22
- Wasm support (https://github.com/lurk-lab/neptune/pull/139)
- Wasm support (https://github.com/argumentcomputer/neptune/pull/139)

## 6.0.0 - 2022-3-22

- Use bellperson v0.19.0. (https://github.com/lurk-lab/neptune/pull/141)
- refactor: use field name as part of the function names (https://github.com/lurk-lab/neptune/pull/136)
- chore: update to Rust 1.56.0 (https://github.com/lurk-lab/neptune/pull/138)
- chore: use Rust 1.51.0 (https://github.com/lurk-lab/neptune/pull/134)
- Remove neptune-triton (Futhark) support. (https://github.com/lurk-lab/neptune/pull/132)
- feat: add vanilla Poseidon benchmarks for Pasta scalar field (https://github.com/lurk-lab/neptune/pull/124)
- Update README. (https://github.com/lurk-lab/neptune/pull/129)
- fix: fix warning when compiling with OpenCL (https://github.com/lurk-lab/neptune/pull/123)
- Fixes gaussian elimination for matrices with 0 entries (https://github.com/lurk-lab/neptune/pull/122)
- Use bellperson v0.19.0. (https://github.com/argumentcomputer/neptune/pull/141)
- refactor: use field name as part of the function names (https://github.com/argumentcomputer/neptune/pull/136)
- chore: update to Rust 1.56.0 (https://github.com/argumentcomputer/neptune/pull/138)
- chore: use Rust 1.51.0 (https://github.com/argumentcomputer/neptune/pull/134)
- Remove neptune-triton (Futhark) support. (https://github.com/argumentcomputer/neptune/pull/132)
- feat: add vanilla Poseidon benchmarks for Pasta scalar field (https://github.com/argumentcomputer/neptune/pull/124)
- Update README. (https://github.com/argumentcomputer/neptune/pull/129)
- fix: fix warning when compiling with OpenCL (https://github.com/argumentcomputer/neptune/pull/123)
- Fixes gaussian elimination for matrices with 0 entries (https://github.com/argumentcomputer/neptune/pull/122)

## 5.1.0 - 2021-10-21
- Cleanup domain tags (https://github.com/lurk-lab/neptune/pull/121)
- Fix, test, and enable custom domain tags. (https://github.com/lurk-lab/neptune/pull/116)
- Update bellperson to v0.18.0 (https://github.com/lurk-lab/neptune/pull/115)
- Fix spec's sparse factorization w vector (https://github.com/lurk-lab/neptune/pull/114)
- Cleanup domain tags (https://github.com/argumentcomputer/neptune/pull/121)
- Fix, test, and enable custom domain tags. (https://github.com/argumentcomputer/neptune/pull/116)
- Update bellperson to v0.18.0 (https://github.com/argumentcomputer/neptune/pull/115)
- Fix spec's sparse factorization w vector (https://github.com/argumentcomputer/neptune/pull/114)

## 5.0.0 - 2021-9-30

- Remove pairing requirement for circuits (https://github.com/lurk-lab/neptune/pull/111)
- Add support for CUDA (https://github.com/lurk-lab/neptune/pull/109)
- Use correct global work size (https://github.com/lurk-lab/neptune/pull/108)
- Properly call ec_gpu_gen::common() (https://github.com/lurk-lab/neptune/pull/110)
- Use upstream group, ff and pairing dependencies (https://github.com/lurk-lab/neptune/pull/103)
- Remove unnecessary to_vec (https://github.com/lurk-lab/neptune/pull/107)
- Pass GPU data from a pre-populated vector (https://github.com/lurk-lab/neptune/pull/106)
- Remove pairing requirement for circuits (https://github.com/argumentcomputer/neptune/pull/111)
- Add support for CUDA (https://github.com/argumentcomputer/neptune/pull/109)
- Use correct global work size (https://github.com/argumentcomputer/neptune/pull/108)
- Properly call ec_gpu_gen::common() (https://github.com/argumentcomputer/neptune/pull/110)
- Use upstream group, ff and pairing dependencies (https://github.com/argumentcomputer/neptune/pull/103)
- Remove unnecessary to_vec (https://github.com/argumentcomputer/neptune/pull/107)
- Pass GPU data from a pre-populated vector (https://github.com/argumentcomputer/neptune/pull/106)

## 4.0.0 - 2021-8-2
- Upgrade to latest rust-gpu-tools (https://github.com/lurk-lab/neptune/pull/91)
- Rename GPU feature to Futhark (https://github.com/lurk-lab/neptune/pull/100)
- Improve Clippy on CI (https://github.com/lurk-lab/neptune/pull/92)
- Fix Clippy warnings (https://github.com/lurk-lab/neptune/pull/98)
- Remove BatcherType (https://github.com/lurk-lab/neptune/pull/97)
- Remove GPUSelector (https://github.com/lurk-lab/neptune/pull/96)
- Upgrade to latest rust-gpu-tools (https://github.com/argumentcomputer/neptune/pull/91)
- Rename GPU feature to Futhark (https://github.com/argumentcomputer/neptune/pull/100)
- Improve Clippy on CI (https://github.com/argumentcomputer/neptune/pull/92)
- Fix Clippy warnings (https://github.com/argumentcomputer/neptune/pull/98)
- Remove BatcherType (https://github.com/argumentcomputer/neptune/pull/97)
- Remove GPUSelector (https://github.com/argumentcomputer/neptune/pull/96)

## 3.0.0 - 2021-6-1
- Breaking update of `bellperson` to `0.14` and associated dependency upgrades.
Expand All @@ -99,45 +99,45 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
- Use bellperson 0.13.

## 2.6 - 2021-1-21
- Pure OpenCL implementation of batch hashing. (https://github.com/lurk-lab/neptune/pull/78)
- Pure OpenCL implementation of batch hashing. (https://github.com/argumentcomputer/neptune/pull/78)

## 2.5 [release commited but never published to crates.io, due to authentication glitch]

## 2.4.0 - 2020-11-17

- Customize batch-sizes of gbench through cli args. (https://github.com/lurk-lab/neptune/pull/50)
- Remove [most] macos conditional code. (https://github.com/lurk-lab/neptune/pull/72)
- Refactor, moving device selection to rust-gpu-tools. (https://github.com/lurk-lab/neptune/pull/70)
- Only clear cache when no hashers are active for futhark context. (https://github.com/lurk-lab/neptune/pull/68)
- Customize batch-sizes of gbench through cli args. (https://github.com/argumentcomputer/neptune/pull/50)
- Remove [most] macos conditional code. (https://github.com/argumentcomputer/neptune/pull/72)
- Refactor, moving device selection to rust-gpu-tools. (https://github.com/argumentcomputer/neptune/pull/70)
- Only clear cache when no hashers are active for futhark context. (https://github.com/argumentcomputer/neptune/pull/68)

## 2.2.0 - 2020-11-01

- Update `bellperson` to `0.12.0`
[67](https://github.com/lurk-lab/neptune/pull/67)
[67](https://github.com/argumentcomputer/neptune/pull/67)

## 2.1.1 - 2020-10-30

- Fix `GPUBatchHasher` not clearing GPU caches
[66](https://github.com/lurk-lab/neptune/pull/66)
[66](https://github.com/argumentcomputer/neptune/pull/66)

## 2.1.0 - 2020-10-29

- Enable `blst` backend.
[63](https://github.com/lurk-lab/neptune/pull/63)
[63](https://github.com/argumentcomputer/neptune/pull/63)
- Explicitly reuse FutharkContext in related Batchers.
[62](https://github.com/lurk-lab/neptune/pull/62)
[62](https://github.com/argumentcomputer/neptune/pull/62)
- Make GPUSelector accessible from gbench.
[59](https://github.com/lurk-lab/neptune/pull/59)
[59](https://github.com/argumentcomputer/neptune/pull/59)
- Create SECURITY.MD.
[57](https://github.com/lurk-lab/neptune/pull/57)
[57](https://github.com/argumentcomputer/neptune/pull/57)
- Avoid compiling any OpenCL on macos.
[56](https://github.com/lurk-lab/neptune/pull/56)
[56](https://github.com/argumentcomputer/neptune/pull/56)
- Use latest neptune-triton.
[55](https://github.com/lurk-lab/neptune/pull/55)
[55](https://github.com/argumentcomputer/neptune/pull/55)

## 2.0.0 - 2020-08-4

- Add support for domain separation tags. In addition to support for new hash functions built on the Poseidon permutation,
this introduces a breaking change to the DST used for Strengthened Poseidon.
[43](https://github.com/lurk-lab/neptune/pull/43).
[43](https://github.com/argumentcomputer/neptune/pull/43).

2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ representative at an online or offline event.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at community@lurk-lab.com.
reported to the community leaders responsible for enforcement at community@argument.xyz.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "13.0.0"
authors = ["porcuquine <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/lurk-lab/neptune"
repository = "https://github.com/argumentcomputer/neptune"
rust-version = "1.71.0"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Neptune ![crates.io](https://img.shields.io/crates/v/neptune.svg) ![neptune](https://github.com/lurk-lab/neptune/actions/workflows/rust.yml/badge.svg)[![dependency status](https://deps.rs/repo/github/lurk-lab/neptune/status.svg)](https://deps.rs/repo/github/lurk-lab/neptune)
# Neptune ![crates.io](https://img.shields.io/crates/v/neptune.svg) ![neptune](https://github.com/argumentcomputer/neptune/actions/workflows/rust.yml/badge.svg)[![dependency status](https://deps.rs/repo/github/argumentcomputer/neptune/status.svg)](https://deps.rs/repo/github/argumentcomputer/neptune)


## About
Expand Down Expand Up @@ -79,7 +79,7 @@ Benchmark Poseidon over a specific field (`bls`, `pallas`, or `vesta`) and preim

## Sponge API

Neptune implements the [Secure Sponge API for Field Elements](https://hackmd.io/bHgsH6mMStCVibM_wYvb2w) and serves as its reference implementation. The [`SpongeAPI` trait](https://github.com/lurk-lab/neptune/blob/master/src/sponge/api.rs) defines the relevant API methods. See tests in source for simple examples of API usage [with circuits](https://github.com/lurk-lab/neptune/blob/master/src/sponge/circuit.rs) and [without circuits](https://github.com/lurk-lab/neptune/blob/master/src/sponge/vanilla.rs).
Neptune implements the [Secure Sponge API for Field Elements](https://hackmd.io/bHgsH6mMStCVibM_wYvb2w) and serves as its reference implementation. The [`SpongeAPI` trait](https://github.com/argumentcomputer/neptune/blob/master/src/sponge/api.rs) defines the relevant API methods. See tests in source for simple examples of API usage [with circuits](https://github.com/argumentcomputer/neptune/blob/master/src/sponge/circuit.rs) and [without circuits](https://github.com/argumentcomputer/neptune/blob/master/src/sponge/vanilla.rs).

## History

Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ allow-git = []

[sources.allow-org]
# 1 or more github.com organizations to allow git sources for
github = ["lurk-lab"]
github = ["argumentcomputer"]
# 1 or more gitlab.com organizations to allow git sources for
# gitlab = [""]
# 1 or more bitbucket.org organizations to allow git sources for
Expand Down
Loading
Loading