-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
60 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div align="center"> | ||
<h1>Cairo Libraries</h1> | ||
</div> | ||
|
||
This directory contains the Cairo libraries that are used by the Starknet | ||
contracts in the `cairo-contracts`. | ||
|
||
- Protobuf decoding and encoding | ||
- CometBFT light client types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Code generated by scarb DO NOT EDIT. | ||
version = 1 | ||
|
||
[[package]] | ||
name = "cometbft" | ||
version = "0.1.0" | ||
dependencies = [ | ||
"protobuf", | ||
"snforge_std", | ||
] | ||
|
||
[[package]] | ||
name = "protobuf" | ||
version = "0.1.0" | ||
dependencies = [ | ||
"snforge_std", | ||
] | ||
|
||
[[package]] | ||
name = "snforge_std" | ||
version = "0.27.0" | ||
source = "git+https://github.com/foundry-rs/starknet-foundry?tag=v0.27.0#2d99b7c00678ef0363881ee0273550c44a9263de" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[workspace] | ||
members = [ | ||
"packages/protobuf", | ||
"packages/cometbft", | ||
] | ||
|
||
[workspace.package] | ||
version = "0.1.0" | ||
edition = "2023_11" | ||
cairo-version = "2.8.0" | ||
scarb-version = "2.8.0" | ||
license = "Apache-2.0" | ||
authors = [ "Informal Systems <[email protected]>" ] | ||
repository = "https://github.com/informalsystems/ibc-starknet" | ||
Readme = "README.md" | ||
keywords = [ "protobuf", "cometbft", "ibc" ] | ||
description = "Collection of Cairo libraries for IBC integration with Starknet" | ||
|
||
[workspace.scripts] | ||
test = "snforge test" | ||
|
||
[workspace.dependencies] | ||
# external dependencies | ||
cairo_test = "2.8.0" | ||
starknet = "2.8.0" | ||
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.27.0" } | ||
|
||
[workspace.tool.fmt] | ||
sort-module-level-items = true |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.