Skip to content

Commit

Permalink
Github Action: Update contract
Browse files Browse the repository at this point in the history
  • Loading branch information
catmcgee committed Feb 13, 2024
1 parent c5061d0 commit 47e8056
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 44 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "easy_private_token_contract"
type = "contract"
authors = [""]
compiler_version = ">=0.23.0"
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec-noir" }
value_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/value-note"}
easy_private_state = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/easy-private-state"}
[dependencies]
aztec = { path = "../../../aztec-nr/aztec" }
value_note = { path = "../../../aztec-nr/value-note"}
easy_private_state = { path = "../../../aztec-nr/easy-private-state"}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" }
token_portal_content_hash_lib = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/noir-contracts/contracts/token_portal_content_hash_lib" }
protocol_types = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/noir-protocol-circuits/src/crates/types"}
aztec = { path = "../../../aztec-nr/aztec" }
token_portal_content_hash_lib = { path = "../token_portal_content_hash_lib" }
6 changes: 3 additions & 3 deletions tutorials/token-bridge/contracts/Nargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "token_bridge_contract"
authors = [""]
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.16.9', directory = 'yarn-project/aztec-nr/aztec' }
protocol_types = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.16.9', directory = 'yarn-project/noir-protocol-circuits/src/crates/types' }
token_portal_content_hash_lib = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.16.9', directory = 'yarn-project/noir-contracts/src/contracts/token_portal_content_hash_lib' }
aztec = { path = "../../../aztec-nr/aztec" }
token_portal_content_hash_lib = { path = "../token_portal_content_hash_lib" }
9 changes: 5 additions & 4 deletions tutorials/token-contract/contracts/Nargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "token_contract"
authors = [""]
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" }
safe_math = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/safe-math" }
authwit = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/authwit" }
compressed_string = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/compressed-string"}
aztec = { path = "../../../aztec-nr/aztec" }
safe_math = { path = "../../../aztec-nr/safe-math" }
compressed_string = {path = "../../../aztec-nr/compressed-string"}
authwit = { path = "../../../aztec-nr/authwit" }
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "token_bridge_contract"
type = "contract"
authors = [""]
compiler_version = ">=0.23.0"
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" }
value_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/token_portal_content_hash_lib"}
aztec = { path = "../../../aztec-nr/aztec" }
token_portal_content_hash_lib = { path = "../token_portal_content_hash_lib" }
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[package]
name = "uniswap_contract"
type = "contract"
authors = [""]
compiler_version = ">=0.23.0"
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/aztec" }
value_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/value-note"}
safe_math = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/safe-math"}
authwit = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/authwit"}
aztec = { path = "../../../aztec-nr/aztec" }
authwit = { path = "../../../aztec-nr/authwit" }

Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@

[package]
name = "counter_contract"
authors = [""]
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
# path should be updated to "noir-projects/..." if the version tag is updated to >=0.24
aztec = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.14.2', directory = 'yarn-project/aztec-nr/aztec' }
value_note = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.14.2', directory = 'yarn-project/aztec-nr/value-note' }
easy_private_state = { git = 'https://github.com/AztecProtocol/aztec-packages/', tag = 'aztec-packages-v0.14.2', directory = 'yarn-project/aztec-nr/easy-private-state' }
field_note = { git="https://github.com/AztecProtocol/aztec-packages/", tag="aztec-packages-v0.23.0", directory="yarn-project/aztec-nr/field-note"}
aztec = { path = "../../../aztec-nr/aztec" }
value_note = { path = "../../../aztec-nr/value-note" }
easy_private_state = { path = "../../../aztec-nr/easy-private-state"}
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[package]
name = "easy_private_voting_contract"
type = "contract"
authors = [""]
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "aztec" }
value_note = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "value-note" }
safe_math = { git="https://github.com/AztecProtocol/aztec-nr", tag="aztec-packages-v0.23.0", directory="safe-math" }
aztec = { path = "../../../aztec-nr/aztec" }
13 changes: 5 additions & 8 deletions workshops/zksummit-london-2023/contracts/counter/Nargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[package]
name = "counter_contract"
type = "contract"
authors = [""]
compiler_version = "0.11.1"
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
# To install the aztec framework (required to create aztec contracts).
aztec = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "aztec" }

# Optional libraries
easy_private_state = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "easy-private-state" }
value_note = { git = "https://github.com/AztecProtocol/aztec-nr", tag = "master" , directory = "value-note" }
aztec = { path = "../../../aztec-nr/aztec" }
value_note = { path = "../../../aztec-nr/value-note" }
easy_private_state = { path = "../../../aztec-nr/easy-private-state"}

0 comments on commit 47e8056

Please sign in to comment.