You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
So even tho I'm still curious about the raw calling of contructOutboxProof, I've figured out my 2nd point. If anyone is trying to do something like this, you can follow the steps from the outbox execution example but you need to call beforehand the registerCustomArbitrumNetwork on the orbit/sdk to submit info on your orbit L3.
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:
constructOutboxProof(uint64 size, uint64 leaf)
? How do I calculate this values? Is it from this equationposition = (level << 192) + leaf = (0 << 192) + leaf = leaf
? How do I calculate the "level"?The text was updated successfully, but these errors were encountered: