Open VRamakrishna opened 2 years ago
At the requesting network:
<source-relay-address>/<driver-address>/<ledger-id?>:<contract-name/address>:<fun-name-with-signature>:<colon-separated-args>
E.g.: localhost:9084/besu-network1/_:SimpleState:get(string):a
<source-relay-address>
in view address.At the source network:
<driver-address>
in the view address.Weaver_Data_Sharing
. Make sure there is only one event defined with the name Weaver_Data_Sharing
in Besu interop contract.web3.eth.getTransactionReceipt
) -> txRcpt.logIndex
(or id
) of the log whose address is interop contract and the event name is Weaver_Data_Sharing
.id
matches) and then get the payload by logs[logIndex].data
, which needs to be abi decoded. (Or parse the response object to obtain logs[logIndex].args.interop_payload
)blockHash
.receiptsRoot
in the Block Object.block.transactions
.merkle-patricia-trie
library, create the trie by inserting the transaction receipt objects (assuming the order is same in besu receipts trie).receiptsRoot
).recover
)At the requesting network:
LogIndex
from array of logs.log.data
to get interop payload.recover
to obtain public keys of the validators from the signatures (in the View) and block hash.Things to followup: