Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 9, 2024
1 parent 466be8f commit 8722af8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion yarn-project/circuit-types/src/interfaces/pxe.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type AztecAddress, type CompleteAddress, type Fr, type PartialAddress, type Point } from '@aztec/circuits.js';
import { type AztecAddress, type CompleteAddress, type Fr, type PartialAddress } from '@aztec/circuits.js';
import { type ContractArtifact } from '@aztec/foundation/abi';
import { type ContractClassWithId, type ContractInstanceWithAddress } from '@aztec/types/contracts';
import { type NodeInfo } from '@aztec/types/interfaces';
Expand Down
3 changes: 1 addition & 2 deletions yarn-project/circuit-types/src/keys/key_store.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import {
type CompleteAddress,
type AztecAddress,
type CompleteAddress,
type Fr,
type GrumpkinPrivateKey,
type PartialAddress,
type Point,
type PublicKey,
} from '@aztec/circuits.js';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ describe('ContractAddress', () => {
}).toString();

expect(address).toMatchSnapshot();

// TODO(#5834): the following was removed from aztec_address.nr, should it be re-introduced?
// // Run with AZTEC_GENERATE_TEST_DATA=1 to update noir test data
// updateInlineTestData(
// 'noir-projects/noir-protocol-circuits/crates/types/src/address/aztec_address.nr',
// 'expected_computed_address_from_preimage',
// address.toString(),
// );
});

it('Public key hash matches Noir', () => {
Expand Down
2 changes: 0 additions & 2 deletions yarn-project/circuits.js/src/contract/contract_address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { deriveKeys } from '../keys/index.js';

// TODO(@spalladino): Review all generator indices in this file

// TODO(benesjan): NUKE?

/**
* Returns the deployment address for a given contract instance as defined on the [Protocol Specs](../../../../docs/docs/protocol-specs/addresses-and-keys/specification.md).
* ```
Expand Down

0 comments on commit 8722af8

Please sign in to comment.