Skip to content

Commit

Permalink
[ION-99] fix simulation error + restruct the way to testing (#59)
Browse files Browse the repository at this point in the history
* parse all pools response

* simulation works

* approx pow

* remove rust_decimal

* fix zero problem

* refactor

* schema support for CL pools

* cleanup

* not to ignore unsupported pool

* pool tester

* make test-tube querier

* it works

* make test works

* fix calculation

* use non aarch wasm file

* use pre-compiled test querier

* generator

* finish build script

* support cl pool just query swap

* move to test-utils

* use upstream

* fix: apply code review

* fix: compare simulation result with actual query result

* remove pub

* move test-utils into new repo

* relative

* one file contract

* fix: review

* apply something

* use 1.69.0

* remove airdrop script

* remove pool build script

* add test data

* remove processed data

* working with test-tube
  • Loading branch information
byeongsu-hong authored Oct 25, 2023
1 parent c67ca1a commit 8a886ee
Show file tree
Hide file tree
Showing 44 changed files with 40,080 additions and 1,417 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -33,11 +33,15 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Load toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: wasm32-unknown-unknown
- name: Install Rust
run: rustup default 1.69.0

- name: Install Rust
run: rustup update nightly

- name: Install target
run: rustup target add wasm32-unknown-unknown

- run: cargo fetch --verbose
- run: cargo build
- run: cargo wasm
Expand Down
Loading

0 comments on commit 8a886ee

Please sign in to comment.