Skip to content

Commit

Permalink
feat: event parameter types changed
Browse files Browse the repository at this point in the history
  • Loading branch information
b-d1 committed Nov 5, 2021
1 parent cf48834 commit 46fe052
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/IRegistryContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface IRegistryContract {
/**
@notice A processed registration event
*/
event RegistrationEvent(bytes indexed pubkey, bytes indexed idCommitment, bytes signature);
event RegistrationEvent(bytes pubkey, bytes idCommitment, bytes signature);

/**
* @notice Record the registration related parameters in the blockchain's logs and emit Registration event
Expand Down
5 changes: 5 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dotenvConfig({ path: resolve(__dirname, "./.env") });
const chainIds = {
goerli: 5,
hardhat: 31337,
// localhost: 1337,
kovan: 42,
mainnet: 1,
rinkeby: 4,
Expand Down Expand Up @@ -58,6 +59,10 @@ const config: HardhatUserConfig = {
src: "./contracts",
},
networks: {
localhost: {
url: "http://localhost:8545",
chainId: chainIds.hardhat,
},
hardhat: {
accounts: {
mnemonic,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
"test": "hardhat test",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain",
"chain": "hardhat node --network hardhat"
},
"dependencies": {
"bigint-conversion": "^2.2.1"
Expand Down

0 comments on commit 46fe052

Please sign in to comment.