Skip to content

Commit 8ef5286

Browse files
authored
Merge pull request #76 from aave/feat/mpsc0x/gho-res-depl
feat: added gho reserve configurator and script
2 parents 9b1e7d5 + 65f0458 commit 8ef5286

28 files changed

+3051
-1981
lines changed

.github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
CARGO_TERM_COLOR: always
1111
GITHUB_ACTIONS: true
1212
APTOS_NETWORK: local
13-
MOVE_VERSION: 2.1
13+
MOVE_VERSION: 2.2
1414
COMPILER_VERSION: 2.0
1515
ARTIFACTS_LEVEL: all
1616
DEFAULT_FUND_AMOUNT: 40000000

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
env:
1313
CARGO_TERM_COLOR: always
1414
GITHUB_ACTIONS: true
15-
MOVE_VERSION: 2.1
15+
MOVE_VERSION: 2.2
1616
COMPILER_VERSION: 2.0
1717
ARTIFACTS_LEVEL: all
1818

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
CI: true
1313
GITHUB_ACTIONS: true
1414
APTOS_NETWORK: local
15-
MOVE_VERSION: 2.1
15+
MOVE_VERSION: 2.2
1616
COMPILER_VERSION: 2.0
1717
ARTIFACTS_LEVEL: all
1818
AAVE_LARGE_PACKAGES_PRIVATE_KEY: ${{ secrets.GH_AAVE_LARGE_PACKAGES_PRIVATE_KEY }} # temp hack: remove after large packages is no longer needed

.github/workflows/move-audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ env:
99
CARGO_TERM_COLOR: always
1010
GITHUB_ACTIONS: true
1111
APTOS_NETWORK: local
12-
MOVE_VERSION: 2
13-
COMPILER_VERSION: 2
12+
MOVE_VERSION: 2.2
13+
COMPILER_VERSION: 2.0
1414
ARTIFACTS_LEVEL: all
1515
DEFAULT_FUND_AMOUNT: 40000000
1616
DEFAULT_FUNDER_PRIVATE_KEY: ${{ secrets.GH_DEFAULT_FUNDER_PRIVATE_KEY }}

.github/workflows/move-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ env:
99
CARGO_TERM_COLOR: always
1010
GITHUB_ACTIONS: true
1111
APTOS_NETWORK: local
12-
MOVE_VERSION: 2
13-
COMPILER_VERSION: 2
12+
MOVE_VERSION: 2.2
13+
COMPILER_VERSION: 2.0
1414
ARTIFACTS_LEVEL: all
1515
DEFAULT_FUND_AMOUNT: 40000000
1616
DEFAULT_FUNDER_PRIVATE_KEY: ${{ secrets.GH_DEFAULT_FUNDER_PRIVATE_KEY }}

.github/workflows/testnet-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# common settings
3030
CARGO_TERM_COLOR: always
3131
GITHUB_ACTIONS: true
32-
MOVE_VERSION: 2.1
32+
MOVE_VERSION: 2.2
3333
COMPILER_VERSION: 2.0
3434
ARTIFACTS_LEVEL: all
3535
DEFAULT_FUND_AMOUNT: 100000000

.github/workflows/typescript-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
CARGO_TERM_COLOR: always
1111
GITHUB_ACTIONS: true
1212
APTOS_NETWORK: local
13-
MOVE_VERSION: 2.1
13+
MOVE_VERSION: 2.2
1414
COMPILER_VERSION: 2.0
1515
ARTIFACTS_LEVEL: all
1616
DEFAULT_FUND_AMOUNT: 100000000

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
CARGO_TERM_COLOR: always
1111
GITHUB_ACTIONS: true
1212
APTOS_NETWORK: local
13-
MOVE_VERSION: 2.1
13+
MOVE_VERSION: 2.2
1414
COMPILER_VERSION: 2.0
1515
ARTIFACTS_LEVEL: all
1616
DEFAULT_FUND_AMOUNT: 40000000

.secrets.baseline

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"filename": "aave-core/aave-config/sources/error_config.move",
134134
"hashed_secret": "ba29d6bfac4cd7b866a3d05103c38031a921ba88",
135135
"is_verified": false,
136-
"line_number": 1176
136+
"line_number": 1184
137137
}
138138
],
139139
"aave-core/aave-config/tests/error_tests.move": [
@@ -11151,5 +11151,5 @@
1115111151
}
1115211152
]
1115311153
},
11154-
"generated_at": "2025-09-15T10:49:44Z"
11154+
"generated_at": "2025-12-01T11:10:28Z"
1115511155
}

Deployment.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,23 @@ or reusing an existing one.
111111
After that, package publishing and the setup steps will be executed by
112112
themselves. Setup also goes through a multisig account on localnet, but no
113113
additional approval is needed and the proposal execution is automated as well.
114+
115+
### GHO reserve deployment
116+
117+
If the protocol is already deployed, one has to first run to re-initialize the initial deployer config for the gho configuration to be made available for the `setup-gho-reserve` method
118+
119+
```bash
120+
./deploy.py testnet --deployer "<deployer_profile_name>" admin-reset-data
121+
```
122+
123+
Then, adding the gho reserve to the protocol is simply a matter of running:
124+
125+
```bash
126+
./deploy.py testnet --deployer "<deployer_profile_name>" setup-gho-reserve
127+
```
128+
129+
Finally, the direct minter address (whether it is an object or account) has to be given the risk admin role via:
130+
131+
```bash
132+
./deploy.py testnet --deployer "<deployer_profile_name>" --gho-direct-minter "<gho_direct_minter_address>" add-risk-admin
133+
```

0 commit comments

Comments
 (0)