Skip to content

Commit e850866

Browse files
authored
Merge pull request #1270 from smartcontractkit/bug/light-clients
Remove required logIndex and transactionIndex for light client support
2 parents f8c960c + 2083f7f commit e850866

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

core/store/models/eth.go

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ type Log struct {
3636
// hash of the transaction
3737
TxHash common.Hash `json:"transactionHash"`
3838
// index of the transaction in the block
39-
TxIndex uint `json:"transactionIndex" gencodec:"required"`
39+
TxIndex uint `json:"transactionIndex"`
4040
// hash of the block in which the transaction was included
4141
BlockHash common.Hash `json:"blockHash"`
4242
// index of the log in the receipt
43-
Index uint `json:"logIndex" gencodec:"required"`
43+
Index uint `json:"logIndex"`
4444

4545
// The Removed field is true if this log was reverted due to a chain reorganisation.
4646
// You must pay attention to this field if you receive logs through a filter query.

core/store/models/gen_log_json.go

100644100755
Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)