Skip to content

Commit

Permalink
fix: Explicit l1-tx-utils-with-blobs import (#11962)
Browse files Browse the repository at this point in the history
A little bit ugly, but we're going in the explicit export direction
anyways and otherwise this'll keep happening
  • Loading branch information
Thunkar authored Feb 13, 2025
1 parent 370b377 commit a54f9a5
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
4 changes: 1 addition & 3 deletions boxes/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ function test {

function test_cmds {
for browser in chromium webkit; do
# TODO(#11874): reinstate once fixed, failing since b33f1da9
#for box in vanilla react vite; do
for box in vanilla react; do
for box in vanilla react vite; do
echo "boxes/scripts/run_test.sh $box $browser"
done
done
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/circuit-types/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EthAddress } from '@aztec/circuits.js';
import { l1ContractAddressesMapping } from '@aztec/ethereum';
import { l1ContractAddressesMapping } from '@aztec/ethereum/l1-contract-addresses';
import { type ConfigMappingsType, numberConfigHelper } from '@aztec/foundation/config';

export { AllowedElement, SequencerConfig, SequencerConfigSchema } from './interfaces/configs.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import { EpochCache } from '@aztec/epoch-cache';
import {
GovernanceProposerContract,
type L1ContractAddresses,
L1TxUtilsWithBlobs,
RollupContract,
SlashingProposerContract,
createEthereumChain,
createL1Clients,
} from '@aztec/ethereum';
import { L1TxUtilsWithBlobs } from '@aztec/ethereum/l1-tx-utils-with-blobs';
import { EthCheatCodesWithState } from '@aztec/ethereum/test';
import { range } from '@aztec/foundation/array';
import { timesParallel } from '@aztec/foundation/collection';
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/end-to-end/src/e2e_p2p/p2p_network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { getSchnorrAccount } from '@aztec/accounts/schnorr';
import { type AztecNodeConfig, type AztecNodeService } from '@aztec/aztec-node';
import { type AccountWalletWithSecretKey } from '@aztec/aztec.js';
import { ChainMonitor } from '@aztec/aztec.js/ethereum';
import { L1TxUtilsWithBlobs, RollupContract, getExpectedAddress, getL1ContractsConfigEnvVars } from '@aztec/ethereum';
import { RollupContract, getExpectedAddress, getL1ContractsConfigEnvVars } from '@aztec/ethereum';
import { L1TxUtilsWithBlobs } from '@aztec/ethereum/l1-tx-utils-with-blobs';
import { EthCheatCodesWithState } from '@aztec/ethereum/test';
import { type Logger, createLogger } from '@aztec/foundation/log';
import { ForwarderAbi, ForwarderBytecode, RollupAbi, TestERC20Abi } from '@aztec/l1-artifacts';
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/src/e2e_synching.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ import { type AztecAddress, EthAddress } from '@aztec/circuits.js';
import { EpochCache } from '@aztec/epoch-cache';
import {
GovernanceProposerContract,
L1TxUtilsWithBlobs,
RollupContract,
SlashingProposerContract,
getL1ContractsConfigEnvVars,
} from '@aztec/ethereum';
import { L1TxUtilsWithBlobs } from '@aztec/ethereum/l1-tx-utils-with-blobs';
import { TestDateProvider, Timer } from '@aztec/foundation/timer';
import { RollupAbi } from '@aztec/l1-artifacts';
import { SchnorrHardcodedAccountContract } from '@aztec/noir-contracts.js/SchnorrHardcodedAccount';
Expand Down
1 change: 1 addition & 0 deletions yarn-project/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"./contracts": "./dest/contracts/index.js",
"./deploy-l1-contracts": "./dest/deploy_l1_contracts.js",
"./l1-contract-addresses": "./dest/l1_contract_addresses.js",
"./l1-tx-utils-with-blobs": "./dest/l1_tx_utils_with_blobs.js",
"./utils": "./dest/utils.js"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion yarn-project/ethereum/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export * from './deploy_l1_contracts.js';
export * from './chain.js';
export * from './eth_cheat_codes.js';
export * from './l1_tx_utils.js';
export * from './l1_tx_utils_with_blobs.js';
export * from './l1_contract_addresses.js';
export * from './l1_reader.js';
export * from './utils.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import { EpochCache } from '@aztec/epoch-cache';
import {
ForwarderContract,
GovernanceProposerContract,
L1TxUtilsWithBlobs,
RollupContract,
SlashingProposerContract,
createEthereumChain,
createL1Clients,
isAnvilTestChain,
} from '@aztec/ethereum';
import { L1TxUtilsWithBlobs } from '@aztec/ethereum/l1-tx-utils-with-blobs';
import { EthAddress } from '@aztec/foundation/eth-address';
import { createLogger } from '@aztec/foundation/log';
import { type DateProvider } from '@aztec/foundation/timer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import {
type GovernanceProposerContract,
type L1ContractsConfig,
type L1TxUtilsConfig,
type L1TxUtilsWithBlobs,
type RollupContract,
type SlashingProposerContract,
defaultL1TxUtilsConfig,
getL1ContractsConfigEnvVars,
} from '@aztec/ethereum';
import { type L1TxUtilsWithBlobs } from '@aztec/ethereum/l1-tx-utils-with-blobs';
import { sleep } from '@aztec/foundation/sleep';
import { EmpireBaseAbi, RollupAbi } from '@aztec/l1-artifacts';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import {
type L1ContractsConfig,
type L1GasConfig,
type L1TxRequest,
type L1TxUtilsWithBlobs,
RollupContract,
type SlashingProposerContract,
type TransactionStats,
formatViemError,
} from '@aztec/ethereum';
import { type L1TxUtilsWithBlobs } from '@aztec/ethereum/l1-tx-utils-with-blobs';
import { toHex } from '@aztec/foundation/bigint-buffer';
import { type Signature } from '@aztec/foundation/eth-signature';
import { createLogger } from '@aztec/foundation/log';
Expand Down

0 comments on commit a54f9a5

Please sign in to comment.