-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #256 from multiversx/rc/v1.7.0
`rc/v1.7.0`
- Loading branch information
Showing
34 changed files
with
558 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package data | ||
|
||
import "time" | ||
|
||
// LogEvent is the dto for the log event structure | ||
type LogEvent struct { | ||
ID string `json:"-"` | ||
TxHash string `json:"txHash"` | ||
OriginalTxHash string `json:"originalTxHash,omitempty"` | ||
LogAddress string `json:"logAddress"` | ||
Address string `json:"address"` | ||
Identifier string `json:"identifier"` | ||
Data string `json:"data,omitempty"` | ||
AdditionalData []string `json:"additionalData,omitempty"` | ||
Topics []string `json:"topics"` | ||
Order int `json:"order"` | ||
TxOrder int `json:"txOrder"` | ||
ShardID uint32 `json:"shardID"` | ||
Timestamp time.Duration `json:"timestamp,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3.0" | ||
services: | ||
elasticsearch: | ||
container_name: es-container | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
integrationtests/testdata/logsCrossShard/event-do-something.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"logAddress": "erd1ju8pkvg57cwdmjsjx58jlmnuf4l9yspstrhr9tgsrt98n9edpm2qtlgy99", | ||
"identifier": "do-something", | ||
"address": "erd1w7jyzuj6cv4ngw8luhlkakatjpmjh3ql95lmxphd3vssc4vpymks6k5th7", | ||
"topics": [ | ||
"746f70696331", | ||
"746f70696332" | ||
], | ||
"shardID": 1, | ||
"txHash": "63726f73732d6c6f67", | ||
"order": 1, | ||
"timestamp": 6040, | ||
"txOrder": 0 | ||
} |
15 changes: 15 additions & 0 deletions
15
integrationtests/testdata/logsCrossShard/event-transfer-destination.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"logAddress": "erd1ju8pkvg57cwdmjsjx58jlmnuf4l9yspstrhr9tgsrt98n9edpm2qtlgy99", | ||
"identifier": "ESDTTransfer", | ||
"address": "erd1ju8pkvg57cwdmjsjx58jlmnuf4l9yspstrhr9tgsrt98n9edpm2qtlgy99", | ||
"topics": [ | ||
"455344542d61626364", | ||
"", | ||
"01" | ||
], | ||
"shardID": 1, | ||
"txHash": "63726f73732d6c6f67", | ||
"order": 0, | ||
"timestamp": 6040, | ||
"txOrder": 0 | ||
} |
15 changes: 15 additions & 0 deletions
15
integrationtests/testdata/logsCrossShard/event-transfer-source-first.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"logAddress": "erd1ju8pkvg57cwdmjsjx58jlmnuf4l9yspstrhr9tgsrt98n9edpm2qtlgy99", | ||
"identifier": "ESDTTransfer", | ||
"address": "erd1ju8pkvg57cwdmjsjx58jlmnuf4l9yspstrhr9tgsrt98n9edpm2qtlgy99", | ||
"topics": [ | ||
"455344542d61626364", | ||
"", | ||
"01" | ||
], | ||
"shardID": 0, | ||
"txOrder": 0, | ||
"txHash": "63726f73732d6c6f67", | ||
"order": 0, | ||
"timestamp": 5040 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.