-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert ECDSA Public Keys to EVM Addresses when building voters' merk…
…le tree (#721) * cargo fmt * flake.lock: Update Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11) → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/8670e496ffd093b60e74e7fa53526aa5920d09eb' (2023-05-01) → 'github:NixOS/nixpkgs/2646b294a146df2781b1ca49092450e8a32814e1' (2023-10-08) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/07f421299826591e2b28e03bbbe19a5292395afe' (2023-05-02) → 'github:oxalica/rust-overlay/c0df7f2a856b5ff27a3ce314f6d7aacf5fda546f' (2023-10-09) * Convert ECDSA Public Keys to EVM Addresses when building the merkle tree * pump runtime version * Update types * Pump pallet versions
- Loading branch information
Showing
21 changed files
with
480 additions
and
426 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
{ | ||
"name": "@webb-tools/dkg-substrate-types", | ||
"version": "0.0.6", | ||
"description": "Polkadot.js type definitions required for interacting with Webb's DKG protocol", | ||
"main": "./build/index.js", | ||
"author": "Webb Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "commonjs", | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"repository": "https://github.com/webb-tools/dkg-substrate.git", | ||
"bugs": { | ||
"url": "https://github.com/webb-tools/dkg-substrate/issues" | ||
}, | ||
"homepage": "https://github.com/webb-tools/dkg-substrate", | ||
"dependencies": { | ||
"@babel/cli": "^7.20.7", | ||
"@babel/core": "^7.20.12", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", | ||
"@babel/plugin-proposal-numeric-separator": "^7.18.6", | ||
"@babel/plugin-proposal-optional-chaining": "^7.20.7", | ||
"@babel/plugin-syntax-bigint": "^7.8.3", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-syntax-import-assertions": "^7.20.0", | ||
"@babel/plugin-syntax-import-meta": "^7.10.4", | ||
"@babel/plugin-syntax-top-level-await": "^7.14.5", | ||
"@babel/plugin-transform-regenerator": "^7.20.5", | ||
"@babel/plugin-transform-runtime": "^7.19.6", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@babel/register": "^7.18.9", | ||
"@babel/runtime": "^7.20.13", | ||
"babel-jest": "^29.4.1", | ||
"babel-plugin-module-extension-resolver": "^1.0.0", | ||
"babel-plugin-module-resolver": "^5.0.0", | ||
"babel-plugin-styled-components": "^2.0.7", | ||
"@open-web3/orml-types": "^1.1.3", | ||
"@polkadot/api-derive": "10.4.1", | ||
"@polkadot/dev": "^0.72.42", | ||
"@polkadot/typegen": "10.4.1", | ||
"@polkadot/types": "10.4.1", | ||
"fs-extra": "^11.1.1", | ||
"glob2base": "^0.0.12", | ||
"minimatch": "^7.4.2", | ||
"mkdirp": "^2.1.5" | ||
}, | ||
"devDependencies": { | ||
"@types/websocket": "^1.0.0", | ||
"rimraf": "3.0.2", | ||
"ts-node": "10.9.1", | ||
"tsconfig-paths": "^4.2.0", | ||
"typescript": "5.0.4", | ||
"websocket": "^1.0.31" | ||
}, | ||
"scripts": { | ||
"build": "node ./scripts/build.js", | ||
"build:interfaces": "yarn build:interfaces:defs && yarn build:interfaces:chain && rm ./src/interfaces/index.ts && rm ./src/interfaces/types.ts", | ||
"build:interfaces:defs": "npx ts-node node_modules/.bin/polkadot-types-from-defs --input ./src/interfaces --package @webb-tools/dkg-substrate-types --endpoint ./src/metadata/metadata.json", | ||
"build:interfaces:chain": "npx ts-node node_modules/.bin/polkadot-types-from-chain --endpoint ./src/metadata/metadata.json --output ./src/interfaces", | ||
"clean": "rm -rf build && rm -rf ts-types", | ||
"publish-types": "node ./scripts/publish-types.js", | ||
"update:metadata": "npx ts-node ./scripts/updateMetadata.ts" | ||
} | ||
"name": "@webb-tools/dkg-substrate-types", | ||
"version": "0.0.7", | ||
"description": "Polkadot.js type definitions required for interacting with Webb's DKG protocol", | ||
"main": "./build/index.js", | ||
"author": "Webb Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "commonjs", | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"repository": "https://github.com/webb-tools/dkg-substrate.git", | ||
"bugs": { | ||
"url": "https://github.com/webb-tools/dkg-substrate/issues" | ||
}, | ||
"homepage": "https://github.com/webb-tools/dkg-substrate", | ||
"dependencies": { | ||
"@babel/cli": "^7.20.7", | ||
"@babel/core": "^7.20.12", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", | ||
"@babel/plugin-proposal-numeric-separator": "^7.18.6", | ||
"@babel/plugin-proposal-optional-chaining": "^7.20.7", | ||
"@babel/plugin-syntax-bigint": "^7.8.3", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-syntax-import-assertions": "^7.20.0", | ||
"@babel/plugin-syntax-import-meta": "^7.10.4", | ||
"@babel/plugin-syntax-top-level-await": "^7.14.5", | ||
"@babel/plugin-transform-regenerator": "^7.20.5", | ||
"@babel/plugin-transform-runtime": "^7.19.6", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@babel/register": "^7.18.9", | ||
"@babel/runtime": "^7.20.13", | ||
"babel-jest": "^29.4.1", | ||
"babel-plugin-module-extension-resolver": "^1.0.0", | ||
"babel-plugin-module-resolver": "^5.0.0", | ||
"babel-plugin-styled-components": "^2.0.7", | ||
"@open-web3/orml-types": "^1.1.3", | ||
"@polkadot/api-derive": "10.4.1", | ||
"@polkadot/dev": "^0.72.42", | ||
"@polkadot/typegen": "10.4.1", | ||
"@polkadot/types": "10.4.1", | ||
"fs-extra": "^11.1.1", | ||
"glob2base": "^0.0.12", | ||
"minimatch": "^7.4.2", | ||
"mkdirp": "^2.1.5" | ||
}, | ||
"devDependencies": { | ||
"@types/websocket": "^1.0.0", | ||
"rimraf": "3.0.2", | ||
"ts-node": "10.9.1", | ||
"tsconfig-paths": "^4.2.0", | ||
"typescript": "5.0.4", | ||
"websocket": "^1.0.31" | ||
}, | ||
"scripts": { | ||
"build": "node ./scripts/build.js", | ||
"build:interfaces": "yarn build:interfaces:defs && yarn build:interfaces:chain && rm ./src/interfaces/index.ts && rm ./src/interfaces/types.ts", | ||
"build:interfaces:defs": "npx ts-node node_modules/.bin/polkadot-types-from-defs --input ./src/interfaces --package @webb-tools/dkg-substrate-types --endpoint ./src/metadata/metadata.json", | ||
"build:interfaces:chain": "npx ts-node node_modules/.bin/polkadot-types-from-chain --endpoint ./src/metadata/metadata.json --output ./src/interfaces", | ||
"clean": "rm -rf build && rm -rf ts-types", | ||
"publish-types": "node ./scripts/publish-types.js", | ||
"update:metadata": "npx ts-node ./scripts/updateMetadata.ts" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.