-
Can someone please explain in simple words what this code does. link below I understand |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here is the code for Prover: ext_prover::verify_log_entry. It is used this way for cross contract calls on NEAR, in this case it calls the prover on Mainnet.
RLP is the standard for binary serialization in Ethereum, and we keep it as is for simplicity at review time! It is relevant for data that should be hashed, and it is expected that the content to match byte by byte to the original.
It is the data related to Ethereum logs (which in this context are called Events). Check details on the implementation. It basically have the definition of the event (Name, Signatures, Indexed Flag). |
Beta Was this translation helpful? Give feedback.
Here is the code for Prover: ext_prover::verify_log_entry. It is used this way for cross contract calls on NEAR, in this case it calls the prover on Mainnet.
RLP is the standard for binary serialization in Ethereum, and we keep it as is for simplicity at review time! It is relevant for data that should be hashed, and it is expected that the content to match byte by byte to the original.
It is the data related to Ethereum logs (which in this context are called Events). Check details on the implemen…