Skip to content

Commit db9fdb7

Browse files
committed
fix
1 parent b00ac79 commit db9fdb7

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

src/tools/deploy.ts

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! Call with deno task deploy [--filter <filter>]
22

3+
import { parseEther } from 'viem'
34
import { deploy } from './lib/index.ts'
45

56
/**
@@ -17,23 +18,14 @@ import { deploy } from './lib/index.ts'
1718
// await deploy({ name: 'ATracing', args: [bAddress] })
1819
// await deploy({ name: 'Storage', args: [] })
1920

20-
await deploy({
21-
name: 'Fibonacci',
21+
const address = await deploy({
22+
name: 'Dao',
2223
args: [],
24+
value: parseEther('100'),
2325
})
2426

25-
// // await deploy({
26-
// // name: 'DaoAttacker',
27-
// // args: [address, 1n],
28-
// // value: parseEther('1'),
29-
// // })
30-
//
31-
// await deploy({
32-
// name: 'PretraceFixtureChild',
33-
// args: [],
34-
// })
35-
//
36-
// await deploy({
37-
// name: 'PretraceFixture',
38-
// args: [],
39-
// })
27+
await deploy({
28+
name: 'DaoAttacker',
29+
args: [address, 3n],
30+
value: parseEther('1'),
31+
})

0 commit comments

Comments
 (0)