Skip to content

Commit d0ea69f

Browse files
authored
add blockTimestamp to logs (#639)
1 parent e92738b commit d0ea69f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/eth/filter.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
removed: false
8787
blockNumber: '0x233'
8888
blockHash: '0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5'
89+
blockTimestamp: '0x11'
8990
transactionHash: '0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d'
9091
transactionIndex: '0x0'
9192
address: '0x42699a7612a82f1d9c36148af9c77354759b210b'
@@ -96,6 +97,7 @@
9697
removed: false
9798
blockNumber: '0x238'
9899
blockHash: '0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed'
100+
blockTimestamp: '0x22'
99101
transactionHash: '0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058'
100102
transactionIndex: '0x0'
101103
address: '0x42699a7612a82f1d9c36148af9c77354759b210b'
@@ -123,6 +125,7 @@
123125
- logIndex: '0x0'
124126
removed: false
125127
blockNumber: '0x233'
128+
blockTimestamp: '0x11'
126129
blockHash: '0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5'
127130
transactionHash: '0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d'
128131
transactionIndex: '0x0'
@@ -133,6 +136,7 @@
133136
- logIndex: '0x0'
134137
removed: false
135138
blockNumber: '0x238'
139+
blockTimestamp: '0x22'
136140
blockHash: '0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed'
137141
transactionHash: '0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058'
138142
transactionIndex: '0x0'
@@ -165,6 +169,7 @@
165169
- logIndex: '0x0'
166170
removed: false
167171
blockNumber: '0x233'
172+
blockTimestamp: '0x11'
168173
blockHash: '0xfc139f5e2edee9e9c888d8df9a2d2226133a9bd87c88ccbd9c930d3d4c9f9ef5'
169174
transactionHash: '0x66e7a140c8fa27fe98fde923defea7562c3ca2d6bb89798aabec65782c08f63d'
170175
transactionIndex: '0x0'
@@ -175,6 +180,7 @@
175180
- logIndex: '0x0'
176181
removed: false
177182
blockNumber: '0x238'
183+
blockTimestamp: '0x22'
178184
blockHash: '0x98b0ec0f9fea0018a644959accbe69cd046a8582e89402e1ab0ada91cad644ed'
179185
transactionHash: '0xdb17aa1c2ce609132f599155d384c0bc5334c988a6c368056d7e167e23eee058'
180186
transactionIndex: '0x0'

src/schemas/receipt.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Log:
2323
blockNumber:
2424
title: block number
2525
$ref: '#/components/schemas/uint'
26+
blockTimestamp:
27+
title: block timestamp
28+
$ref: '#/components/schemas/uint'
2629
address:
2730
title: address
2831
$ref: '#/components/schemas/address'

0 commit comments

Comments
 (0)