Skip to content

Commit

Permalink
Encoder (#139)
Browse files Browse the repository at this point in the history
* Encoders first draft

* PoolId introduced

* PoolLoader introduced

* PoolLoaders introduced. First draft

* swapline_encoder bugfix

* swap opcodes encoders refactored

* pre-release, tests

* taplo fix

* encoder simplification

* loom-defi-pools depends on alloy

* protocol_loader introduced in PoolLoader trait, PoolProtocolLoaders replaces CurvePoolLoader

* multicaller crate deep refactoring. still in progress

* more updates

* steth + wsteth

* swap to_swap_steps fix, uniswap3 encode flash amount fix

* doc fix, ci bump toolchain

---------

Co-authored-by: dexloom <[email protected]>
  • Loading branch information
dexloom and dexloom authored Dec 18, 2024
1 parent 2dab9e8 commit e166318
Show file tree
Hide file tree
Showing 70 changed files with 1,539 additions and 1,440 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Loom

on:
push:
branches: [main]
branches: [ main ]
pull_request_target:
branches: [main]
branches: [ main ]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- uses: dtolnay/rust-toolchain@clippy
- name: install taplo
env:
version: "0.9.3"
version: "0.9.3"
run: |
curl -Ls "https://github.com/tamasfe/taplo/releases/download/${{ env.version }}/taplo-full-linux-x86_64.gz" | \
gzip -d > taplo && \
Expand All @@ -130,13 +130,13 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: dtolnay/rust-toolchain@clippy
with:
toolchain: "1.82"
toolchain: "1.83"
- uses: Swatinem/rust-cache@v2
- uses: arduino/setup-protoc@v3

- run: 'echo "pub const KEY_ENCRYPTION_PWD: [u8; 16] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];" > crates/types/entities/src/private.rs'
# workaround for latest stable rust
- run: cargo +1.82 clippy --all-targets --all-features -- -D warnings
- run: cargo +1.83 clippy --all-targets --all-features -- -D warnings

deny:
if: github.repository == 'dexloom/loom'
Expand Down
Loading

0 comments on commit e166318

Please sign in to comment.