Skip to content

Commit

Permalink
Upgrade forc
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoplavkov committed Oct 7, 2024
1 parent e902f19 commit 37eee3a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies = [

[[package]]
name = "core"
source = "path+from-root-4BA3A18A2D620E67"
source = "path+from-root-0F7AE5E23B79F5C1"

[[package]]
name = "create_pool_and_add_liquidity_script"
Expand Down Expand Up @@ -47,7 +47,7 @@ dependencies = [

[[package]]
name = "std"
source = "git+https://github.com/fuellabs/sway?tag=v0.64.0#2156bfbbee01ffb85bfca2aae8f185f8e7c715a4"
source = "git+https://github.com/fuellabs/sway?tag=v0.65.1#3a9c171cd43611d7ccad94ab66a5093c6634717b"
dependencies = ["core"]

[[package]]
Expand Down
26 changes: 26 additions & 0 deletions tools/fetch_abis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

set -ex

mkdir -p tmp_abis
cd tmp_abis

echo "Fetching latest Mira v1 core sources"
git clone [email protected]:mira-amm/mira-v1-core.git

echo "Building Mira v1 core"

cd mira-v1-core
forc build --release

cd ../..

rm -rf fixtures

mkdir -p fixtures/mira-amm
mkdir -p fixtures/mock-token

mv -f tmp_abis/mira-v1-core/contracts/mira_amm_contract/out/release/* fixtures/mira-amm
mv -f tmp_abis/mira-v1-core/contracts/mocks/mock_token/out/release/* fixtures/mock-token

rm -rf tmp_abis

0 comments on commit 37eee3a

Please sign in to comment.