@aztec/epoch-cache 2.0.3 → 2.0.4
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.
- package/dest/epoch_cache.d.ts +1 -1
- package/dest/epoch_cache.js +1 -1
- package/package.json +5 -5
- package/src/epoch_cache.ts +1 -1
package/dest/epoch_cache.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ export declare class EpochCache implements EpochCacheInterface {
|
|
|
94
94
|
nextProposer: EthAddress | undefined;
|
|
95
95
|
}>;
|
|
96
96
|
/**
|
|
97
|
-
* Get the proposer attester address in the
|
|
97
|
+
* Get the proposer attester address in the given L2 slot
|
|
98
98
|
* @returns The proposer attester address. If the committee does not exist, we throw a NoCommitteeError.
|
|
99
99
|
* If the committee is empty (i.e. target committee size is 0, and anyone can propose), we return undefined.
|
|
100
100
|
*/
|
package/dest/epoch_cache.js
CHANGED
|
@@ -212,7 +212,7 @@ import { getEpochCacheConfigEnvVars } from './config.js';
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* Get the proposer attester address in the
|
|
215
|
+
* Get the proposer attester address in the given L2 slot
|
|
216
216
|
* @returns The proposer attester address. If the committee does not exist, we throw a NoCommitteeError.
|
|
217
217
|
* If the committee is empty (i.e. target committee size is 0, and anyone can propose), we return undefined.
|
|
218
218
|
*/ getProposerAttesterAddressInSlot(slot) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/epoch-cache",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"../package.common.json"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aztec/ethereum": "2.0.
|
|
30
|
-
"@aztec/foundation": "2.0.
|
|
31
|
-
"@aztec/l1-artifacts": "2.0.
|
|
32
|
-
"@aztec/stdlib": "2.0.
|
|
29
|
+
"@aztec/ethereum": "2.0.4",
|
|
30
|
+
"@aztec/foundation": "2.0.4",
|
|
31
|
+
"@aztec/l1-artifacts": "2.0.4",
|
|
32
|
+
"@aztec/stdlib": "2.0.4",
|
|
33
33
|
"@viem/anvil": "^0.0.10",
|
|
34
34
|
"dotenv": "^16.0.3",
|
|
35
35
|
"get-port": "^7.1.0",
|
package/src/epoch_cache.ts
CHANGED
|
@@ -270,7 +270,7 @@ export class EpochCache implements EpochCacheInterface {
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
* Get the proposer attester address in the
|
|
273
|
+
* Get the proposer attester address in the given L2 slot
|
|
274
274
|
* @returns The proposer attester address. If the committee does not exist, we throw a NoCommitteeError.
|
|
275
275
|
* If the committee is empty (i.e. target committee size is 0, and anyone can propose), we return undefined.
|
|
276
276
|
*/
|