Skip to content

Commit

Permalink
Support batch mutiple steps into a single tx (#82)
Browse files Browse the repository at this point in the history
* remove rollup storage

* remove cache

* remove recover check

* remote cloud storage r/w

* add comments

* check tx with off-chin indexer

* fix clippy

* simply graph setup

* delete unused code

* remove graph

* update

* 1) simplify executor setup
  - remove rollup setup
  - remove graph setup
  - introduce remote storage setup
2) update console.js
3) update play document

* update

* fix storage writing

* reduce storage reading

* fix

* comment gas estimation in uniswap executor

* update console.js

* bring back gas estimation

* task retry support

* ensure executor running when retry

* fix task destroy

* claim during task init

* merge various steps into one

* update

* introduce Call

* impl UniswapV2 action

* more actions

* create actions

* remove index

* impl Tokenizable for Call

* upgrade dependencies

* step execution

* call update

* step update

* fix balance settlement

* step merge

* assign call_index when merge

* merge claim and first step

* update

* fix action lookup

* split task logic to multiple file

* fix spend amount when claim

* fix recipient apply and test

* fix step merge and test

* add astar sub > evm transactor

* upgrade to XCM v3

* update

* fix deployment

* fix khala endpoint

* fix call build

* update

* fix batch call failure

* fix bridge balance check

* fix xtransfer weight

* asset registry

* update

* get running task

* fix error InvalidKey

* update

* rename

* update CI script

* 2rd try: update CI script

* 3rd try: update CI script

* update according to review

* fix clippy

* fmt

* change clippy rules
  • Loading branch information
tolak authored Nov 23, 2023
1 parent fbab12e commit a6a21ec
Show file tree
Hide file tree
Showing 90 changed files with 5,169 additions and 12,615 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-contract-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
submodules: "true"
- uses: ./.github/actions/install_toolchain
- name: Install cargo-contract
run: rustup component add rust-src && cargo install cargo-dylint && cargo install dylint-link && cargo install cargo-contract --version ^2 --force
run: rustup component add rust-src && cargo install cargo-contract --version ^2 --force --locked
- name: Install Binaryen
run: "cd /tmp \
&& curl -OL https://github.com/WebAssembly/binaryen/releases/download/version_110/binaryen-version_110-x86_64-linux.tar.gz \
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/regular.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Index regular tests
name: inDEX regular tests

on: [push, pull_request]

Expand All @@ -14,8 +14,6 @@ jobs:
with:
submodules: "true"
- uses: ./.github/actions/install_toolchain
- name: Run cargo tests for index
run: cd index && cargo test -vv
- name: Run cargo tests for contracts
run: cargo test -vv

Expand All @@ -29,10 +27,8 @@ jobs:
- uses: ./.github/actions/install_toolchain
- name: Install clippy
run: rustup component add clippy
- name: Run cargo clippy for index
run: cd index/ && cargo clippy --all-targets -- -D warnings
- name: Run cargo clippy for contracts
run: cargo clippy -- --allow clippy::let_unit_value --allow clippy::nonminimal_bool -D warnings
run: cargo clippy -- --allow clippy::let_unit_value --allow clippy::nonminimal_bool --allow clippy::uninlined-format-args -D warnings

cargo-fmt:
name: Run cargo fmt
Expand Down
Loading

0 comments on commit a6a21ec

Please sign in to comment.