Skip to content

Commit

Permalink
e2e token contract persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
charlielye committed Apr 1, 2024
1 parent 546c0b6 commit 88e3326
Show file tree
Hide file tree
Showing 16 changed files with 1,581 additions and 1,100 deletions.
2 changes: 1 addition & 1 deletion yarn-project/aztec.js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export {
Body,
CompleteAddress,
ExtendedNote,
FunctionCall,
type FunctionCall,
GrumpkinPrivateKey,
L1ToL2Message,
L1Actor,
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/circuit-types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export * from './packed_arguments.js';
export * from './interfaces/index.js';
export * from './auth_witness.js';
export * from './aztec_node/rpc/index.js';
export { CompleteAddress, PublicKey, PartialAddress, GrumpkinPrivateKey } from '@aztec/circuits.js';
export { CompleteAddress, type PublicKey, type PartialAddress, GrumpkinPrivateKey } from '@aztec/circuits.js';
1 change: 1 addition & 0 deletions yarn-project/circuits.js/src/types/grumpkin_private_key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ import { type GrumpkinScalar } from '@aztec/foundation/fields';

/** A type alias for private key which belongs to the scalar field of Grumpkin curve. */
export type GrumpkinPrivateKey = GrumpkinScalar;
export const GrumpkinPrivateKey = GrumpkinScalar;
16 changes: 16 additions & 0 deletions yarn-project/end-to-end/jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"preset": "ts-jest/presets/default-esm",
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.ts$",
"rootDir": "./src"
}
12 changes: 0 additions & 12 deletions yarn-project/end-to-end/jest.config.ts

This file was deleted.

2 changes: 1 addition & 1 deletion yarn-project/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clean": "rm -rf ./dest .tsbuildinfo",
"formatting": "run -T prettier --check ./src \"!src/web/main.js\" && run -T eslint ./src",
"formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src",
"test": "DEBUG='aztec:*' NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand --testTimeout=60000 --forceExit",
"test": "DEBUG=${DEBUG:-'aztec:*'} NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand --testTimeout=60000 --forceExit",
"test:integration": "concurrently -k -s first -c reset,dim -n test,anvil \"yarn test:integration:run\" \"anvil\"",
"test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --no-cache --runInBand --config jest.integration.config.json"
},
Expand Down
Loading

0 comments on commit 88e3326

Please sign in to comment.