@aztec/ethereum 0.74.0 → 0.75.0-commit.c03ba01a2a4122e43e90d5133ba017e54b90e9d2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dest/chain.js +17 -18
  2. package/dest/client.js +5 -9
  3. package/dest/config.js +13 -14
  4. package/dest/constants.js +0 -1
  5. package/dest/contracts/empire_base.js +3 -2
  6. package/dest/contracts/forwarder.js +46 -26
  7. package/dest/contracts/governance.js +11 -6
  8. package/dest/contracts/governance_proposer.js +78 -67
  9. package/dest/contracts/index.js +0 -1
  10. package/dest/contracts/rollup.js +270 -243
  11. package/dest/contracts/slashing_proposer.js +18 -8
  12. package/dest/deploy_l1_contracts.js +201 -126
  13. package/dest/eth_cheat_codes.js +144 -127
  14. package/dest/index.js +0 -1
  15. package/dest/l1_contract_addresses.js +17 -19
  16. package/dest/l1_reader.js +6 -7
  17. package/dest/l1_tx_utils.js +227 -186
  18. package/dest/l1_tx_utils_with_blobs.js +25 -22
  19. package/dest/queries.js +6 -9
  20. package/dest/test/delayed_tx_utils.js +3 -3
  21. package/dest/test/eth_cheat_codes_with_state.js +10 -12
  22. package/dest/test/index.js +0 -1
  23. package/dest/test/start_anvil.js +17 -9
  24. package/dest/test/tx_delayer.js +77 -74
  25. package/dest/types.js +1 -2
  26. package/dest/utils.js +35 -36
  27. package/package.json +5 -4
  28. package/src/contracts/rollup.ts +1 -1
  29. package/src/l1_tx_utils_with_blobs.ts +1 -1
  30. package/dest/chain.d.ts +0 -25
  31. package/dest/chain.d.ts.map +0 -1
  32. package/dest/client.d.ts +0 -16
  33. package/dest/client.d.ts.map +0 -1
  34. package/dest/config.d.ts +0 -38
  35. package/dest/config.d.ts.map +0 -1
  36. package/dest/constants.d.ts +0 -4
  37. package/dest/constants.d.ts.map +0 -1
  38. package/dest/contracts/empire_base.d.ts +0 -13
  39. package/dest/contracts/empire_base.d.ts.map +0 -1
  40. package/dest/contracts/forwarder.d.ts +0 -24
  41. package/dest/contracts/forwarder.d.ts.map +0 -1
  42. package/dest/contracts/governance.d.ts +0 -14
  43. package/dest/contracts/governance.d.ts.map +0 -1
  44. package/dest/contracts/governance_proposer.d.ts +0 -28
  45. package/dest/contracts/governance_proposer.d.ts.map +0 -1
  46. package/dest/contracts/index.d.ts +0 -7
  47. package/dest/contracts/index.d.ts.map +0 -1
  48. package/dest/contracts/rollup.d.ts +0 -115
  49. package/dest/contracts/rollup.d.ts.map +0 -1
  50. package/dest/contracts/slashing_proposer.d.ts +0 -21
  51. package/dest/contracts/slashing_proposer.d.ts.map +0 -1
  52. package/dest/deploy_l1_contracts.d.ts +0 -21118
  53. package/dest/deploy_l1_contracts.d.ts.map +0 -1
  54. package/dest/eth_cheat_codes.d.ts +0 -146
  55. package/dest/eth_cheat_codes.d.ts.map +0 -1
  56. package/dest/index.d.ts +0 -15
  57. package/dest/index.d.ts.map +0 -1
  58. package/dest/l1_contract_addresses.d.ts +0 -55
  59. package/dest/l1_contract_addresses.d.ts.map +0 -1
  60. package/dest/l1_reader.d.ts +0 -16
  61. package/dest/l1_reader.d.ts.map +0 -1
  62. package/dest/l1_tx_utils.d.ts +0 -194
  63. package/dest/l1_tx_utils.d.ts.map +0 -1
  64. package/dest/l1_tx_utils_with_blobs.d.ts +0 -12
  65. package/dest/l1_tx_utils_with_blobs.d.ts.map +0 -1
  66. package/dest/queries.d.ts +0 -15
  67. package/dest/queries.d.ts.map +0 -1
  68. package/dest/test/delayed_tx_utils.d.ts +0 -8
  69. package/dest/test/delayed_tx_utils.d.ts.map +0 -1
  70. package/dest/test/eth_cheat_codes_with_state.d.ts +0 -18
  71. package/dest/test/eth_cheat_codes_with_state.d.ts.map +0 -1
  72. package/dest/test/index.d.ts +0 -5
  73. package/dest/test/index.d.ts.map +0 -1
  74. package/dest/test/start_anvil.d.ts +0 -9
  75. package/dest/test/start_anvil.d.ts.map +0 -1
  76. package/dest/test/tx_delayer.d.ts +0 -24
  77. package/dest/test/tx_delayer.d.ts.map +0 -1
  78. package/dest/types.d.ts +0 -12
  79. package/dest/types.d.ts.map +0 -1
  80. package/dest/utils.d.ts +0 -24
  81. package/dest/utils.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"deploy_l1_contracts.d.ts","sourceRoot":"","sources":["../src/deploy_l1_contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAmCpD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,GAAG,EACR,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EAYrB,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAA0C,MAAM,eAAe,CAAC;AAI/G,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGtE,eAAO,MAAM,gBAAgB,EAAE,GAAkD,CAAC;AAElF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1D;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IACjD;;OAEG;IACH,mBAAmB,EAAE,m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EAAE,GAAG,SAAS,GAAG,iBAAiB,EACvF,KAAK,GAAE,KAAe,GACrB,SAAS,CA2BX;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,WACpB,MAAM,WACL,SAAS,GAAG,iBAAiB,SAC/B,KAAK,UACJ,MAAM,QACR,qBAAqB,KAC1B,QAAQ,iBAAiB,CAgT3B,CAAC;AAqCF;;;;;;;;;GASG;AACH,wBAAsB,gBAAgB,CACpC,YAAY,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,EAAE,OAAO,CAAC,EACzD,YAAY,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,EAChD,GAAG,EAAE,MAAM,CAAC,GAAG,GAAG,SAAS,OAAO,EAAE,CAAC,EACrC,QAAQ,EAAE,GAAG,EACb,IAAI,GAAE,SAAS,OAAO,EAAO,EAC7B,SAAS,CAAC,EAAE,GAAG,EACf,SAAS,CAAC,EAAE,SAAS,EACrB,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC;IAAE,OAAO,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,GAAG,GAAG,SAAS,CAAA;CAAE,CAAC,CAgG3D;AAED,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,CAAC,GAAG,GAAG,SAAS,OAAO,EAAE,CAAC,EACrC,QAAQ,EAAE,GAAG,EACb,IAAI,EAAE,SAAS,OAAO,EAAE,EACxB,IAAI,EAAE,GAAG;;;;EAeV"}
@@ -1,146 +0,0 @@
1
- import { type EthAddress } from '@aztec/foundation/eth-address';
2
- import { type Hex } from 'viem';
3
- /**
4
- * A class that provides utility functions for interacting with ethereum (L1).
5
- */
6
- export declare class EthCheatCodes {
7
- /**
8
- * The RPC URL to use for interacting with the chain
9
- */
10
- rpcUrl: string;
11
- /**
12
- * The logger to use for the eth cheatcodes
13
- */
14
- logger: import("@aztec/foundation/log").Logger;
15
- constructor(
16
- /**
17
- * The RPC URL to use for interacting with the chain
18
- */
19
- rpcUrl: string,
20
- /**
21
- * The logger to use for the eth cheatcodes
22
- */
23
- logger?: import("@aztec/foundation/log").Logger);
24
- rpcCall(method: string, params: any[]): Promise<any>;
25
- /**
26
- * Get the auto mine status of the underlying chain
27
- * @returns True if automine is on, false otherwise
28
- */
29
- isAutoMining(): Promise<boolean>;
30
- /**
31
- * Get the current blocknumber
32
- * @returns The current block number
33
- */
34
- blockNumber(): Promise<number>;
35
- /**
36
- * Get the current chainId
37
- * @returns The current chainId
38
- */
39
- chainId(): Promise<number>;
40
- /**
41
- * Get the current timestamp
42
- * @returns The current timestamp
43
- */
44
- timestamp(): Promise<number>;
45
- /**
46
- * Advance the chain by a number of blocks
47
- * @param numberOfBlocks - The number of blocks to mine
48
- */
49
- mine(numberOfBlocks?: number): Promise<void>;
50
- private doMine;
51
- /**
52
- * Mines a single block with evm_mine
53
- */
54
- evmMine(): Promise<void>;
55
- /**
56
- * Set the balance of an account
57
- * @param account - The account to set the balance for
58
- * @param balance - The balance to set
59
- */
60
- setBalance(account: EthAddress, balance: bigint): Promise<void>;
61
- /**
62
- * Set the interval between blocks (block time)
63
- * @param interval - The interval to use between blocks
64
- */
65
- setBlockInterval(interval: number): Promise<void>;
66
- /**
67
- * Set the next block base fee per gas
68
- * @param baseFee - The base fee to set
69
- */
70
- setNextBlockBaseFeePerGas(baseFee: bigint | number): Promise<void>;
71
- /**
72
- * Set the interval between blocks (block time)
73
- * @param seconds - The interval to use between blocks
74
- */
75
- setIntervalMining(seconds: number): Promise<void>;
76
- /**
77
- * Set the automine status of the underlying anvil chain
78
- * @param automine - The automine status to set
79
- */
80
- setAutomine(automine: boolean): Promise<void>;
81
- /**
82
- * Drop a transaction from the mempool
83
- * @param txHash - The transaction hash
84
- */
85
- dropTransaction(txHash: Hex): Promise<void>;
86
- /**
87
- * Set the next block timestamp
88
- * @param timestamp - The timestamp to set the next block to
89
- */
90
- setNextBlockTimestamp(timestamp: number): Promise<void>;
91
- /**
92
- * Set the next block timestamp and mines the block
93
- * @param timestamp - The timestamp to set the next block to
94
- */
95
- warp(timestamp: number | bigint, silent?: boolean): Promise<void>;
96
- /**
97
- * Load the value at a storage slot of a contract address on eth
98
- * @param contract - The contract address
99
- * @param slot - The storage slot
100
- * @returns - The value at the storage slot
101
- */
102
- load(contract: EthAddress, slot: bigint): Promise<bigint>;
103
- /**
104
- * Set the value at a storage slot of a contract address on eth
105
- * @param contract - The contract address
106
- * @param slot - The storage slot
107
- * @param value - The value to set the storage slot to
108
- */
109
- store(contract: EthAddress, slot: bigint, value: bigint): Promise<void>;
110
- /**
111
- * Computes the slot value for a given map and key.
112
- * @param baseSlot - The base slot of the map (specified in Aztec.nr contract)
113
- * @param key - The key to lookup in the map
114
- * @returns The storage slot of the value in the map
115
- */
116
- keccak256(baseSlot: bigint, key: bigint): bigint;
117
- /**
118
- * Send transactions impersonating an externally owned account or contract.
119
- * @param who - The address to impersonate
120
- */
121
- startImpersonating(who: EthAddress | Hex): Promise<void>;
122
- /**
123
- * Stop impersonating an account that you are currently impersonating.
124
- * @param who - The address to stop impersonating
125
- */
126
- stopImpersonating(who: EthAddress | Hex): Promise<void>;
127
- /**
128
- * Set the bytecode for a contract
129
- * @param contract - The contract address
130
- * @param bytecode - The bytecode to set
131
- */
132
- etch(contract: EthAddress, bytecode: `0x${string}`): Promise<void>;
133
- /**
134
- * Get the bytecode for a contract
135
- * @param contract - The contract address
136
- * @returns The bytecode for the contract
137
- */
138
- getBytecode(contract: EthAddress): Promise<`0x${string}`>;
139
- /**
140
- * Get the raw transaction object for a given transaction hash
141
- * @param txHash - The transaction hash
142
- * @returns The raw transaction
143
- */
144
- getRawTransaction(txHash: Hex): Promise<`0x${string}`>;
145
- }
146
- //# sourceMappingURL=eth_cheat_codes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eth_cheat_codes.d.ts","sourceRoot":"","sources":["../src/eth_cheat_codes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,+BAA+B,CAAC;AA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AAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQpE;;;OAGG;IACU,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,UAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAW5E;;;;;OAKG;IACU,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAKtE;;;;;OAKG;IACU,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IASpF;;;;;OAKG;IACI,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;IAMvD;;;OAGG;IACU,kBAAkB,CAAC,GAAG,EAAE,UAAU,GAAG,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAQrE;;;OAGG;IACU,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAQpE;;;;OAIG;IACU,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/E;;;;OAIG;IACU,WAAW,CAAC,QAAQ,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,MAAM,EAAE,CAAC;IAKtE;;;;OAIG;IACU,iBAAiB,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,KAAK,MAAM,EAAE,CAAC;CAIpE"}
package/dest/index.d.ts DELETED
@@ -1,15 +0,0 @@
1
- export * from './constants.js';
2
- export * from './deploy_l1_contracts.js';
3
- export * from './chain.js';
4
- export * from './eth_cheat_codes.js';
5
- export * from './l1_tx_utils.js';
6
- export * from './l1_tx_utils_with_blobs.js';
7
- export * from './l1_contract_addresses.js';
8
- export * from './l1_reader.js';
9
- export * from './utils.js';
10
- export * from './config.js';
11
- export * from './types.js';
12
- export * from './contracts/index.js';
13
- export * from './queries.js';
14
- export * from './client.js';
15
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
@@ -1,55 +0,0 @@
1
- import { type ConfigMappingsType } from '@aztec/foundation/config';
2
- import { EthAddress } from '@aztec/foundation/eth-address';
3
- import { z } from 'zod';
4
- /**
5
- * The names of the current L1 contract addresses.
6
- * NOTE: When changing this list, make sure to update CLI & CI scripts accordingly.
7
- * For reference: https://github.com/AztecProtocol/aztec-packages/pull/5553
8
- */
9
- export declare const L1ContractsNames: readonly ["rollupAddress", "registryAddress", "inboxAddress", "outboxAddress", "feeJuiceAddress", "feeJuicePortalAddress", "coinIssuerAddress", "rewardDistributorAddress", "governanceProposerAddress", "governanceAddress", "stakingAssetAddress", "slashFactoryAddress"];
10
- /** Provides the directory of current L1 contract addresses */
11
- export type L1ContractAddresses = {
12
- [K in (typeof L1ContractsNames)[number]]: EthAddress;
13
- };
14
- export declare const L1ContractAddressesSchema: z.ZodObject<{
15
- rollupAddress: z.ZodType<EthAddress, any, string>;
16
- registryAddress: z.ZodType<EthAddress, any, string>;
17
- inboxAddress: z.ZodType<EthAddress, any, string>;
18
- outboxAddress: z.ZodType<EthAddress, any, string>;
19
- feeJuiceAddress: z.ZodType<EthAddress, any, string>;
20
- stakingAssetAddress: z.ZodType<EthAddress, any, string>;
21
- feeJuicePortalAddress: z.ZodType<EthAddress, any, string>;
22
- coinIssuerAddress: z.ZodType<EthAddress, any, string>;
23
- rewardDistributorAddress: z.ZodType<EthAddress, any, string>;
24
- governanceProposerAddress: z.ZodType<EthAddress, any, string>;
25
- governanceAddress: z.ZodType<EthAddress, any, string>;
26
- slashFactoryAddress: z.ZodType<EthAddress, any, string>;
27
- }, "strip", z.ZodTypeAny, {
28
- rollupAddress: EthAddress;
29
- registryAddress: EthAddress;
30
- inboxAddress: EthAddress;
31
- outboxAddress: EthAddress;
32
- feeJuiceAddress: EthAddress;
33
- feeJuicePortalAddress: EthAddress;
34
- coinIssuerAddress: EthAddress;
35
- rewardDistributorAddress: EthAddress;
36
- governanceProposerAddress: EthAddress;
37
- governanceAddress: EthAddress;
38
- stakingAssetAddress: EthAddress;
39
- slashFactoryAddress: EthAddress;
40
- }, {
41
- rollupAddress: string;
42
- registryAddress: string;
43
- inboxAddress: string;
44
- outboxAddress: string;
45
- feeJuiceAddress: string;
46
- feeJuicePortalAddress: string;
47
- coinIssuerAddress: string;
48
- rewardDistributorAddress: string;
49
- governanceProposerAddress: string;
50
- governanceAddress: string;
51
- stakingAssetAddress: string;
52
- slashFactoryAddress: string;
53
- }>;
54
- export declare const l1ContractAddressesMapping: ConfigMappingsType<L1ContractAddresses>;
55
- //# sourceMappingURL=l1_contract_addresses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"l1_contract_addresses.d.ts","sourceRoot":"","sources":["../src/l1_contract_addresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAG3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,6QAanB,CAAC;AAEX,8DAA8D;AAC9D,MAAM,MAAM,mBAAmB,GAAG;KAC/B,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,GAAG,UAAU;CACrD,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaE,CAAC;AAIzC,eAAO,MAAM,0BAA0B,EAAE,kBAAkB,CAAC,mBAAmB,CA6D9E,CAAC"}
@@ -1,16 +0,0 @@
1
- import { type ConfigMappingsType } from '@aztec/foundation/config';
2
- import { type L1ContractAddresses } from './l1_contract_addresses.js';
3
- /** Configuration of the L1GlobalReader. */
4
- export interface L1ReaderConfig {
5
- /** The RPC Url of the ethereum host. */
6
- l1RpcUrl: string;
7
- /** The chain ID of the ethereum host. */
8
- l1ChainId: number;
9
- /** The deployed l1 contract addresses */
10
- l1Contracts: L1ContractAddresses;
11
- /** The polling interval viem uses in ms */
12
- viemPollingIntervalMS: number;
13
- }
14
- export declare const l1ReaderConfigMappings: ConfigMappingsType<L1ReaderConfig>;
15
- export declare function getL1ReaderConfigFromEnv(): L1ReaderConfig;
16
- //# sourceMappingURL=l1_reader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"l1_reader.d.ts","sourceRoot":"","sources":["../src/l1_reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAA6C,MAAM,0BAA0B,CAAC;AAE9G,OAAO,EAAE,KAAK,mBAAmB,EAA8B,MAAM,4BAA4B,CAAC;AAElG,2CAA2C;AAC3C,MAAM,WAAW,cAAc;IAC7B,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,WAAW,EAAE,mBAAmB,CAAC;IACjC,2CAA2C;IAC3C,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,CAAC,cAAc,CAoBrE,CAAC;AAEF,wBAAgB,wBAAwB,IAAI,cAAc,CAEzD"}
@@ -1,194 +0,0 @@
1
- import { type ConfigMappingsType } from '@aztec/foundation/config';
2
- import { type Logger } from '@aztec/foundation/log';
3
- import { type Abi, type Account, type Address, type BlockOverrides, type Chain, type ContractFunctionExecutionError, type Hex, type HttpTransport, type StateOverride, type TransactionReceipt, type WalletClient } from 'viem';
4
- import { type L1Clients } from './deploy_l1_contracts.js';
5
- export interface L1TxUtilsConfig {
6
- /**
7
- * How much to increase calculated gas limit.
8
- */
9
- gasLimitBufferPercentage?: number;
10
- /**
11
- * Maximum gas price in gwei
12
- */
13
- maxGwei?: bigint;
14
- /**
15
- * Minimum gas price in gwei
16
- */
17
- minGwei?: bigint;
18
- /**
19
- * Maximum blob fee per gas in gwei
20
- */
21
- maxBlobGwei?: bigint;
22
- /**
23
- * Priority fee bump percentage
24
- */
25
- priorityFeeBumpPercentage?: number;
26
- /**
27
- * How much to increase priority fee by each attempt (percentage)
28
- */
29
- priorityFeeRetryBumpPercentage?: number;
30
- /**
31
- * Fixed priority fee per gas in Gwei. Overrides any priority fee bump percentage config
32
- */
33
- fixedPriorityFeePerGas?: number;
34
- /**
35
- * Maximum number of speed-up attempts
36
- */
37
- maxAttempts?: number;
38
- /**
39
- * How often to check tx status
40
- */
41
- checkIntervalMs?: number;
42
- /**
43
- * How long before considering tx stalled
44
- */
45
- stallTimeMs?: number;
46
- /**
47
- * How long to wait for a tx to be mined before giving up
48
- */
49
- txTimeoutMs?: number;
50
- /**
51
- * How many attempts will be done to get a tx after it was sent?
52
- * First attempt is done at 1s, second at 2s, third at 3s, etc.
53
- */
54
- txPropagationMaxQueryAttempts?: number;
55
- }
56
- export declare const l1TxUtilsConfigMappings: ConfigMappingsType<L1TxUtilsConfig>;
57
- export declare const defaultL1TxUtilsConfig: L1TxUtilsConfig;
58
- export interface L1TxRequest {
59
- to: Address | null;
60
- data?: Hex;
61
- value?: bigint;
62
- }
63
- export type L1GasConfig = Partial<L1TxUtilsConfig> & {
64
- gasLimit?: bigint;
65
- txTimeoutAt?: Date;
66
- };
67
- export interface L1BlobInputs {
68
- blobs: Uint8Array[];
69
- kzg: any;
70
- maxFeePerBlobGas?: bigint;
71
- }
72
- export interface GasPrice {
73
- maxFeePerGas: bigint;
74
- maxPriorityFeePerGas: bigint;
75
- maxFeePerBlobGas?: bigint;
76
- }
77
- export type TransactionStats = {
78
- /** Address of the sender. */
79
- sender: string;
80
- /** Hash of the transaction. */
81
- transactionHash: string;
82
- /** Size in bytes of the tx calldata */
83
- calldataSize: number;
84
- /** Gas required to pay for the calldata inclusion (depends on size and number of zeros) */
85
- calldataGas: number;
86
- };
87
- export declare class L1TxUtils {
88
- publicClient: L1Clients['publicClient'];
89
- walletClient: WalletClient<HttpTransport, Chain, Account>;
90
- protected readonly logger?: Logger | undefined;
91
- protected readonly config: L1TxUtilsConfig;
92
- private interrupted;
93
- constructor(publicClient: L1Clients['publicClient'], walletClient: WalletClient<HttpTransport, Chain, Account>, logger?: Logger | undefined, config?: Partial<L1TxUtilsConfig>);
94
- interrupt(): void;
95
- restart(): void;
96
- getSenderAddress(): `0x${string}`;
97
- getBlock(): Promise<{
98
- number: bigint;
99
- hash: `0x${string}`;
100
- nonce: `0x${string}`;
101
- logsBloom: `0x${string}`;
102
- baseFeePerGas: bigint | null;
103
- blobGasUsed: bigint;
104
- difficulty: bigint;
105
- excessBlobGas: bigint;
106
- extraData: `0x${string}`;
107
- gasLimit: bigint;
108
- gasUsed: bigint;
109
- miner: `0x${string}`;
110
- mixHash: `0x${string}`;
111
- parentBeaconBlockRoot?: `0x${string}` | undefined;
112
- parentHash: `0x${string}`;
113
- receiptsRoot: `0x${string}`;
114
- sealFields: `0x${string}`[];
115
- sha3Uncles: `0x${string}`;
116
- size: bigint;
117
- stateRoot: `0x${string}`;
118
- timestamp: bigint;
119
- totalDifficulty: bigint | null;
120
- transactionsRoot: `0x${string}`;
121
- uncles: `0x${string}`[];
122
- withdrawals?: import("viem").Withdrawal[] | undefined;
123
- withdrawalsRoot?: `0x${string}` | undefined;
124
- transactions: `0x${string}`[];
125
- }>;
126
- getBlockNumber(): Promise<bigint>;
127
- /**
128
- * Sends a transaction with gas estimation and pricing
129
- * @param request - The transaction request (to, data, value)
130
- * @param gasConfig - Optional gas configuration
131
- * @returns The transaction hash and parameters used
132
- */
133
- sendTransaction(request: L1TxRequest, _gasConfig?: L1GasConfig, blobInputs?: L1BlobInputs): Promise<{
134
- txHash: Hex;
135
- gasLimit: bigint;
136
- gasPrice: GasPrice;
137
- }>;
138
- /**
139
- * Monitors a transaction until completion, handling speed-ups if needed
140
- * @param request - Original transaction request (needed for speed-ups)
141
- * @param initialTxHash - Hash of the initial transaction
142
- * @param params - Parameters used in the initial transaction
143
- * @param gasConfig - Optional gas configuration
144
- */
145
- monitorTransaction(request: L1TxRequest, initialTxHash: Hex, params: {
146
- gasLimit: bigint;
147
- }, _gasConfig?: Partial<L1TxUtilsConfig> & {
148
- txTimeoutAt?: Date;
149
- }, _blobInputs?: L1BlobInputs, isCancelTx?: boolean): Promise<TransactionReceipt>;
150
- /**
151
- * Sends a transaction and monitors it until completion
152
- * @param request - The transaction request (to, data, value)
153
- * @param gasConfig - Optional gas configuration
154
- * @returns The receipt of the successful transaction
155
- */
156
- sendAndMonitorTransaction(request: L1TxRequest, gasConfig?: L1GasConfig, blobInputs?: L1BlobInputs): Promise<{
157
- receipt: TransactionReceipt;
158
- gasPrice: GasPrice;
159
- }>;
160
- /**
161
- * Gets the current gas price with bounds checking
162
- */
163
- getGasPrice(_gasConfig?: L1TxUtilsConfig, isBlobTx?: boolean, attempt?: number, previousGasPrice?: typeof attempt extends 0 ? never : GasPrice): Promise<GasPrice>;
164
- /**
165
- * Estimates gas and adds buffer
166
- */
167
- estimateGas(account: Account | Hex, request: L1TxRequest, _gasConfig?: L1TxUtilsConfig, _blobInputs?: L1BlobInputs): Promise<bigint>;
168
- getTransactionStats(txHash: string): Promise<TransactionStats | undefined>;
169
- tryGetErrorFromRevertedTx(data: Hex, args: {
170
- args: readonly any[];
171
- functionName: string;
172
- abi: Abi;
173
- address: Hex;
174
- }, blobInputs: (L1BlobInputs & {
175
- maxFeePerBlobGas: bigint;
176
- }) | undefined, stateOverride?: StateOverride): Promise<string | undefined>;
177
- simulateGasUsed(request: L1TxRequest & {
178
- gas?: bigint;
179
- }, blockOverrides?: BlockOverrides<bigint, number>, stateOverrides?: StateOverride, _gasConfig?: L1TxUtilsConfig & {
180
- fallbackGasEstimate?: bigint;
181
- }): Promise<bigint>;
182
- bumpGasLimit(gasLimit: bigint, _gasConfig?: L1TxUtilsConfig): bigint;
183
- /**
184
- * Attempts to cancel a transaction by sending a 0-value tx to self with same nonce but higher gas prices
185
- * @param nonce - The nonce of the transaction to cancel
186
- * @param previousGasPrice - The gas price of the previous transaction
187
- * @param attempts - The number of attempts to cancel the transaction
188
- * @returns The hash of the cancellation transaction
189
- */
190
- protected attemptTxCancellation(nonce: number, isBlobTx?: boolean, previousGasPrice?: GasPrice, attempts?: number): Promise<`0x${string}`>;
191
- }
192
- export declare function tryGetCustomErrorNameContractFunction(err: ContractFunctionExecutionError): string;
193
- export declare function getCalldataGasUsage(data: Uint8Array): number;
194
- //# sourceMappingURL=l1_tx_utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"l1_tx_utils.d.ts","sourceRoot":"","sources":["../src/l1_tx_utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EAIxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAIpD,OAAO,EACL,KAAK,GAAG,EACR,KAAK,OAAO,EACZ,KAAK,OAAO,EAEZ,KAAK,cAAc,EACnB,KAAK,KAAK,EACV,KAAK,8BAA8B,EAEnC,KAAK,GAAG,EACR,KAAK,aAAa,EAGlB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EAIlB,MAAM,MAAM,CAAC;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,CAC1B,OAAO,EAAE,WAAW,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,EACvC,cAAc,GAAE,cAAc,CAAC,MAAM,EAAE,MAAM,CAAM,EACnD,cAAc,GAAE,aAAkB,EAClC,UAAU,CAAC,EAAE,eAAe,GAAG;QAAE,mBAAmB,CAAC,EAAE,MAAM,CAAA;KAAE,GAC9D,OAAO,CAAC,MAAM,CAAC;IAoDX,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,eAAe,GAAG,MAAM;IAK3E;;;;;;OAMG;cACa,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,UAAQ,EAAE,gBAAgB,CAAC,EAAE,QAAQ,EAAE,QAAQ,SAAI;CA8CjH;AAED,wBAAgB,qCAAqC,CAAC,GAAG,EAAE,8BAA8B,UAExF;AAOD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU,UAEnD"}
@@ -1,12 +0,0 @@
1
- import { type GasPrice, L1TxUtils } from './l1_tx_utils.js';
2
- export declare class L1TxUtilsWithBlobs extends L1TxUtils {
3
- /**
4
- * Attempts to cancel a transaction by sending a 0-value tx to self with same nonce but higher gas prices
5
- * @param nonce - The nonce of the transaction to cancel
6
- * @param previousGasPrice - The gas price of the previous transaction
7
- * @param attempts - The number of attempts to cancel the transaction
8
- * @returns The hash of the cancellation transaction
9
- */
10
- attemptTxCancellation(nonce: number, isBlobTx?: boolean, previousGasPrice?: GasPrice, attempts?: number): Promise<`0x${string}`>;
11
- }
12
- //# sourceMappingURL=l1_tx_utils_with_blobs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"l1_tx_utils_with_blobs.d.ts","sourceRoot":"","sources":["../src/l1_tx_utils_with_blobs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE5D,qBAAa,kBAAmB,SAAQ,SAAS;IAC/C;;;;;;OAMG;IACY,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,UAAQ,EAAE,gBAAgB,CAAC,EAAE,QAAQ,EAAE,QAAQ,SAAI;CAuEhH"}
package/dest/queries.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import { type EthAddress } from '@aztec/foundation/eth-address';
2
- import { type Chain, type HttpTransport, type PublicClient } from 'viem';
3
- import { type L1ContractsConfig } from './config.js';
4
- import { type L1ContractAddresses } from './l1_contract_addresses.js';
5
- /** Given the Governance contract address, reads the addresses from all other contracts from L1. */
6
- export declare function getL1ContractsAddresses(publicClient: PublicClient<HttpTransport, Chain>, governanceAddress: EthAddress): Promise<Omit<L1ContractAddresses, 'slashFactoryAddress' | 'coinIssuerAddress'>>;
7
- /** Reads the L1ContractsConfig from L1 contracts. */
8
- export declare function getL1ContractsConfig(publicClient: PublicClient<HttpTransport, Chain>, addresses: {
9
- governanceAddress: EthAddress;
10
- rollupAddress?: EthAddress;
11
- }): Promise<Omit<L1ContractsConfig, 'ethereumSlotDuration'> & {
12
- l1StartBlock: bigint;
13
- l1GenesisTime: bigint;
14
- }>;
15
- //# sourceMappingURL=queries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../src/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,MAAM,CAAC;AAEzE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,mGAAmG;AACnG,wBAAsB,uBAAuB,CAC3C,YAAY,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,EAChD,iBAAiB,EAAE,UAAU,GAC5B,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,qBAAqB,GAAG,mBAAmB,CAAC,CAAC,CAWjF;AAED,qDAAqD;AACrD,wBAAsB,oBAAoB,CACxC,YAAY,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,EAChD,SAAS,EAAE;IAAE,iBAAiB,EAAE,UAAU,CAAC;IAAC,aAAa,CAAC,EAAE,UAAU,CAAA;CAAE,GACvE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,sBAAsB,CAAC,GAAG;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,CA8C5G"}
@@ -1,8 +0,0 @@
1
- import { L1TxUtilsWithBlobs } from '../l1_tx_utils_with_blobs.js';
2
- import { type Delayer } from './tx_delayer.js';
3
- export declare class DelayedTxUtils extends L1TxUtilsWithBlobs {
4
- delayer: Delayer | undefined;
5
- static fromL1TxUtils(l1TxUtils: L1TxUtilsWithBlobs, ethereumSlotDuration: number): DelayedTxUtils;
6
- enableDelayer(ethereumSlotDuration: number): void;
7
- }
8
- //# sourceMappingURL=delayed_tx_utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delayed_tx_utils.d.ts","sourceRoot":"","sources":["../../src/test/delayed_tx_utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,iBAAiB,CAAC;AAE5D,qBAAa,cAAe,SAAQ,kBAAkB;IAC7C,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;WAEtB,aAAa,CAAC,SAAS,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM;IAUhF,aAAa,CAAC,oBAAoB,EAAE,MAAM;CAOlD"}
@@ -1,18 +0,0 @@
1
- import { EthCheatCodes } from '../eth_cheat_codes.js';
2
- /**
3
- * A class that provides utility functions for interacting with ethereum (L1) dumping/loading state to/from a file.
4
- * It is separated to avoid importing fs in the main EthCheatCodes class, which might be used in the browser.
5
- */
6
- export declare class EthCheatCodesWithState extends EthCheatCodes {
7
- /**
8
- * Dumps the current chain state to a file.
9
- * @param fileName - The file name to dump state into
10
- */
11
- dumpChainState(fileName: string): Promise<void>;
12
- /**
13
- * Loads the chain state from a file.
14
- * @param fileName - The file name to load state from
15
- */
16
- loadChainState(fileName: string): Promise<void>;
17
- }
18
- //# sourceMappingURL=eth_cheat_codes_with_state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eth_cheat_codes_with_state.d.ts","sourceRoot":"","sources":["../../src/test/eth_cheat_codes_with_state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,aAAa;IACvD;;;OAGG;IACU,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5D;;;OAGG;IACU,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ7D"}
@@ -1,5 +0,0 @@
1
- export * from './delayed_tx_utils.js';
2
- export * from './eth_cheat_codes_with_state.js';
3
- export * from './start_anvil.js';
4
- export * from './tx_delayer.js';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/test/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC"}
@@ -1,9 +0,0 @@
1
- import { type Anvil } from '@viem/anvil';
2
- /**
3
- * Ensures there's a running Anvil instance and returns the RPC URL.
4
- */
5
- export declare function startAnvil(l1BlockTime?: number): Promise<{
6
- anvil: Anvil;
7
- rpcUrl: string;
8
- }>;
9
- //# sourceMappingURL=start_anvil.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"start_anvil.d.ts","sourceRoot":"","sources":["../../src/test/start_anvil.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,aAAa,CAAC;AAGtD;;GAEG;AACH,wBAAsB,UAAU,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAsChG"}
@@ -1,24 +0,0 @@
1
- import { type Logger } from '@aztec/foundation/log';
2
- import { type Client, type Hex, type WalletClient } from 'viem';
3
- export declare function waitUntilBlock<T extends Client>(client: T, blockNumber: number | bigint, logger?: Logger): Promise<boolean>;
4
- export declare function waitUntilL1Timestamp<T extends Client>(client: T, timestamp: number | bigint, logger?: Logger): Promise<boolean>;
5
- export interface Delayer {
6
- /** Returns the list of all txs (not just the delayed ones) sent through the attached client. */
7
- getTxs(): Hex[];
8
- /** Delays the next tx to be sent so it lands on the given L1 block number. */
9
- pauseNextTxUntilBlock(l1BlockNumber: number | bigint | undefined): void;
10
- /** Delays the next tx to be sent so it lands on the given timestamp. */
11
- pauseNextTxUntilTimestamp(l1Timestamp: number | bigint | undefined): void;
12
- }
13
- /**
14
- * Returns a new client (without modifying the one passed in) with an injected tx delayer.
15
- * The delayer can be used to hold off the next tx to be sent until a given block number.
16
- * TODO(#10824): This doesn't play along well with blob txs for some reason.
17
- */
18
- export declare function withDelayer<T extends WalletClient>(client: T, opts: {
19
- ethereumSlotDuration: bigint | number;
20
- }): {
21
- client: T;
22
- delayer: Delayer;
23
- };
24
- //# sourceMappingURL=tx_delayer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tx_delayer.d.ts","sourceRoot":"","sources":["../../src/test/tx_delayer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,uBAAuB,CAAC;AAIlE,OAAO,EACL,KAAK,MAAM,EACX,KAAK,GAAG,EAER,KAAK,YAAY,EAKlB,MAAM,MAAM,CAAC;AAEd,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,oBAgBxG;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,oBAuB5G;AAED,MAAM,WAAW,OAAO;IACtB,gGAAgG;IAChG,MAAM,IAAI,GAAG,EAAE,CAAC;IAChB,8EAA8E;IAC9E,qBAAqB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IACxE,wEAAwE;IACxE,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;CAC3E;AAwBD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,YAAY,EAChD,MAAM,EAAE,CAAC,EACT,IAAI,EAAE;IAAE,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,GAC9C;IAAE,MAAM,EAAE,CAAC,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CA+DjC"}