Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs update request: /build-decentralized-apps/nodeinterface/reference #1754

Open
dindonero opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@dindonero
Copy link

Source: https://docs.arbitrum.io/build-decentralized-apps/nodeinterface/reference

Request: Add information on how to call constructOutboxProof(uint64 size, uint64 leaf)

I'm launching an orbit node and I want to add a function that executes a message from L2 -> L1. So the user needs to call the executeTransaction in the Outbox contract on layer 1 and pass it the proof and all the other parameters.

How do I develop this in my front-end? More specifically:

  • What does the size and the leaf parameters refer to on the constructOutboxProof(uint64 size, uint64 leaf)? How do I calculate this values? Is it from this equation position = (level << 192) + leaf = (0 << 192) + leaf = leaf? How do I calculate the "level"?
  • I've found this example for outbox execution but I can't configure the address of the outbox, which is necessary for my orbit L3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant