Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ For Phoenix:
```
cd protocols/phoenix-contracts/
make build
cp target/wasm32-unknown-unknown/release/*.wasm ../../contracts/adapters/phoenix/phoenix_contracts/
cp target/wasm32v1-none/release/*.wasm ../../contracts/adapters/phoenix/phoenix_contracts/

# make sure the tests still pass
cd /workspace/contracts/adapters/phoenix
rustup install 1.79.0 # Phoenix needs to downgrade
rustup override set 1.79.0
rustup target add wasm32-unknown-unknown
rustup target add wasm32v1-none
make test

```
Expand All @@ -98,7 +98,7 @@ For Aqua:
cd protocols/aqua
npm install -g @go-task/cli
task build
cp target/wasm32-unknown-unknown/release/*.wasm ../../contracts/adapters/aqua/aqua_contracts/
cp target/wasm32v1-none/release/*.wasm ../../contracts/adapters/aqua/aqua_contracts/
```

## 2. Run Tests and Scout Audit
Expand Down Expand Up @@ -140,15 +140,15 @@ yarn build
yarn setup-phoenix testnet # To Setup Phoenix. Now you will have the new deployed addresses in .soroban/testnet.contrats.json

```
### 4.2 Deploy the Aggregator Aggregator
### 4.2 Deploy the Aggregator

To deploy the smart contracts you first would need to build the source with
```bash
cd /workspace/contracts
make build
```
The .wasm files will already be optimized and will be available in
`/workspace/contracts/target/wasm32-unknown-unknown/release/` with a name like `[NAME-OF-CONTRACT].optimized.wasm`
`/workspace/contracts/target/wasm32v1-none/release/` with a name like `[NAME-OF-CONTRACT].optimized.wasm`

after the WASMs are built you can run this to deploy, networks can be `testnet`, `standalone`, `futurenet`, `mainnet`. The RPCs will be taken from the `configs.json` file.

Expand All @@ -171,7 +171,7 @@ when deployment is completed you can find the addresses in ./.soroban directory
Run javascript tests
```
cd /workspace
yarn test
yarn test testnet
```


Expand Down
6 changes: 3 additions & 3 deletions configs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"protocolVersion": "22",
"previewHash": "22.0.1@sha256:e020c9c3925bd83ddfbde7b69397a0e6aa1e68d4a4a78eb9fac5a37875f8961a",
"quickstartHash": "latest@sha256:b7f5a1b2c8ec06cb30a1b79b377ad2bc762cf8cb69ce1fcf7b91185b2acd8a15",
"protocolVersion": "23",
"previewHash": "23@sha256:2981e593f04a0fa11f704c83d1a6a2fc86ae76ce9f74a4e365ed6da579430c1c",
"quickstartHash": "pr753-latest@sha256:563165b9891cc967cb99981ad3d9de1131d25120bcede931eaf3637ee257e349",
"networkConfig": [
{
"network": "mainnet",
Expand Down
Loading