-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add signature verification * feat: add method to set relayers * fix: update interfaces * test: add unit tests * test: test claim_fees * fix: remove reply handling from xcall * fix: sign nid,sn,msg * fix: recovery code issue * fix: use rlp encoding for signable msg * fix: store validators as list of byte array * fix: recovery code parsing * fix: use uncompressed pubkey * ci: update deprecated github action version * fix: add dstnetwork in signature * fix: unit tests * fix: remove dstNetwork in recv_message cluster connection * fix: add two signatures in recv_message cluster connection * fix: do not ignore err * fix: removed xcall lib from connection * fix: signable message encoding to utf8 bytes * fix: signable msg encoding updated * chore: unused function removed --------- Co-authored-by: DeepakBomjan <[email protected]> Co-authored-by: gcranju <[email protected]> Co-authored-by: ibrizsabin <[email protected]>
- Loading branch information
1 parent
04ccaa5
commit 106a5f3
Showing
16 changed files
with
1,571 additions
and
34 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,48 @@ | ||
[package] | ||
name = "cluster-connection" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
exclude = [ | ||
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. | ||
"contract.wasm", | ||
"hash.txt", | ||
] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
[features] | ||
# for more explicit tests, cargo test --features=backtraces | ||
backtraces = ["cosmwasm-std/backtraces"] | ||
library = [] | ||
|
||
[package.metadata.scripts] | ||
optimize = """docker run --rm -v "$(pwd)":/code \ | ||
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \ | ||
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ | ||
cosmwasm/rust-optimizer:0.12.10 | ||
""" | ||
|
||
[dependencies] | ||
cosmwasm-schema = {workspace=true} | ||
cosmwasm-std = { workspace=true} | ||
cw-storage-plus = {workspace=true} | ||
cw2 = {workspace=true} | ||
schemars = {workspace=true} | ||
serde = { workspace=true} | ||
thiserror = { workspace=true} | ||
common ={ workspace=true} | ||
cw-xcall-lib = { path="../cw-xcall-lib" } | ||
hex = "0.4.3" | ||
serde-json-wasm = {workspace=true} | ||
sha2 = { version = "0.10.6", default-features = false } | ||
sha3 = { version = "0.10.6", default-features = false } | ||
k256 = "0.13.3" | ||
|
||
[dev-dependencies] | ||
cosmwasm = "0.7.2" | ||
getrandom = {version = "0.2", default-features = false, features = ["custom"]} | ||
|
Oops, something went wrong.