-
Notifications
You must be signed in to change notification settings - Fork 1
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: Switch Cosmos package dependencies from crate to workspace #120
Merged
Merged
Changes from 15 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1c34c67
chore: Change cosmos-rpc dependency from crate to workspace
code0xff a063ee3
chore: Change cosmos-runtime-api dependency from crate to workspace
code0xff fc9b2f7
chore: Update package info to use workspace values
code0xff f538666
chore: Switch pallet-cosmos-types dependencies from crate to workspace
code0xff 42ee599
chore: Update Cosmos package licenses to Apache-2.0
code0xff 072ded4
feat: Integrate nostd crate for no_std environment support
code0xff 58a0bcb
chore: Switch pallet-cosmos-x-auth-migrations dependencies from crate…
code0xff cdb1e7b
chore: Switch pallet-cosmos-x-auth-signing dependencies from crate to…
code0xff ef7fdde
chore: Switch pallet-cosmos-x-auth dependencies from crate to workspace
code0xff e1418f7
chore: Switch pallet-cosmos-x-bank-types dependencies from crate to w…
code0xff 4665cec
chore: Switch pallet-cosmos-x-bank dependencies from crate to workspace
code0xff 727917b
chore: Switch pallet-cosmos-x-wasm-types dependencies from crate to w…
code0xff 259d207
chore: Switch pallet-cosmos-x-wasm dependencies from crate to workspace
code0xff 5d31990
chore: Downgrade cosmwasm-std feature version to align with Composable
code0xff 2f631c6
refactor: Introduce nostd crate to np-crypto to enhance no_std develo…
code0xff c991fee
refactor: Switch hex encoding to const-hex
code0xff 596a12d
refactor: Replace core2::io to nostd::io
code0xff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,16 +77,22 @@ bytemuck = "1.16.1" | |
bytemuck_derive = "1.7.0" | ||
byteorder = { version = "1.5.0", default-features = false } | ||
const-hex = { version = "1.13", default-features = false } | ||
core2 = { version = "0.4.0", default-features = false } | ||
cosmos-sdk-proto = { version = "0.24", default-features = false } | ||
curve25519-dalek = { version = "4.1.3", features = ["digest", "rand_core"] } | ||
derive-where = "1.2" | ||
eager = "0.1.0" | ||
enum-iterator = "1.5.0" | ||
ethereum = { version = "0.15.0", default-features = false } | ||
futures = "0.3" | ||
getrandom = { version = "0.2", default-features = false } | ||
hex = { version = "0.4", default-features = false } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can use |
||
hex-literal = "0.4" | ||
impl-trait-for-tuples = { version = "0.2.2" } | ||
itertools = { version = "0.12.1", default-features = false } | ||
jsonrpsee = { version = "0.24" } | ||
k256 = { version = "0.13", default-features = false } | ||
libflate = { version = "2.1.0", default-features = false } | ||
libsecp256k1 = { version = "0.6.0", default-features = false } | ||
light-poseidon = "0.2.0" | ||
log = { version = "0.4", default-features = false } | ||
|
@@ -125,7 +131,9 @@ pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = | |
pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } | ||
pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } | ||
pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } | ||
sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } | ||
sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } | ||
sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } | ||
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } | ||
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } | ||
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409", default-features = false } | ||
|
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 |
---|---|---|
@@ -1,20 +1,19 @@ | ||
[package] | ||
name = "cosmos-rpc" | ||
version = "0.4.0" | ||
authors = ["Haderech Pte. Ltd."] | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/noirhq/noir.git" | ||
authors = { workspace = true } | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
repository = { workspace = true } | ||
publish = false | ||
|
||
[dependencies] | ||
cosmos-runtime-api = { workspace = true, features = ["std"] } | ||
futures = "0.3" | ||
hex = "0.4.3" | ||
jsonrpsee = { version = "0.24", features = ["client", "server", "macros"] } | ||
futures = { workspace = true } | ||
jsonrpsee = { workspace = true, features = ["client", "server", "macros"] } | ||
pallet-cosmos-types = { workspace = true, features = ["std"] } | ||
sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } | ||
sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } | ||
sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } | ||
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } | ||
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2409" } | ||
sc-transaction-pool-api = { workspace = true } | ||
sp-api = { workspace = true, features = ["std"] } | ||
sp-blockchain = { workspace = true } | ||
sp-core = { workspace = true, features = ["std"] } | ||
sp-runtime = { workspace = true, features = ["std"] } |
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
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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
pub mod traits; | ||
|
||
use alloc::{ | ||
use nostd::{ | ||
string::{String, ToString}, | ||
vec::Vec, | ||
}; | ||
|
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use
nostd::io
instead ofcore2
.