Skip to content

Commit 8fc3c15

Browse files
committed
Revert "chore: add default native proving for cli wallet retry (#13028)"
This reverts commit b2f4785.
1 parent 531b321 commit 8fc3c15

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

yarn-project/cli-wallet/src/bin/index.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { PXEWrapper } from '../utils/pxe_wrapper.js';
1717
const userLog = createConsoleLogger();
1818
const debugLogger = createLogger('wallet');
1919

20-
const { WALLET_DATA_DIRECTORY = join(homedir(), '.aztec/wallet') } = process.env;
20+
const { WALLET_DATA_DIRECTORY = join(homedir(), '.aztec/wallet'), PXE_PROVER = 'none' } = process.env;
2121

2222
function injectInternalCommands(program: Command, log: LogFn, db: WalletDB) {
2323
program
@@ -77,12 +77,7 @@ async function main() {
7777
.description('Aztec wallet')
7878
.version(walletVersion)
7979
.option('-d, --data-dir <string>', 'Storage directory for wallet data', WALLET_DATA_DIRECTORY)
80-
.addOption(
81-
new Option('-p, --prover <string>', 'The type of prover the wallet uses (only applies if not using a remote PXE)')
82-
.choices(['wasm', 'native', 'none'])
83-
.env('PXE_PROVER')
84-
.default('native'),
85-
)
80+
.option('-p, --prover <string>', 'wasm|native|none', PXE_PROVER)
8681
.addOption(
8782
new Option('--remote-pxe', 'Connect to an external PXE RPC server, instead of the local one')
8883
.env('REMOTE_PXE')

yarn-project/cli-wallet/test/flows/shared/setup.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ command="${COMMAND:-"node --no-warnings $root/yarn-project/cli-wallet/dest/bin/i
1414
flows=$(pwd)
1515
cd $root/noir-projects/noir-contracts
1616

17-
PXE_PROVER="none"
18-
1917
function aztec-wallet {
2018
echo_header aztec-wallet "$@"
2119
$command "$@"

yarn-project/cli-wallet/test/test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ done
3333
set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters
3434

3535
export WALLET_DATA_DIRECTORY="${LOCATION}/data"
36-
export PXE_PROVER="none"
3736

3837
rm -rf $WALLET_DATA_DIRECTORY
3938
mkdir -p $WALLET_DATA_DIRECTORY

0 commit comments

Comments
 (0)