Skip to content

Commit

Permalink
remove incorrect subgraph id calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Jun 4, 2024
1 parent 07644d2 commit 65dc41b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/tasks/runners/maciPubkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*
* Usage: hardhat maci-pubkey --macisk <secret key>
*/
import { id } from 'ethers'
import { task } from 'hardhat/config'
import { PubKey, PrivKey, Keypair } from '@clrfund/common'

Expand All @@ -26,8 +25,5 @@ task('maci-pubkey', 'Get the serialized MACI public key')
}
const pubKey = new PubKey([BigInt(x), BigInt(y)])
console.log(`Public Key: ${pubKey.serialize()}`)

const subgraphId = id(x + '.' + y)
console.log(`Subgraph id: ${subgraphId}`)
}
})

0 comments on commit 65dc41b

Please sign in to comment.