Skip to content

Commit

Permalink
refactor(crypto)!: remove duplicate crypto sign command
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `crypto sign` command removed
Use `account sign` instead.
  • Loading branch information
davidyuk committed Apr 24, 2023
1 parent 37b9965 commit bb39f07
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 100 deletions.
1 change: 0 additions & 1 deletion CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Commands:
name AENS system
tx Transaction builder
oracle Interact with oracles
crypto Crypto helpers
config [options] Print the current sdk configuration
select-node [nodeUrl] Specify node to use in other commands
select-compiler [compilerUrl] Specify compiler to use in other commands
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ Commands:
name AENS system
tx Transaction builder
oracle Interact with oracles
crypto Crypto helpers
config [options] Print the current sdk configuration
select-node [nodeUrl] Specify node to use in other commands
select-compiler [compilerUrl] Specify compiler to use in other commands
Expand Down
2 changes: 0 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
},
"dependencies": {
"@aeternity/aepp-sdk": "^13.0.0",
"aes-js": "^3.1.2",
"bignumber.js": "^9.1.1",
"commander": "^10.0.0",
"env-paths": "^2.2.1",
"fs-extra": "^11.1.1",
"prompts": "^2.4.2",
"sha.js": "^2.4.11",
"update-notifier": "^6.0.2"
},
"devDependencies": {
Expand Down
5 changes: 0 additions & 5 deletions src/aecli-crypto.js

This file was deleted.

30 changes: 0 additions & 30 deletions src/commands/crypto.js

This file was deleted.

1 change: 0 additions & 1 deletion src/commands/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const EXECUTABLE_CMD = [
{ name: 'name', desc: 'AENS system' },
{ name: 'tx', desc: 'Transaction builder' },
{ name: 'oracle', desc: 'Interact with oracles' },
{ name: 'crypto', desc: 'Crypto helpers' },
];
// You get get CLI version by exec `aecli version`
program.version(process.env.npm_package_version);
Expand Down
38 changes: 0 additions & 38 deletions src/utils/encrypt-key.js

This file was deleted.

19 changes: 0 additions & 19 deletions test/crypto.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export async function executeProgram(program, args) {
const allArgs = [
...args.map((arg) => arg.toString()),
...[
'config', 'sign', 'select-node', 'select-compiler',
'config', 'select-node', 'select-compiler',
].includes(args[0]) ? [] : ['--url', url],
...[
'compile', 'deploy', 'call', 'encode-calldata', 'decode-call-result',
Expand Down

0 comments on commit bb39f07

Please sign in to comment.