Skip to content
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

2192 ics08 near light client #2254

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0e6627b
chore(unionlabs): move near lc types to correct location
aeryz Jun 20, 2024
ce36066
chore(near): generate proto
aeryz Jun 20, 2024
2811c48
chore(unionlabs): impl near light client protos
aeryz Jun 20, 2024
847c042
chore(unionlabs): add `model` to near proto types
aeryz Jun 24, 2024
76da3bf
feat(near-verifier): introduce the module
aeryz Jun 24, 2024
756db2e
feat(near-verifier): verify_state impl
aeryz Jun 24, 2024
fb3883c
chore(ics08-near): integrate `near-verifier`
aeryz Jun 24, 2024
a7211ef
chore(ics08-near): fix warnings
aeryz Jun 24, 2024
e3adb64
chore(near-lc): near lc on near compiles
aeryz Jun 29, 2024
577612a
fix(near): integration tests
aeryz Jul 2, 2024
7a3d897
chore(cometbls-ics08): split cometbls lc's by tech
aeryz Jul 2, 2024
58620c2
feat(cometbls-near): introduce cometbls near lc
aeryz Jul 2, 2024
5137d0a
chore(cometbls-near): use proto for states
aeryz Jul 3, 2024
59df1dd
chore(near): setup devnet
aeryz Jul 3, 2024
e6f95c0
wip: add near to voyager
benluelo Jul 3, 2024
1abc81f
chore(unionlabs): add `chain_id` to near `ClientState`
aeryz Jul 3, 2024
3317838
feat(chain-utils): near implementation compiles
aeryz Jul 4, 2024
83dce38
feat(voyager): near support
aeryz Jul 4, 2024
45c20fa
chore(near): devnet working
aeryz Jul 9, 2024
d03d51f
chore(near-verifier): convert asserts to errors
aeryz Jul 22, 2024
98ee630
chore(near): change balance proto from u64 to bytes
aeryz Jul 22, 2024
37b1351
chore(near-devnet): deploy ibc contract
aeryz Jul 22, 2024
a926d37
chore(ics08-near): add integration tests
aeryz Jul 22, 2024
4b4c8ee
chore(unionlabs): remove near feature gating
aeryz Jul 23, 2024
22b01c1
chore(near-verifier): remove `near-sdk` dep and use `near-account-id`
aeryz Jul 23, 2024
11cca6a
chore: implement poc-relayer
aeryz Jul 23, 2024
f3e51c4
chore(devnet-near): deploy contracts to named accounts
aeryz Jul 23, 2024
acbf537
chore: naming
aeryz Jul 23, 2024
9c74406
a lot of pain and failed verifications
aeryz Jul 23, 2024
80ab0dc
chore(near-verifier): add details to errors
aeryz Jul 24, 2024
40e374f
fix(ics08-near): membership verification
aeryz Jul 24, 2024
33d959d
chore(cometbls-near): disable non-native zk verification
aeryz Jul 24, 2024
ca8bce9
chore: update cometbls-near works
aeryz Jul 24, 2024
26526ab
chore: god near connopen works!!
aeryz Jul 24, 2024
4345af4
feat(cometbls-near): groth16 verifier with host functions
aeryz Jul 25, 2024
dbbcc0e
fix(near-ibc): make light clients capable of handling multiple clients
aeryz Jul 25, 2024
bc4a8d9
chore: fmt
aeryz Jul 26, 2024
fbd13ca
chore(ibc-vm): return error in VerifyClientMessage
aeryz Jul 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: naming
Signed-off-by: aeryz <abdullaheryz@protonmail.com>
aeryz committed Jul 26, 2024
commit acbf5377a7095a75ff717b36d1080d23979bab03
90 changes: 56 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ members = [

"drip",
"near/near-ibc-tests",
"light-clients/near/ics08-near", "lib/near-verifier", "light-clients/cometbls/near",
"light-clients/near/ics08-near", "lib/near-verifier", "light-clients/cometbls/near", "poc-relayer",
]

[workspace.package]
@@ -176,6 +176,7 @@ hex-literal = { version = "0.4.1", default-features = false }
lazy_static = { version = "1.4.0", default-features = false }
near-contract-standards = { version = "5.1.0", default-features = false }
near-sdk = { version = "5.1.0", default-features = false }
near-account-id = { version = "1.0.0", default-features = false }
near-sdk-contract-tools = { version = "3.0.2", default-features = false }
num-bigint = { version = "0.4", default-features = false }
primitive-types = { version = "0.12.1", default-features = false }
5 changes: 4 additions & 1 deletion light-clients/cometbls/near/Cargo.toml
Original file line number Diff line number Diff line change
@@ -5,11 +5,14 @@ edition.workspace = true
license-file.workspace = true
repository.workspace = true

[lib]
crate-type = ["cdylib"]

[dependencies]
near-sdk = { workspace = true, features = ["wee_alloc"] }
near-sdk-contract-tools = { workspace = true }
ibc-vm-rs = { workspace = true }
unionlabs = { workspace = true }
unionlabs = { workspace = true, features = [ "near" ] }
near-contract-standards = { workspace = true }
near-primitives-core = { version = "0.21" }
borsh = { workspace = true, features = [ "derive"] }
2 changes: 1 addition & 1 deletion light-clients/near/ics08-near/Cargo.toml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
authors = ["Union Labs"]
edition.workspace = true
license-file.workspace = true
name = "ics08-near"
name = "near-ics08"
repository.workspace = true
version = "0.1.0"

1 change: 1 addition & 0 deletions networks/devnet.nix
Original file line number Diff line number Diff line change
@@ -62,6 +62,7 @@
# self'.packages.scroll-light-client
self'.packages.arbitrum-light-client
# self'.packages.berachain-light-client
self'.packages.near-ics08
];
cosmwasmContracts = [
{