Skip to content

Event prover #103

Answered by mfornet
cenwadike asked this question in Q&A
Apr 7, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

for the sake of completeness of knowledge, can the link of ext_prover be provided.

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.

I also don't really understand rlp role.

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.

I don't understand how input field in Event struct is populated.

It is the data related to Ethereum logs (which in this context are called Events). Check details on the implemen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cenwadike
Comment options

Answer selected by sept-en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants