mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
fix(incremental-merkle-tree.sol): add deploy logs for poseidon libraries
This commit is contained in:
@@ -7,6 +7,10 @@ task("deploy:ibt-test", "Deploy an IncrementalBinaryTreeTest contract")
|
||||
const PoseidonT3Factory = await ethers.getContractFactory("PoseidonT3")
|
||||
const PoseidonT3 = await PoseidonT3Factory.deploy()
|
||||
|
||||
if (logs) {
|
||||
console.info(`PoseidonT3 library has been deployed to: ${PoseidonT3.address}`)
|
||||
}
|
||||
|
||||
const IncrementalBinaryTreeLibFactory = await ethers.getContractFactory("IncrementalBinaryTree", {
|
||||
libraries: {
|
||||
PoseidonT3: PoseidonT3.address
|
||||
|
||||
@@ -7,6 +7,10 @@ task("deploy:incremental-binary-tree-test", "Deploy an IncrementalBinaryTreeTest
|
||||
const PoseidonT3Factory = await ethers.getContractFactory("PoseidonT3")
|
||||
const PoseidonT3 = await PoseidonT3Factory.deploy()
|
||||
|
||||
if (logs) {
|
||||
console.info(`PoseidonT3 library has been deployed to: ${PoseidonT3.address}`)
|
||||
}
|
||||
|
||||
const IncrementalBinaryTreeLibFactory = await ethers.getContractFactory("IncrementalBinaryTree", {
|
||||
libraries: {
|
||||
PoseidonT3: PoseidonT3.address
|
||||
|
||||
@@ -7,6 +7,10 @@ task("deploy:iqt-test", "Deploy an IncrementalQuinTreeTest contract")
|
||||
const PoseidonT6Factory = await ethers.getContractFactory("PoseidonT6")
|
||||
const PoseidonT6 = await PoseidonT6Factory.deploy()
|
||||
|
||||
if (logs) {
|
||||
console.info(`PoseidonT6 library has been deployed to: ${PoseidonT6.address}`)
|
||||
}
|
||||
|
||||
const IncrementalQuinTreeLibFactory = await ethers.getContractFactory("IncrementalQuinTree", {
|
||||
libraries: {
|
||||
PoseidonT6: PoseidonT6.address
|
||||
|
||||
Reference in New Issue
Block a user