|
6 | 6 | tenderly_createVnet, |
7 | 7 | } from "@bgd-labs/toolbox"; |
8 | 8 | import { checkbox, select, Separator, input } from "@inquirer/prompts"; |
9 | | -import * as addresses from "@bgd-labs/aave-address-book"; |
| 9 | +import * as addresses from "@aave-dao/aave-address-book"; |
10 | 10 | import { Address, parseAbi, zeroAddress } from "viem"; |
11 | 11 | import { readContract } from "viem/actions"; |
12 | 12 | import { toAccount } from "viem/accounts"; |
@@ -145,21 +145,24 @@ export function registerAaveVNet(program: Command) { |
145 | 145 | }); |
146 | 146 | } catch (e) {} |
147 | 147 |
|
148 | | - await controllerContract.write.createPayload([ |
| 148 | + await controllerContract.write.createPayload( |
149 | 149 | [ |
150 | | - { |
151 | | - target: address as Address, |
152 | | - accessLevel: 1, |
153 | | - callData: "0x", |
154 | | - withDelegateCall: true, |
155 | | - signature: "execute()", |
156 | | - value: 0n, |
157 | | - }, |
| 150 | + [ |
| 151 | + { |
| 152 | + target: address as Address, |
| 153 | + accessLevel: 1, |
| 154 | + callData: "0x", |
| 155 | + withDelegateCall: true, |
| 156 | + signature: "execute()", |
| 157 | + value: 0n, |
| 158 | + }, |
| 159 | + ], |
158 | 160 | ], |
159 | | - ], { |
160 | | - account: toAccount(sender), |
161 | | - chain: vnet.walletClient.chain, |
162 | | - }); |
| 161 | + { |
| 162 | + account: toAccount(sender), |
| 163 | + chain: vnet.walletClient.chain, |
| 164 | + }, |
| 165 | + ); |
163 | 166 | await makePayloadExecutableOnTestClient( |
164 | 167 | vnet.testClient, |
165 | 168 | controllerAddress, |
|
0 commit comments