-
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 #281 from multiversx/change-indexing-mechanism-for…
…-cross-shard-esdt-transfer New indexing mechanism for cross-shard esdt transfer
- Loading branch information
Showing
6 changed files
with
385 additions
and
4 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
34 changes: 34 additions & 0 deletions
34
integrationtests/testdata/esdtTransfer/esdt-transfer-cross-shard-on-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,34 @@ | ||
{ | ||
"miniBlockHash": "579fe2f60e8fa9c396254b2173282c6ecb6e736b42e015c3b744c86001be3981", | ||
"nonce": 1, | ||
"round": 55, | ||
"value": "0", | ||
"valueNum": 0, | ||
"receiver": "erd13u7zyekzvdvzek8768r5gau9p6677ufppsjuklu9e6t7yx7rhg4s68e2ze", | ||
"sender": "erd1ef6470tjdtlgpa9f6g3ae4nsedmjg0gv6w73v32xtvhkfff993hq750xl9", | ||
"receiverShard": 1, | ||
"senderShard": 2, | ||
"gasPrice": 1000000000, | ||
"gasLimit": 500000, | ||
"gasUsed": 334000, | ||
"fee": "136000000000000", | ||
"feeNum": 0.000136, | ||
"initialPaidFee": "137660000000000", | ||
"data": "RVNEVFRyYW5zZmVyQDU0NDc0ZTJkMzgzODYyMzgzMzY2QDBh", | ||
"signature": "", | ||
"timestamp": 10102, | ||
"status": "success", | ||
"searchOrder": 0, | ||
"hasScResults": true, | ||
"tokens": [ | ||
"TGN-88b83f" | ||
], | ||
"esdtValues": [ | ||
"10" | ||
], | ||
"esdtValuesNum": [ | ||
1e-17 | ||
], | ||
"type": "normal", | ||
"operation": "ESDTTransfer" | ||
} |
34 changes: 34 additions & 0 deletions
34
integrationtests/testdata/esdtTransfer/esdt-transfer-cross-shard-on-source.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,34 @@ | ||
{ | ||
"miniBlockHash": "579fe2f60e8fa9c396254b2173282c6ecb6e736b42e015c3b744c86001be3981", | ||
"nonce": 1, | ||
"round": 50, | ||
"value": "0", | ||
"valueNum": 0, | ||
"receiver": "erd13u7zyekzvdvzek8768r5gau9p6677ufppsjuklu9e6t7yx7rhg4s68e2ze", | ||
"sender": "erd1ef6470tjdtlgpa9f6g3ae4nsedmjg0gv6w73v32xtvhkfff993hq750xl9", | ||
"receiverShard": 1, | ||
"senderShard": 2, | ||
"gasPrice": 1000000000, | ||
"gasLimit": 500000, | ||
"gasUsed": 334000, | ||
"fee": "136000000000000", | ||
"feeNum": 0.000136, | ||
"initialPaidFee": "137660000000000", | ||
"data": "RVNEVFRyYW5zZmVyQDU0NDc0ZTJkMzgzODYyMzgzMzY2QDBh", | ||
"signature": "", | ||
"timestamp": 10101, | ||
"status": "pending", | ||
"searchOrder": 0, | ||
"hasScResults": true, | ||
"tokens": [ | ||
"TGN-88b83f" | ||
], | ||
"esdtValues": [ | ||
"10" | ||
], | ||
"esdtValuesNum": [ | ||
1e-17 | ||
], | ||
"type": "normal", | ||
"operation": "ESDTTransfer" | ||
} |
34 changes: 34 additions & 0 deletions
34
integrationtests/testdata/esdtTransfer/esdt-transfer-first-on-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,34 @@ | ||
{ | ||
"data": "RVNEVFRyYW5zZmVyQDU0NDc0ZTJkMzgzODYyMzgzMzY2QDBh", | ||
"signature": "", | ||
"fee": "137660000000000", | ||
"esdtValues": [ | ||
"10" | ||
], | ||
"initialPaidFee": "137660000000000", | ||
"type": "normal", | ||
"gasLimit": 500000, | ||
"esdtValuesNum": [ | ||
1e-17 | ||
], | ||
"gasUsed": 500000, | ||
"miniBlockHash": "d0f273198e773465908be139872605d93e86115b6320f9b34edb6a5e38668989", | ||
"senderShard": 2, | ||
"tokens": [ | ||
"TGN-88b83f" | ||
], | ||
"value": "0", | ||
"gasPrice": 1000000000, | ||
"timestamp": 10102, | ||
"receiver": "erd13u7zyekzvdvzek8768r5gau9p6677ufppsjuklu9e6t7yx7rhg4s68e2ze", | ||
"valueNum": 0, | ||
"feeNum": 0.00013766, | ||
"nonce": 1, | ||
"round": 55, | ||
"hasScResults": true, | ||
"sender": "erd1ef6470tjdtlgpa9f6g3ae4nsedmjg0gv6w73v32xtvhkfff993hq750xl9", | ||
"receiverShard": 1, | ||
"operation": "ESDTTransfer", | ||
"status": "success", | ||
"searchOrder": 0 | ||
} |
34 changes: 34 additions & 0 deletions
34
integrationtests/testdata/esdtTransfer/esdt-transfer-second-on-source.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,34 @@ | ||
{ | ||
"data": "RVNEVFRyYW5zZmVyQDU0NDc0ZTJkMzgzODYyMzgzMzY2QDBh", | ||
"signature": "", | ||
"fee": "136000000000000", | ||
"esdtValues": [ | ||
"10" | ||
], | ||
"initialPaidFee": "137660000000000", | ||
"type": "normal", | ||
"gasLimit": 500000, | ||
"esdtValuesNum": [ | ||
1e-17 | ||
], | ||
"gasUsed": 334000, | ||
"miniBlockHash": "d0f273198e773465908be139872605d93e86115b6320f9b34edb6a5e38668989", | ||
"senderShard": 2, | ||
"tokens": [ | ||
"TGN-88b83f" | ||
], | ||
"value": "0", | ||
"gasPrice": 1000000000, | ||
"timestamp": 10102, | ||
"receiver": "erd13u7zyekzvdvzek8768r5gau9p6677ufppsjuklu9e6t7yx7rhg4s68e2ze", | ||
"valueNum": 0, | ||
"feeNum": 0.000136, | ||
"nonce": 1, | ||
"round": 55, | ||
"hasScResults": true, | ||
"sender": "erd1ef6470tjdtlgpa9f6g3ae4nsedmjg0gv6w73v32xtvhkfff993hq750xl9", | ||
"receiverShard": 1, | ||
"operation": "ESDTTransfer", | ||
"status": "success", | ||
"searchOrder": 0 | ||
} |
Oops, something went wrong.