Skip to content

Commit

Permalink
Merge pull request #73 from laina-protocol/chore/remove-reflector-code
Browse files Browse the repository at this point in the history
chore: Delete Reflector code from our repo, instead curl it on build.
  • Loading branch information
kovipu authored Nov 24, 2024
2 parents fb8ae36 + c8b9538 commit 5f1845c
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 1,599 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build:
mkdir -p target/wasm32-unknown-unknown/release
curl -L https://github.com/reflector-network/reflector-contract/releases/download/v4.1.0_reflector-oracle_v4.1.0.wasm/reflector-oracle_v4.1.0.wasm -o ./target/wasm32-unknown-unknown/release/reflector_oracle.wasm
cargo build --release --target wasm32-unknown-unknown -p reflector-oracle-mock
cargo build --release --target wasm32-unknown-unknown -p reflector-oracle
cargo build --release --target wasm32-unknown-unknown -p loan_pool
cargo build --release --target wasm32-unknown-unknown -p loan_manager
16 changes: 0 additions & 16 deletions contracts/reflector/Cargo.toml

This file was deleted.

185 changes: 0 additions & 185 deletions contracts/reflector/src/extensions/env_extensions.rs

This file was deleted.

42 changes: 0 additions & 42 deletions contracts/reflector/src/extensions/i128_extensions.rs

This file was deleted.

4 changes: 0 additions & 4 deletions contracts/reflector/src/extensions/mod.rs

This file was deleted.

7 changes: 0 additions & 7 deletions contracts/reflector/src/extensions/u128_helper.rs

This file was deleted.

17 changes: 0 additions & 17 deletions contracts/reflector/src/extensions/u64_extensions.rs

This file was deleted.

Loading

0 comments on commit 5f1845c

Please sign in to comment.