@apibara/evm 2.1.0-beta.41 → 2.1.0-beta.42
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/block.ts +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -843,11 +843,11 @@ declare const BlockHeader: MessageCodec<{
|
|
|
843
843
|
blockHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
844
844
|
parentBlockHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
845
845
|
unclesHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
846
|
-
miner: Codec<`0x${string}
|
|
846
|
+
miner: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
847
847
|
stateRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
848
848
|
transactionsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
849
849
|
receiptsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
850
|
-
logsBloom: Codec<`0x${string}
|
|
850
|
+
logsBloom: Codec<`0x${string}` | undefined, {
|
|
851
851
|
value?: Uint8Array | undefined;
|
|
852
852
|
} | undefined>;
|
|
853
853
|
difficulty: Codec<bigint, U256$1 | undefined>;
|
|
@@ -1354,11 +1354,11 @@ declare const Block: MessageCodec<{
|
|
|
1354
1354
|
blockHash?: `0x${string}` | undefined;
|
|
1355
1355
|
parentBlockHash: `0x${string}`;
|
|
1356
1356
|
unclesHash: `0x${string}`;
|
|
1357
|
-
miner
|
|
1357
|
+
miner?: `0x${string}` | undefined;
|
|
1358
1358
|
stateRoot: `0x${string}`;
|
|
1359
1359
|
transactionsRoot: `0x${string}`;
|
|
1360
1360
|
receiptsRoot: `0x${string}`;
|
|
1361
|
-
logsBloom
|
|
1361
|
+
logsBloom?: `0x${string}` | undefined;
|
|
1362
1362
|
difficulty: bigint;
|
|
1363
1363
|
gasLimit: bigint;
|
|
1364
1364
|
gasUsed: bigint;
|
|
@@ -1690,11 +1690,11 @@ declare const EvmStream: StreamConfig<Readonly<{
|
|
|
1690
1690
|
blockHash?: `0x${string}` | undefined;
|
|
1691
1691
|
parentBlockHash: `0x${string}`;
|
|
1692
1692
|
unclesHash: `0x${string}`;
|
|
1693
|
-
miner
|
|
1693
|
+
miner?: `0x${string}` | undefined;
|
|
1694
1694
|
stateRoot: `0x${string}`;
|
|
1695
1695
|
transactionsRoot: `0x${string}`;
|
|
1696
1696
|
receiptsRoot: `0x${string}`;
|
|
1697
|
-
logsBloom
|
|
1697
|
+
logsBloom?: `0x${string}` | undefined;
|
|
1698
1698
|
difficulty: bigint;
|
|
1699
1699
|
gasLimit: bigint;
|
|
1700
1700
|
gasUsed: bigint;
|
package/dist/index.d.mts
CHANGED
|
@@ -843,11 +843,11 @@ declare const BlockHeader: MessageCodec<{
|
|
|
843
843
|
blockHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
844
844
|
parentBlockHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
845
845
|
unclesHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
846
|
-
miner: Codec<`0x${string}
|
|
846
|
+
miner: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
847
847
|
stateRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
848
848
|
transactionsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
849
849
|
receiptsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
850
|
-
logsBloom: Codec<`0x${string}
|
|
850
|
+
logsBloom: Codec<`0x${string}` | undefined, {
|
|
851
851
|
value?: Uint8Array | undefined;
|
|
852
852
|
} | undefined>;
|
|
853
853
|
difficulty: Codec<bigint, U256$1 | undefined>;
|
|
@@ -1354,11 +1354,11 @@ declare const Block: MessageCodec<{
|
|
|
1354
1354
|
blockHash?: `0x${string}` | undefined;
|
|
1355
1355
|
parentBlockHash: `0x${string}`;
|
|
1356
1356
|
unclesHash: `0x${string}`;
|
|
1357
|
-
miner
|
|
1357
|
+
miner?: `0x${string}` | undefined;
|
|
1358
1358
|
stateRoot: `0x${string}`;
|
|
1359
1359
|
transactionsRoot: `0x${string}`;
|
|
1360
1360
|
receiptsRoot: `0x${string}`;
|
|
1361
|
-
logsBloom
|
|
1361
|
+
logsBloom?: `0x${string}` | undefined;
|
|
1362
1362
|
difficulty: bigint;
|
|
1363
1363
|
gasLimit: bigint;
|
|
1364
1364
|
gasUsed: bigint;
|
|
@@ -1690,11 +1690,11 @@ declare const EvmStream: StreamConfig<Readonly<{
|
|
|
1690
1690
|
blockHash?: `0x${string}` | undefined;
|
|
1691
1691
|
parentBlockHash: `0x${string}`;
|
|
1692
1692
|
unclesHash: `0x${string}`;
|
|
1693
|
-
miner
|
|
1693
|
+
miner?: `0x${string}` | undefined;
|
|
1694
1694
|
stateRoot: `0x${string}`;
|
|
1695
1695
|
transactionsRoot: `0x${string}`;
|
|
1696
1696
|
receiptsRoot: `0x${string}`;
|
|
1697
|
-
logsBloom
|
|
1697
|
+
logsBloom?: `0x${string}` | undefined;
|
|
1698
1698
|
difficulty: bigint;
|
|
1699
1699
|
gasLimit: bigint;
|
|
1700
1700
|
gasUsed: bigint;
|
package/dist/index.d.ts
CHANGED
|
@@ -843,11 +843,11 @@ declare const BlockHeader: MessageCodec<{
|
|
|
843
843
|
blockHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
844
844
|
parentBlockHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
845
845
|
unclesHash: Codec<`0x${string}`, B256$1 | undefined>;
|
|
846
|
-
miner: Codec<`0x${string}
|
|
846
|
+
miner: Codec<`0x${string}` | undefined, Address$1 | undefined>;
|
|
847
847
|
stateRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
848
848
|
transactionsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
849
849
|
receiptsRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
850
|
-
logsBloom: Codec<`0x${string}
|
|
850
|
+
logsBloom: Codec<`0x${string}` | undefined, {
|
|
851
851
|
value?: Uint8Array | undefined;
|
|
852
852
|
} | undefined>;
|
|
853
853
|
difficulty: Codec<bigint, U256$1 | undefined>;
|
|
@@ -1354,11 +1354,11 @@ declare const Block: MessageCodec<{
|
|
|
1354
1354
|
blockHash?: `0x${string}` | undefined;
|
|
1355
1355
|
parentBlockHash: `0x${string}`;
|
|
1356
1356
|
unclesHash: `0x${string}`;
|
|
1357
|
-
miner
|
|
1357
|
+
miner?: `0x${string}` | undefined;
|
|
1358
1358
|
stateRoot: `0x${string}`;
|
|
1359
1359
|
transactionsRoot: `0x${string}`;
|
|
1360
1360
|
receiptsRoot: `0x${string}`;
|
|
1361
|
-
logsBloom
|
|
1361
|
+
logsBloom?: `0x${string}` | undefined;
|
|
1362
1362
|
difficulty: bigint;
|
|
1363
1363
|
gasLimit: bigint;
|
|
1364
1364
|
gasUsed: bigint;
|
|
@@ -1690,11 +1690,11 @@ declare const EvmStream: StreamConfig<Readonly<{
|
|
|
1690
1690
|
blockHash?: `0x${string}` | undefined;
|
|
1691
1691
|
parentBlockHash: `0x${string}`;
|
|
1692
1692
|
unclesHash: `0x${string}`;
|
|
1693
|
-
miner
|
|
1693
|
+
miner?: `0x${string}` | undefined;
|
|
1694
1694
|
stateRoot: `0x${string}`;
|
|
1695
1695
|
transactionsRoot: `0x${string}`;
|
|
1696
1696
|
receiptsRoot: `0x${string}`;
|
|
1697
|
-
logsBloom
|
|
1697
|
+
logsBloom?: `0x${string}` | undefined;
|
|
1698
1698
|
difficulty: bigint;
|
|
1699
1699
|
gasLimit: bigint;
|
|
1700
1700
|
gasUsed: bigint;
|
package/dist/index.mjs
CHANGED
|
@@ -4064,11 +4064,11 @@ const BlockHeader = MessageCodec({
|
|
|
4064
4064
|
blockHash: OptionalCodec(B256$1),
|
|
4065
4065
|
parentBlockHash: RequiredCodec(B256$1),
|
|
4066
4066
|
unclesHash: RequiredCodec(B256$1),
|
|
4067
|
-
miner:
|
|
4067
|
+
miner: OptionalCodec(Address$1),
|
|
4068
4068
|
stateRoot: RequiredCodec(B256$1),
|
|
4069
4069
|
transactionsRoot: RequiredCodec(B256$1),
|
|
4070
4070
|
receiptsRoot: RequiredCodec(B256$1),
|
|
4071
|
-
logsBloom:
|
|
4071
|
+
logsBloom: OptionalCodec(Bloom),
|
|
4072
4072
|
difficulty: RequiredCodec(U256$1),
|
|
4073
4073
|
gasLimit: RequiredCodec(U128$1),
|
|
4074
4074
|
gasUsed: RequiredCodec(U128$1),
|