@lodestar/fork-choice 1.22.0-dev.44b215667e → 1.22.0-dev.4e22884db5
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,6 +1,6 @@
|
|
|
1
1
|
import { EffectiveBalanceIncrements } from "@lodestar/state-transition";
|
|
2
2
|
import { CachedBeaconStateAllForks } from "@lodestar/state-transition";
|
|
3
|
-
import { Epoch, Slot, ValidatorIndex, phase0, Root, RootHex, BeaconBlock } from "@lodestar/types";
|
|
3
|
+
import { Epoch, Slot, ValidatorIndex, phase0, Root, RootHex, BeaconBlock, IndexedAttestation } from "@lodestar/types";
|
|
4
4
|
import { ProtoBlock, MaybeValidExecutionStatus, LVHExecResponse, ProtoNode, DataAvailabilityStatus } from "../protoArray/interface.js";
|
|
5
5
|
import { CheckpointWithHex } from "./store.js";
|
|
6
6
|
import { UpdateAndGetHeadOpt } from "./forkChoice.js";
|
|
@@ -136,7 +136,7 @@ export interface IForkChoice {
|
|
|
136
136
|
* The supplied `attestation` **must** pass the `in_valid_indexed_attestation` function as it
|
|
137
137
|
* will not be run here.
|
|
138
138
|
*/
|
|
139
|
-
onAttestation(attestation:
|
|
139
|
+
onAttestation(attestation: IndexedAttestation, attDataRoot: string, forceImport?: boolean): void;
|
|
140
140
|
/**
|
|
141
141
|
* Register attester slashing in order not to consider their votes in `getHead`
|
|
142
142
|
*
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/ChainSafe/lodestar/issues"
|
|
13
13
|
},
|
|
14
|
-
"version": "1.22.0-dev.
|
|
14
|
+
"version": "1.22.0-dev.4e22884db5",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": "./lib/index.js",
|
|
17
17
|
"types": "./lib/index.d.ts",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"check-readme": "typescript-docs-verifier"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@chainsafe/ssz": "^0.17.
|
|
40
|
-
"@lodestar/config": "1.22.0-dev.
|
|
41
|
-
"@lodestar/params": "1.22.0-dev.
|
|
42
|
-
"@lodestar/state-transition": "1.22.0-dev.
|
|
43
|
-
"@lodestar/types": "1.22.0-dev.
|
|
44
|
-
"@lodestar/utils": "1.22.0-dev.
|
|
39
|
+
"@chainsafe/ssz": "^0.17.1",
|
|
40
|
+
"@lodestar/config": "1.22.0-dev.4e22884db5",
|
|
41
|
+
"@lodestar/params": "1.22.0-dev.4e22884db5",
|
|
42
|
+
"@lodestar/state-transition": "1.22.0-dev.4e22884db5",
|
|
43
|
+
"@lodestar/types": "1.22.0-dev.4e22884db5",
|
|
44
|
+
"@lodestar/utils": "1.22.0-dev.4e22884db5"
|
|
45
45
|
},
|
|
46
46
|
"keywords": [
|
|
47
47
|
"ethereum",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"beacon",
|
|
50
50
|
"blockchain"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "ebc51e8d58568dc88b2519d53a9fe260bc69804b"
|
|
53
53
|
}
|