Skip to content

Commit

Permalink
Merge pull request #2512 from ProvableHQ/chore/repo-reference
Browse files Browse the repository at this point in the history
[Chore] Update `Cargo.toml` crate attributes
  • Loading branch information
aleojohn authored Sep 10, 2024
2 parents dd96892 + 83707b8 commit abd6cc4
Show file tree
Hide file tree
Showing 66 changed files with 99 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 👉 [Please follow one of these issue templates](https://github.com/AleoHQ/snarkVM/issues/new/choose) 👈
## 👉 [Please follow one of these issue templates](https://github.com/AleoNet/snarkVM/issues/new/choose) 👈

Note: to keep the backlog clean and actionable, issues may be immediately closed if they do not follow one of the above issue templates.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<!--
If this PR adds or changes functionality, please take some time to
update the docs at https://github.com/AleoHQ/snarkVM and https://github.com/AleoHQ/protocol-docs,
update the docs at https://github.com/AleoNet/snarkVM and https://github.com/AleoHQ/protocol-docs,
and link to your PR here.
-->

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Thank you for your interest in contributing to snarkVM! Below you can find some

Please follow the instructions below when filing a pull request:

- ensure that your branch is forked from the current [master](https://github.com/AleoHQ/snarkVM/tree/master) branch
- run `cargo fmt` before you commit; we use the `nightly` version of `rustfmt` to format the code, so you'll need to have the `nightly` toolchain installed on your machine; there's a [git hook](https://git-scm.com/docs/githooks) that ensures proper formatting before any commits can be made, and [`.rustfmt.toml`](https://github.com/AleoHQ/snarkVM/blob/master/.rustfmt.toml) specifies some of the formatting conventions
- ensure that your branch is forked from the current [master](https://github.com/AleoNet/snarkVM/tree/master) branch
- run `cargo fmt` before you commit; we use the `nightly` version of `rustfmt` to format the code, so you'll need to have the `nightly` toolchain installed on your machine; there's a [git hook](https://git-scm.com/docs/githooks) that ensures proper formatting before any commits can be made, and [`.rustfmt.toml`](https://github.com/AleoNet/snarkVM/blob/master/.rustfmt.toml) specifies some of the formatting conventions
- run `cargo clippy --all-targets --all-features` to ensure that popular correctness and performance pitfalls are avoided

## Coding conventions
Expand Down
2 changes: 1 addition & 1 deletion algorithms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Algorithms for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
repository = "https://github.com/AleoNet/snarkVM"
keywords = [
"aleo",
"cryptography",
Expand Down
2 changes: 1 addition & 1 deletion algorithms/cuda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Cuda optimizations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
repository = "https://github.com/AleoNet/snarkVM"
keywords = [
"aleo",
"cryptography",
Expand Down
4 changes: 2 additions & 2 deletions algorithms/src/snark/varuna/varuna.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ where

/// This is the main entrypoint for creating proofs.
/// You can find a specification of the prover algorithm in:
/// https://github.com/AleoHQ/protocol-docs
/// https://github.com/AleoNet/protocol-docs
fn prove_batch<C: ConstraintSynthesizer<E::Fr>, R: Rng + CryptoRng>(
universal_prover: &Self::UniversalProver,
fs_parameters: &Self::FSParameters,
Expand Down Expand Up @@ -622,7 +622,7 @@ where

/// This is the main entrypoint for verifying proofs.
/// You can find a specification of the verifier algorithm in:
/// https://github.com/AleoHQ/protocol-docs
/// https://github.com/AleoNet/protocol-docs
fn verify_batch<B: Borrow<Self::VerifierInput>>(
universal_verifier: &Self::UniversalVerifier,
fs_parameters: &Self::FSParameters,
Expand Down
2 changes: 1 addition & 1 deletion circuit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Circuits for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
repository = "https://github.com/AleoNet/snarkVM"
keywords = [
"aleo",
"cryptography",
Expand Down
2 changes: 2 additions & 0 deletions circuit/account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-account"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Account circuit library for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/algorithms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-algorithms"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Algorithm circuit library for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/collections/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-collections"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Collections circuit library for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/environment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-environment"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Circuit environment for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions circuit/environment/src/helpers/updatable_count.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static WORKSPACE_ROOT: OnceCell<PathBuf> = OnceCell::new();

/// To update the arguments to `count_is!`, run cargo test with the `UPDATE_COUNT` flag set to the name of the file containing the macro invocation.
/// e.g. `UPDATE_COUNT=boolean cargo test
/// See https://github.com/AleoHQ/snarkVM/pull/1688 for more details.
/// See https://github.com/AleoNet/snarkVM/pull/1688 for more details.
#[macro_export]
macro_rules! count_is {
($num_constants:literal, $num_public:literal, $num_private:literal, $num_constraints:literal) => {
Expand All @@ -51,7 +51,7 @@ macro_rules! count_is {

/// To update the arguments to `count_less_than!`, run cargo test with the `UPDATE_COUNT` flag set to the name of the file containing the macro invocation.
/// e.g. `UPDATE_COUNT=boolean cargo test
/// See https://github.com/AleoHQ/snarkVM/pull/1688 for more details.
/// See https://github.com/AleoNet/snarkVM/pull/1688 for more details.
#[macro_export]
macro_rules! count_less_than {
($num_constants:literal, $num_public:literal, $num_private:literal, $num_constraints:literal) => {
Expand Down
2 changes: 2 additions & 0 deletions circuit/environment/witness/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-environment-witness"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "A procedural macro to construct a witness in an environment"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2018"

Expand Down
2 changes: 2 additions & 0 deletions circuit/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-network"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Network circuit library for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-program"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Program circuit library for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Primitive circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/address/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types-address"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Address circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/boolean/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types-boolean"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Boolean circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/field/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types-field"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Field circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/group/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types-group"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Group circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/integers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types-integers"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Integer circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/scalar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types-scalar"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Scalar circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions circuit/types/string/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-circuit-types-string"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "String circuit for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Console environment for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-account"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Account operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/algorithms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-algorithms"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Console algorithms for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/collections/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-collections"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Collections for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-network"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Network console library for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/network/environment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-network-environment"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Environment console library for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-program"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Program operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Console types for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/address/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types-address"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Type operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/boolean/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types-boolean"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Type operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/field/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types-field"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Type operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/group/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types-group"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Type operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/integers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types-integers"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Type operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/scalar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types-scalar"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Type operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions console/types/string/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name = "snarkvm-console-types-string"
version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Type operations for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoNet/snarkVM"
license = "Apache-2.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion curves/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Curves for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
repository = "https://github.com/AleoNet/snarkVM"
keywords = [
"aleo",
"cryptography",
Expand Down
2 changes: 1 addition & 1 deletion fields/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Fields for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
repository = "https://github.com/AleoNet/snarkVM"
keywords = [
"aleo",
"cryptography",
Expand Down
2 changes: 1 addition & 1 deletion ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "A node ledger for a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
repository = "https://github.com/AleoNet/snarkVM"
keywords = [
"aleo",
"cryptography",
Expand Down
2 changes: 1 addition & 1 deletion ledger/authority/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.16.19"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Data structures for a block authority in a decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
repository = "https://github.com/AleoNet/snarkVM"
keywords = [
"aleo",
"cryptography",
Expand Down
Loading

0 comments on commit abd6cc4

Please sign in to comment.