Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "l1-contracts"]
path = l1-contracts
url = git@github.com:AztecProtocol/aztec3-l1-contracts.git
[submodule "yarn-project/ethereum.js/foundation"]
path = yarn-project/ethereum.js/foundation
url = git@github.com:AztecProtocol/foundation.git
1 change: 1 addition & 0 deletions yarn-project/ethereum.js/foundation
Submodule foundation added at ccdbee
51 changes: 0 additions & 51 deletions yarn-project/ethereum.js/src/bigint_buffer/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as errors from './errors.js';
import { EthAddress } from '../../../../eth_address/index.js';
import { toBigIntBE, toBufferBE } from '../../../../bigint_buffer/index.js';

import { bufferToHex, hexToBuffer } from '../../../../hex_string/index.js';

const NegativeOne = BigInt(-1);
Expand Down
13 changes: 0 additions & 13 deletions yarn-project/ethereum.js/src/crypto/random/index.test.ts

This file was deleted.

38 changes: 0 additions & 38 deletions yarn-project/ethereum.js/src/crypto/random/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion yarn-project/ethereum.js/src/eth_account/eth_account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { EthAddress } from '../eth_address/index.js';
import { mnemonicToSeedSync } from 'bip39';
import hdkey from 'hdkey';
import { default as elliptic } from 'elliptic';
import { keccak256, randomBytes } from '../crypto/index.js';
import { keccak256 } from '../crypto/index.js';
import { decryptFromKeyStoreJson, encryptToKeyStoreJson, KeyStoreJson } from '../keystore/index.js';
import { EthSignature, hashMessage, recoverFromSignature, signMessage } from '../eth_sign/index.js';
import { EthTransaction, signedTransaction, signTransaction } from '../eth_transaction/index.js';
Expand Down
1 change: 0 additions & 1 deletion yarn-project/ethereum.js/src/eth_address/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { keccak256String } from '../crypto/index.js';
import { randomBytes } from '../crypto/random/index.js';

export class EthAddress {
public static ZERO = new EthAddress(Buffer.alloc(20));
Expand Down
1 change: 0 additions & 1 deletion yarn-project/ethereum.js/src/eth_rpc/tx_hash.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { randomBytes } from '../crypto/random/index.js';

export class TxHash {
constructor(private buffer: Buffer) {
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/ethereum.js/src/keystore/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import aes from 'browserify-aes';
import { v4 } from 'uuid';
import { EthAddress } from '../eth_address/index.js';
import { pbkdf2, scrypt, keccak256, randomBytes } from '../crypto/index.js';
import { pbkdf2, scrypt, keccak256 } from '../crypto/index.js';

interface ScryptKdfParams {
dklen: number;
Expand Down
17 changes: 0 additions & 17 deletions yarn-project/ethereum.js/src/log/console.ts

This file was deleted.

38 changes: 0 additions & 38 deletions yarn-project/ethereum.js/src/log/debug.ts

This file was deleted.

2 changes: 0 additions & 2 deletions yarn-project/ethereum.js/src/log/index.ts

This file was deleted.

46 changes: 0 additions & 46 deletions yarn-project/ethereum.js/src/retry/index.ts

This file was deleted.

62 changes: 0 additions & 62 deletions yarn-project/ethereum.js/src/serialize/deserializer.ts

This file was deleted.

Loading