@aztec/aztec 2.0.0-rc.14 → 2.0.0-rc.16

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.
@@ -1 +1 @@
1
- {"version":3,"file":"chain_l2_config.d.ts","sourceRoot":"","sources":["../../src/cli/chain_l2_config.ts"],"names":[],"mappings":"AACA,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACnF,OAAO,KAAK,EAAU,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAOrE,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAC3C,IAAI,CAAC,aAAa,EAAE,sBAAsB,GAAG,uBAAuB,CAAC,GAAG;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC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U,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAC;IAGpC,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEJ,eAAO,MAAM,4BAA4B,EAAE,aAwD1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,aA4ExC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aA4ElC,CAAC;AAIF,wBAAsB,YAAY,CAAC,WAAW,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,MAAM,gBAgC9E;AAED,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,YAAY,EACzB,QAAQ,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAkBpC;AAuBD,wBAAsB,gCAAgC,CAAC,WAAW,EAAE,YAAY,iBAyF/E"}
@@ -11,16 +11,21 @@ export const stagingIgnitionL2ChainConfig = {
11
11
  sponsoredFPC: false,
12
12
  p2pEnabled: true,
13
13
  p2pBootstrapNodes: [],
14
- registryAddress: '0x12b3ebc176a1646b911391eab3760764f2e05fe3',
14
+ registryAddress: '0xf299347e765cfb27f913bde8e4983fd0f195676f',
15
15
  slashFactoryAddress: '',
16
16
  feeAssetHandlerAddress: '',
17
17
  seqMinTxsPerBlock: 0,
18
18
  seqMaxTxsPerBlock: 0,
19
19
  realProofs: true,
20
20
  snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/',
21
- autoUpdate: 'disabled',
22
- autoUpdateUrl: undefined,
21
+ autoUpdate: 'config-and-version',
22
+ autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
23
23
  maxTxPoolSize: 100_000_000,
24
+ publicIncludeMetrics,
25
+ publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
26
+ publicMetricsCollectFrom: [
27
+ 'sequencer'
28
+ ],
24
29
  ...DefaultL1ContractsConfig,
25
30
  /** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
26
31
  /** How many seconds an L2 slots lasts (must be multiple of ethereum slot duration). */ aztecSlotDuration: 36,
@@ -55,15 +60,20 @@ export const stagingPublicL2ChainConfig = {
55
60
  sponsoredFPC: true,
56
61
  p2pEnabled: true,
57
62
  p2pBootstrapNodes: [],
58
- registryAddress: '0x8b98f6f1be418079ab6b1985b6d791e714403c21',
59
- slashFactoryAddress: '0x2f0a8bf8d36755f112975dae901214ff9a29fa21',
60
- feeAssetHandlerAddress: '0xedebab7f3c1aaa5392ee09a54df4d6a4ab4e251e',
63
+ registryAddress: '0x2e48addca360da61e4d6c21ff2b1961af56eb83b',
64
+ slashFactoryAddress: '0xe19410632fd00695bc5a08dd82044b7b26317742',
65
+ feeAssetHandlerAddress: '0xb46dc3d91f849999330b6dd93473fa29fc45b076',
61
66
  seqMinTxsPerBlock: 0,
62
67
  seqMaxTxsPerBlock: 20,
63
68
  realProofs: true,
64
69
  snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/',
65
- autoUpdate: 'disabled',
66
- autoUpdateUrl: undefined,
70
+ autoUpdate: 'config-and-version',
71
+ autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
72
+ publicIncludeMetrics,
73
+ publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
74
+ publicMetricsCollectFrom: [
75
+ 'sequencer'
76
+ ],
67
77
  maxTxPoolSize: 100_000_000,
68
78
  // Deployment stuff
69
79
  /** How many seconds an L1 slot lasts. */ ethereumSlotDuration: 12,
@@ -109,15 +119,15 @@ export const testnetL2ChainConfig = {
109
119
  sponsoredFPC: true,
110
120
  p2pEnabled: true,
111
121
  p2pBootstrapNodes: [],
112
- registryAddress: '0xec4156431d0f3df66d4e24ba3d30dcb4c85fa309',
113
- slashFactoryAddress: '0x8b1566249dc8fb47234037538ce491f9500480b1',
114
- feeAssetHandlerAddress: '0x4f0376b8bcbdf72ddb38c38f48317c00e9c9aec3',
122
+ registryAddress: '0xcfe61b2574984326679cd15c6566fbd4a724f3b4',
123
+ slashFactoryAddress: '0x58dc5b14f9d3085c9106f5b8208a1026f94614f0',
124
+ feeAssetHandlerAddress: '0x7abdec6e68ae27c37feb6a77371382a109ec4763',
115
125
  seqMinTxsPerBlock: 0,
116
126
  seqMaxTxsPerBlock: 20,
117
127
  realProofs: true,
118
128
  snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/',
119
129
  autoUpdate: 'config-and-version',
120
- autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/alpha-testnet.json',
130
+ autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
121
131
  maxTxPoolSize: 100_000_000,
122
132
  publicIncludeMetrics,
123
133
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
@@ -132,14 +142,14 @@ export const testnetL2ChainConfig = {
132
142
  /** The number of epochs after an epoch ends that proofs are still accepted. */ aztecProofSubmissionEpochs: 1,
133
143
  /** The deposit amount for a validator */ activationThreshold: DefaultL1ContractsConfig.activationThreshold,
134
144
  /** The minimum stake for a validator. */ ejectionThreshold: DefaultL1ContractsConfig.ejectionThreshold,
135
- /** The slashing round size */ slashingRoundSizeInEpochs: 4,
136
- /** Governance proposing round size */ governanceProposerRoundSize: 300,
145
+ /** The slashing round size */ slashingRoundSizeInEpochs: DefaultL1ContractsConfig.slashingRoundSizeInEpochs,
146
+ /** Governance proposing round size */ governanceProposerRoundSize: DefaultL1ContractsConfig.governanceProposerRoundSize,
137
147
  /** The mana target for the rollup */ manaTarget: DefaultL1ContractsConfig.manaTarget,
138
148
  /** The proving cost per mana */ provingCostPerMana: DefaultL1ContractsConfig.provingCostPerMana,
139
149
  /** Exit delay for stakers */ exitDelaySeconds: DefaultL1ContractsConfig.exitDelaySeconds,
140
150
  /** Tally-style slashing */ slasherFlavor: 'tally',
141
151
  /** Allow one round for vetoing */ slashingExecutionDelayInRounds: 1,
142
- /** How long for a slash payload to be executed */ slashingLifetimeInRounds: 4,
152
+ /** How long for a slash payload to be executed */ slashingLifetimeInRounds: 5,
143
153
  /** Allow 2 rounds to discover faults */ slashingOffsetInRounds: 2,
144
154
  /** No slash vetoer */ slashingVetoer: EthAddress.ZERO,
145
155
  /** Use default slash amounts */ slashAmountSmall: DefaultL1ContractsConfig.slashAmountSmall,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/aztec",
3
- "version": "2.0.0-rc.14",
3
+ "version": "2.0.0-rc.16",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -28,37 +28,37 @@
28
28
  "../package.common.json"
29
29
  ],
30
30
  "dependencies": {
31
- "@aztec/accounts": "2.0.0-rc.14",
32
- "@aztec/archiver": "2.0.0-rc.14",
33
- "@aztec/aztec-faucet": "2.0.0-rc.14",
34
- "@aztec/aztec-node": "2.0.0-rc.14",
35
- "@aztec/aztec.js": "2.0.0-rc.14",
36
- "@aztec/bb-prover": "2.0.0-rc.14",
37
- "@aztec/bb.js": "2.0.0-rc.14",
38
- "@aztec/blob-sink": "2.0.0-rc.14",
39
- "@aztec/bot": "2.0.0-rc.14",
40
- "@aztec/builder": "2.0.0-rc.14",
41
- "@aztec/cli": "2.0.0-rc.14",
42
- "@aztec/cli-wallet": "2.0.0-rc.14",
43
- "@aztec/constants": "2.0.0-rc.14",
44
- "@aztec/entrypoints": "2.0.0-rc.14",
45
- "@aztec/ethereum": "2.0.0-rc.14",
46
- "@aztec/foundation": "2.0.0-rc.14",
47
- "@aztec/kv-store": "2.0.0-rc.14",
48
- "@aztec/l1-artifacts": "2.0.0-rc.14",
49
- "@aztec/node-lib": "2.0.0-rc.14",
50
- "@aztec/noir-contracts.js": "2.0.0-rc.14",
51
- "@aztec/noir-protocol-circuits-types": "2.0.0-rc.14",
52
- "@aztec/p2p": "2.0.0-rc.14",
53
- "@aztec/p2p-bootstrap": "2.0.0-rc.14",
54
- "@aztec/protocol-contracts": "2.0.0-rc.14",
55
- "@aztec/prover-client": "2.0.0-rc.14",
56
- "@aztec/prover-node": "2.0.0-rc.14",
57
- "@aztec/pxe": "2.0.0-rc.14",
58
- "@aztec/stdlib": "2.0.0-rc.14",
59
- "@aztec/telemetry-client": "2.0.0-rc.14",
60
- "@aztec/txe": "2.0.0-rc.14",
61
- "@aztec/world-state": "2.0.0-rc.14",
31
+ "@aztec/accounts": "2.0.0-rc.16",
32
+ "@aztec/archiver": "2.0.0-rc.16",
33
+ "@aztec/aztec-faucet": "2.0.0-rc.16",
34
+ "@aztec/aztec-node": "2.0.0-rc.16",
35
+ "@aztec/aztec.js": "2.0.0-rc.16",
36
+ "@aztec/bb-prover": "2.0.0-rc.16",
37
+ "@aztec/bb.js": "2.0.0-rc.16",
38
+ "@aztec/blob-sink": "2.0.0-rc.16",
39
+ "@aztec/bot": "2.0.0-rc.16",
40
+ "@aztec/builder": "2.0.0-rc.16",
41
+ "@aztec/cli": "2.0.0-rc.16",
42
+ "@aztec/cli-wallet": "2.0.0-rc.16",
43
+ "@aztec/constants": "2.0.0-rc.16",
44
+ "@aztec/entrypoints": "2.0.0-rc.16",
45
+ "@aztec/ethereum": "2.0.0-rc.16",
46
+ "@aztec/foundation": "2.0.0-rc.16",
47
+ "@aztec/kv-store": "2.0.0-rc.16",
48
+ "@aztec/l1-artifacts": "2.0.0-rc.16",
49
+ "@aztec/node-lib": "2.0.0-rc.16",
50
+ "@aztec/noir-contracts.js": "2.0.0-rc.16",
51
+ "@aztec/noir-protocol-circuits-types": "2.0.0-rc.16",
52
+ "@aztec/p2p": "2.0.0-rc.16",
53
+ "@aztec/p2p-bootstrap": "2.0.0-rc.16",
54
+ "@aztec/protocol-contracts": "2.0.0-rc.16",
55
+ "@aztec/prover-client": "2.0.0-rc.16",
56
+ "@aztec/prover-node": "2.0.0-rc.16",
57
+ "@aztec/pxe": "2.0.0-rc.16",
58
+ "@aztec/stdlib": "2.0.0-rc.16",
59
+ "@aztec/telemetry-client": "2.0.0-rc.16",
60
+ "@aztec/txe": "2.0.0-rc.16",
61
+ "@aztec/world-state": "2.0.0-rc.16",
62
62
  "@types/chalk": "^2.2.0",
63
63
  "abitype": "^0.8.11",
64
64
  "chalk": "^5.3.0",
@@ -40,16 +40,19 @@ export const stagingIgnitionL2ChainConfig: L2ChainConfig = {
40
40
  sponsoredFPC: false,
41
41
  p2pEnabled: true,
42
42
  p2pBootstrapNodes: [],
43
- registryAddress: '0x12b3ebc176a1646b911391eab3760764f2e05fe3',
43
+ registryAddress: '0xf299347e765cfb27f913bde8e4983fd0f195676f',
44
44
  slashFactoryAddress: '',
45
45
  feeAssetHandlerAddress: '',
46
46
  seqMinTxsPerBlock: 0,
47
47
  seqMaxTxsPerBlock: 0,
48
48
  realProofs: true,
49
49
  snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/',
50
- autoUpdate: 'disabled',
51
- autoUpdateUrl: undefined,
50
+ autoUpdate: 'config-and-version',
51
+ autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-ignition.json',
52
52
  maxTxPoolSize: 100_000_000, // 100MB
53
+ publicIncludeMetrics,
54
+ publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
55
+ publicMetricsCollectFrom: ['sequencer'],
53
56
 
54
57
  ...DefaultL1ContractsConfig,
55
58
 
@@ -95,15 +98,18 @@ export const stagingPublicL2ChainConfig: L2ChainConfig = {
95
98
  sponsoredFPC: true,
96
99
  p2pEnabled: true,
97
100
  p2pBootstrapNodes: [],
98
- registryAddress: '0x8b98f6f1be418079ab6b1985b6d791e714403c21',
99
- slashFactoryAddress: '0x2f0a8bf8d36755f112975dae901214ff9a29fa21',
100
- feeAssetHandlerAddress: '0xedebab7f3c1aaa5392ee09a54df4d6a4ab4e251e',
101
+ registryAddress: '0x2e48addca360da61e4d6c21ff2b1961af56eb83b',
102
+ slashFactoryAddress: '0xe19410632fd00695bc5a08dd82044b7b26317742',
103
+ feeAssetHandlerAddress: '0xb46dc3d91f849999330b6dd93473fa29fc45b076',
101
104
  seqMinTxsPerBlock: 0,
102
105
  seqMaxTxsPerBlock: 20,
103
106
  realProofs: true,
104
107
  snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/',
105
- autoUpdate: 'disabled',
106
- autoUpdateUrl: undefined,
108
+ autoUpdate: 'config-and-version',
109
+ autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/staging-public.json',
110
+ publicIncludeMetrics,
111
+ publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
112
+ publicMetricsCollectFrom: ['sequencer'],
107
113
  maxTxPoolSize: 100_000_000, // 100MB
108
114
 
109
115
  // Deployment stuff
@@ -170,15 +176,15 @@ export const testnetL2ChainConfig: L2ChainConfig = {
170
176
  sponsoredFPC: true,
171
177
  p2pEnabled: true,
172
178
  p2pBootstrapNodes: [],
173
- registryAddress: '0xec4156431d0f3df66d4e24ba3d30dcb4c85fa309',
174
- slashFactoryAddress: '0x8b1566249dc8fb47234037538ce491f9500480b1',
175
- feeAssetHandlerAddress: '0x4f0376b8bcbdf72ddb38c38f48317c00e9c9aec3',
179
+ registryAddress: '0xcfe61b2574984326679cd15c6566fbd4a724f3b4',
180
+ slashFactoryAddress: '0x58dc5b14f9d3085c9106f5b8208a1026f94614f0',
181
+ feeAssetHandlerAddress: '0x7abdec6e68ae27c37feb6a77371382a109ec4763',
176
182
  seqMinTxsPerBlock: 0,
177
183
  seqMaxTxsPerBlock: 20,
178
184
  realProofs: true,
179
185
  snapshotsUrl: 'https://storage.googleapis.com/aztec-testnet/snapshots/',
180
186
  autoUpdate: 'config-and-version',
181
- autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/alpha-testnet.json',
187
+ autoUpdateUrl: 'https://storage.googleapis.com/aztec-testnet/auto-update/testnet.json',
182
188
  maxTxPoolSize: 100_000_000, // 100MB
183
189
  publicIncludeMetrics,
184
190
  publicMetricsCollectorUrl: 'https://telemetry.alpha-testnet.aztec-labs.com/v1/metrics',
@@ -200,9 +206,9 @@ export const testnetL2ChainConfig: L2ChainConfig = {
200
206
  /** The minimum stake for a validator. */
201
207
  ejectionThreshold: DefaultL1ContractsConfig.ejectionThreshold,
202
208
  /** The slashing round size */
203
- slashingRoundSizeInEpochs: 4,
209
+ slashingRoundSizeInEpochs: DefaultL1ContractsConfig.slashingRoundSizeInEpochs,
204
210
  /** Governance proposing round size */
205
- governanceProposerRoundSize: 300,
211
+ governanceProposerRoundSize: DefaultL1ContractsConfig.governanceProposerRoundSize,
206
212
  /** The mana target for the rollup */
207
213
  manaTarget: DefaultL1ContractsConfig.manaTarget,
208
214
  /** The proving cost per mana */
@@ -214,7 +220,7 @@ export const testnetL2ChainConfig: L2ChainConfig = {
214
220
  /** Allow one round for vetoing */
215
221
  slashingExecutionDelayInRounds: 1,
216
222
  /** How long for a slash payload to be executed */
217
- slashingLifetimeInRounds: 4,
223
+ slashingLifetimeInRounds: 5,
218
224
  /** Allow 2 rounds to discover faults */
219
225
  slashingOffsetInRounds: 2,
220
226
  /** No slash vetoer */