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

Cw solana #483

Closed
wants to merge 127 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
f5e7b0a
relayer for solana init
dhruvja Oct 24, 2023
d29f3ca
added some comments and rm rc
dhruvja Oct 25, 2023
095d6fa
added impl for client and trie methods
dhruvja Oct 25, 2023
17a04fc
fmt
dhruvja Oct 25, 2023
d881e7f
added query consensus and client state
dhruvja Oct 26, 2023
fde39af
bumped borsh to 0.10
dhruvja Oct 27, 2023
d89b976
fmt
dhruvja Oct 27, 2023
cd3c121
bumped borsh to 0.10
dhruvja Oct 27, 2023
6419d77
added account macro to private storage struct
dhruvja Oct 27, 2023
9adcf4f
fixed borsh issue in ics13-near
dhruvja Oct 27, 2023
f6b5f9f
added query channel, connection and proofs
dhruvja Oct 27, 2023
a7bbc60
added few more query methods
dhruvja Oct 27, 2023
eee35f5
replace sealable trie packages with public repo
dhruvja Oct 29, 2023
0bfdae0
added channel whitelist
dhruvja Oct 30, 2023
63e221a
added query for unreceived acks and packets
dhruvja Oct 30, 2023
1e845f8
updated trie_key and added ids
dhruvja Nov 20, 2023
2306e66
fix connectionId issue
dhruvja Nov 21, 2023
7187ec2
added chain and packet accounts
dhruvja Nov 21, 2023
1616fbb
updated storage and methods and added duplicate ibc dep
dhruvja Nov 22, 2023
87f1058
added methods and conversions
dhruvja Dec 5, 2023
b67b6f9
refactor
dhruvja Dec 5, 2023
e73abd2
converting client and consensus state and added method to get latest …
dhruvja Dec 6, 2023
2a5d6a1
added type conversions for messages
dhruvja Dec 7, 2023
a63137b
fixed issues and added few methods
dhruvja Dec 7, 2023
1665409
added recv and send packets
dhruvja Dec 11, 2023
eddbcee
querying finality notifications
dhruvja Dec 11, 2023
afe4c6e
setup tests for solana cosmos
dhruvja Dec 11, 2023
43c45fe
added mocks along with initialize client state method
dhruvja Dec 12, 2023
4fd9e84
added query connection channels
dhruvja Dec 12, 2023
470fc17
ibc: add compatibility code for upstream IBC types (#460)
mina86 Dec 13, 2023
003f021
test config and async sol program
dhruvja Dec 13, 2023
9d0642f
added spawn blocking for sol rpc client
dhruvja Dec 14, 2023
5fd0719
Contract updates addressing the ibc-go wasm light client refactoring …
misko9 Dec 15, 2023
d39dc16
testing wip
dhruvja Dec 17, 2023
9bb6b7e
fix sync and fmt
dhruvja Dec 18, 2023
fb4c49f
wip
dhruvja Dec 18, 2023
687ff2f
subxt update (#462)
kkast Dec 19, 2023
00acd2e
wip
dhruvja Dec 19, 2023
e868518
Fix overflow (#464)
vmarkushin Dec 19, 2023
02ed256
wip
dhruvja Dec 20, 2023
88128f8
add mock solana light client
dhruvja Dec 21, 2023
0951dac
subxt update (#466)
kkast Dec 27, 2023
5578e26
fixed issues for token transfer
dhruvja Jan 2, 2024
2d57d61
added send transfer
dhruvja Jan 4, 2024
4901d83
changed rpc for devnet and added retry logic
dhruvja Jan 18, 2024
b5f8792
added docs for running solana cosmos tests locally
dhruvja Jan 18, 2024
d7aa062
adding branch info in instructions
dhruvja Jan 18, 2024
53f0e44
fix issues with url and added instruction to compile wasm
dhruvja Jan 19, 2024
a182a2a
use git deps and retry tx logic
dhruvja Jan 25, 2024
5b89480
Relayer documentation (#469)
Ciejo Feb 6, 2024
883cb03
Cosmos fixes and improvements; metric handling fix (#474)
vmarkushin Feb 9, 2024
851cd42
ready to deploy (#473)
Ciejo Feb 9, 2024
6972b2f
adding autogen types workflow (#475)
Ciejo Feb 21, 2024
19a0e26
added chunking and upgraded dependencies
dhruvja Feb 23, 2024
4c8c6e0
added method for signature verification and deliver with accounts
dhruvja Feb 29, 2024
ec24275
wip
mina86 Mar 3, 2024
64cbe06
call deliver with account when message is received
dhruvja Mar 4, 2024
df7f81a
remove redundant files in hyperspace/solana
dhruvja Mar 4, 2024
a3bd718
clean up and remove unused vars
dhruvja Mar 4, 2024
e5a45d1
moved general methods to utils file
dhruvja Mar 4, 2024
1c66e3e
fmt
dhruvja Mar 4, 2024
c442f0e
check receiver chain and source and perform transfer
dhruvja Mar 4, 2024
802d49f
fix send transfer logic
dhruvja Mar 4, 2024
5aff3ba
wip
mina86 Mar 4, 2024
14a8d75
wip
mina86 Mar 5, 2024
a829c5e
wip
mina86 Mar 5, 2024
6d3e9bd
use types crate from lts ibc
dhruvja Mar 5, 2024
54e39cc
wip
mina86 Mar 5, 2024
8e746e7
fmt
mina86 Mar 5, 2024
246855f
review
mina86 Mar 5, 2024
be8ec1b
update dep
mina86 Mar 7, 2024
bbae5fd
rm unneccesary code
dhruvja Mar 7, 2024
596ef1f
pull from upstream
dhruvja Mar 8, 2024
0667cf9
Update light-clients/cf-guest-cw/Cargo.toml
mina86 Mar 8, 2024
06902a9
wip
mina86 Mar 8, 2024
2cfd17e
wip
mina86 Mar 8, 2024
c574456
Merge branch 'a' of https://github.com/mina86/composable-ibc into hyp…
dhruvja Mar 8, 2024
c07338e
added guest-chain light client
dhruvja Mar 11, 2024
2a60fd8
implemented custom errors
dhruvja Mar 11, 2024
dd8252b
implement verification in clientdef trait
dhruvja Mar 11, 2024
82767b1
add guest client to light client
dhruvja Mar 11, 2024
0445be9
fix prootbuf derive
mina86 Mar 11, 2024
e01b6b3
fix to threadsafe
mina86 Mar 11, 2024
3d8b59b
deps
mina86 Mar 11, 2024
d821943
implement old ibc for cf-guest-cw
dhruvja Mar 12, 2024
5fcb865
impl anyclientstate proto
dhruvja Mar 13, 2024
1ecff56
Revert "Contract updates addressing the ibc-go wasm light client refa…
dhruvja Mar 13, 2024
2556c50
wip
dhruvja Mar 13, 2024
fcb6180
change contract interface
mina86 Mar 13, 2024
e328ea8
deps
mina86 Mar 13, 2024
6aa1b17
wip
mina86 Mar 14, 2024
fed2e67
wasm state
mina86 Mar 14, 2024
b952e90
wip
dhruvja Mar 14, 2024
165c1cb
update cosmwasm contract
dhruvja Mar 14, 2024
e5856e8
added unit test for testing client message payload
dhruvja Mar 15, 2024
e1e4946
fixed consensus state decoding
dhruvja Mar 15, 2024
9eee178
update cosmwasm
dhruvja Mar 15, 2024
5a2309d
implement guest blockchain cw light client
blasrodri Mar 15, 2024
7b2b8f0
A (#484)
mina86 Mar 15, 2024
30789ef
validate-delay (#485)
mina86 Mar 15, 2024
bfa68d6
wasm from tm
dhruvja Mar 15, 2024
708080e
fix
dhruvja Mar 15, 2024
00f9c54
Fix inconsistencies and update dependencies
dhruvja Mar 21, 2024
17f9b07
small changes
dhruvja Mar 23, 2024
18b5bd7
fix updates in solana
dhruvja Mar 25, 2024
0e3152a
Update emulated-light client and rename to cw-guest (#487)
mina86 Mar 28, 2024
8802199
small changes
dhruvja Mar 29, 2024
3367f2a
Use types from upstream cf-guest (#488)
mina86 Mar 30, 2024
78280a7
add signature chunking
dhruvja Mar 30, 2024
fce2ae2
Add Misbehaviour handling (#489)
mina86 Apr 3, 2024
88fd7b4
minor changes
dhruvja Apr 6, 2024
b1948bf
update deps
dhruvja Apr 8, 2024
c3347c8
fix ibc testkit
dhruvja Apr 8, 2024
ef4ad96
creating new connection in tests
dhruvja Apr 8, 2024
3af7873
filter events
dhruvja Apr 8, 2024
3d50c24
use arc mutex in solana client config
dhruvja Apr 8, 2024
76317e2
add config for solana and replace pubkey with string
dhruvja Apr 18, 2024
3fb9874
use latest version of solana ibc
dhruvja Apr 18, 2024
179e53a
CheckSubstitute and VerifyUpgrade (#491)
mina86 Apr 19, 2024
7065812
Merge remote-tracking branch 'up/hyperspace-solana' into HEAD
mina86 Apr 19, 2024
c20b403
fmt
mina86 Apr 19, 2024
28f649f
Cleanup error enum (#490)
mina86 Apr 19, 2024
253582d
update ibc rev
dhruvja Apr 19, 2024
998582c
Merge remote-tracking branch 'up/hyperspace-solana' into HEAD
mina86 Apr 19, 2024
fe0ec30
fmt
mina86 Apr 19, 2024
b17fb89
fix deps
mina86 Apr 22, 2024
9130331
fix hyper
mina86 Apr 22, 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
50 changes: 50 additions & 0 deletions .github/workflows/autogenerate-types-chains.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "Autogenerate types after chain upgrades"

on:
workflow_dispatch:
inputs:
chain:
description: "Chain to run the action for"
required: true
type: choice
options:
- composable
- picasso_kusama

jobs:
generate-types-and-open-pr:
runs-on: ubuntu-latest

if: github.event_name == 'workflow_dispatch'

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set Git Identity
run: |
git config --global user.email "${GITHUB_ACTOR_EMAIL}"
git config --global user.name "${GITHUB_ACTOR}"

- name: Set Environment Variables
run: |
echo "CHAIN=${{ github.event.inputs.chain }}" >> $GITHUB_ENV
if [[ "${{ github.event.inputs.chain }}" == "composable" ]]; then
echo "RELAY_URL=wss://rpc-pruned7200-0.polkadot-mainnet.sre-scratchpad-349209.composablenodes.tech" >> $GITHUB_ENV
echo "PARA_URL=wss://rpc-pruned3600-0.composable-mainnet.sre-scratchpad-349209.composablenodes.tech" >> $GITHUB_ENV
fi
echo "RELAY_URL=wss://rpc-pruned7200-0.kusama-mainnet.sre-scratchpad-349209.composablenodes.tech:443" >> $GITHUB_ENV
echo "PARA_URL=wss://rpc-pruned3600-0.picasso-mainnet.sre-scratchpad-349209.composablenodes.tech:443" >> $GITHUB_ENV

- name: Generate Types
run: |
cargo run -p codegen --bin codegen -- --path ./utils/subxt/generated/src/$CHAIN --relay-url $RELAY_URL --para-url $PARA_URL

- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Auto-generate types for $CHAIN"
branch: ${{ github.actor }}-branch
base: master
title: "Autogen: types update"
Loading
Loading