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

feat: soroban xcall contracts #297

Merged
merged 48 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
9d65961
feat: centralized connection contract init
bishalbikram Apr 15, 2024
77157da
feat: use bytes for msg type
bishalbikram Apr 15, 2024
bea980c
feat: init xcall contract
bishalbikram May 2, 2024
b711630
feat: add rlp encoding library
bishalbikram May 2, 2024
f0e5761
feat: update message types
bishalbikram May 3, 2024
36cad01
fix: rlp decode for nested list
bishalbikram May 6, 2024
576af30
feat: integrate rlp encoding
bishalbikram May 6, 2024
123b33e
feat: add unit tests
bishalbikram May 6, 2024
4ad1074
chore: create interfaces
bishalbikram May 8, 2024
d00f276
feat: add mock dapp multi
bishalbikram May 8, 2024
f97ac2d
fix: require auth for token transfer
bishalbikram May 8, 2024
4fa2334
fix: storage getter method
bishalbikram May 8, 2024
61225a1
fix: add case for invalid length
bishalbikram May 8, 2024
75e0b74
fix: message type encoding and decoding
bishalbikram May 8, 2024
664edaa
fix: transfer token flow
bishalbikram May 12, 2024
cf835ce
chore: create xcall lib
bishalbikram May 16, 2024
ed4f04a
chore: return message sequence in mock dapp send call
bishalbikram May 17, 2024
b6f1303
fix: rlp decode fallback case
bishalbikram May 20, 2024
61430f0
ci: add stellar build contracts
DeepakBomjan May 13, 2024
bb9faa1
ci: add stellar build contracts
DeepakBomjan May 13, 2024
e97cc68
ci: add stellar build contracts
DeepakBomjan May 13, 2024
6bdc808
ci: update version
DeepakBomjan May 13, 2024
51dc38c
ci: debug
DeepakBomjan May 16, 2024
d3d9a59
update rust version
DeepakBomjan May 20, 2024
6298b79
ci:debug
DeepakBomjan May 20, 2024
de71e57
ci: remove rust cache
DeepakBomjan May 20, 2024
28b84bf
fix: event emit data
bishalbikram May 20, 2024
f705354
fix: dapp handle call message signature
bishalbikram May 20, 2024
128ae3e
ci: add soroban build tool
DeepakBomjan May 21, 2024
95d9c72
Merge pull request #318 from icon-project/ci/add-stellar-test-workflow
bishalbikram May 21, 2024
f14f88e
fix: rlp deocde for nested list
bishalbikram May 22, 2024
5ddbfa0
chore: remove unnecessary self use
bishalbikram May 23, 2024
4a5fcaa
fix: patch internal audit review issues (#342)
bishalbikram Jul 9, 2024
4f9c90a
chore: update soroban-sdk version to 21.6.0
bishalbikram Sep 3, 2024
8fb28c4
feat: add rent extending mechanism for storage
bishalbikram Sep 3, 2024
333ef3f
feat: make contracts upgradable
bishalbikram Sep 3, 2024
1ccf084
fix: update dapp handle_call_message function signature
bishalbikram Sep 3, 2024
274a7d0
fix: rlp decode for empty list
bishalbikram Sep 6, 2024
a06e138
fix: authorize connection in handle message
bishalbikram Sep 9, 2024
ee811de
chore: update cs_message_request parameter order
bishalbikram Sep 10, 2024
fe5b806
feat: add deviation doc for stellar
bishalbikram Sep 10, 2024
53424f4
fix: remove reply state feature
bishalbikram Sep 12, 2024
1c1cb6c
fix: call executed event added in persistent type
bishalbikram Sep 12, 2024
8268604
chore: update stellar deviation doc
bishalbikram Sep 12, 2024
a62f4ae
fix: update Cargo.lock
bishalbikram Sep 16, 2024
c49ce32
fix: optimize stellar script
Itshyphen Sep 17, 2024
4dd83e0
Merge branch 'soroban/xcall-multi' of github.com:icon-project/xcall-m…
Itshyphen Sep 17, 2024
89e9ac8
Merge branch 'main' into soroban/xcall-multi
gcranju Sep 17, 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
43 changes: 43 additions & 0 deletions .github/workflows/stellar-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build and Test Stellar contracts
on:
push:
branches:
- '**'
pull_request:
branches:
- main
paths:
- contracts/soroban/**
- libraries/common/rust/**
- .github/workflows/stellar-build-and-test.yml

defaults:
run:
working-directory: contracts/soroban
jobs:
Build:
name: Build Stellar Contracts
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: true

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.78.0
target: wasm32-unknown-unknown
override: true
profile: minimal

- name: Install wasm32
run: |
rustup target add wasm32-unknown-unknown
cargo install --locked soroban-cli

- name: Build & Test Stellar Contracts
working-directory: contracts/soroban
run: |
soroban contract build
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

### Soroban ###
.soroban
test_snapshots

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

Expand Down
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[workspace]
members = [
"contracts/cosmwasm-vm/*",

"contracts/soroban/contracts/*",
"contracts/soroban/libs/*"
]

[workspace.package]
Expand Down Expand Up @@ -37,6 +38,8 @@ cw-common={ git="https://github.com/icon-project/IBC-Integration.git", branch =
cw-mock-dapp = {path="contracts/cosmwasm-vm/cw-mock-dapp"}
cw-mock-dapp-multi = { path="contracts/cosmwasm-vm/cw-mock-dapp-multi"}

soroban-sdk = "21.6.0"

[profile.release]
opt-level = 'z'
debug = false
Expand Down
Loading
Loading