Content pfp
Content
@
0 reply
0 recast
0 reaction

StErMi pfp
StErMi
@stermi
Don't ask me why, but I've always been fascinated by the concept of bridge and cross chain. After the Blast contest from Cantina I'm planning to do a much better deep dive into @optimism and how it works. I hope in the future to be asked to join some security review around this topic.
1 reply
0 recast
5 reactions

maurelian  pfp
maurelian
@maurelian.eth
Might be a contest coming up
2 replies
0 recast
2 reactions

StErMi pfp
StErMi
@stermi
About OP? Please wait until I've finished Blast :D Is there a E2E flow/explanation on how an OP tx works from L1→L2 and L2→L1? Maybe I missed it in the docs because it's huge, and I had not gone through the whole...
1 reply
0 recast
0 reaction

maurelian  pfp
maurelian
@maurelian.eth
The docs were recently overhauled and honestly I'm not familiar with their updates, but I'm now going to just dump some resources on you. This is the one diagram I've made that I can find. It's very bare bones, and focused on the L1 -> L2 flow.
1 reply
0 recast
3 reactions

maurelian  pfp
maurelian
@maurelian.eth
Links to code referenced there: https://github.com/ethereum-optimism/op-geth/blob/optimism/core/state_transition.go#L289 https://github.com/ethereum-optimism/op-geth/blob/optimism/core/state_transition.go#L289 https://github.com/ethereum-optimism/optimism/blob/develop/op-node/rollup/derive/deposit_log.go#L1
1 reply
0 recast
1 reaction

maurelian  pfp
maurelian
@maurelian.eth
https://github.com/ethereum-optimism/op-geth/blob/optimism/core/types/deposit_tx.go#L27
1 reply
0 recast
1 reaction

maurelian  pfp
maurelian
@maurelian.eth
Definitely recommend the deposit specs as well for the L1->L2 direction. https://github.com/ethereum-optimism/specs/blob/b1c9b7985b65bd2d065a414f5ad0552f36e48540/specs/protocol/deposits.md#user-deposited-transactions
1 reply
0 recast
1 reaction

maurelian  pfp
maurelian
@maurelian.eth
And for the opposite direction, see https://github.com/ethereum-optimism/specs/blob/main/specs/withdrawals.md#L1
1 reply
0 recast
1 reaction

StErMi pfp
StErMi
@stermi
Thanks for sharing them! It will be very helpful and as I said, I'll drop tons of questions while I'll try to do a review.
1 reply
0 recast
1 reaction

StErMi pfp
StErMi
@stermi
The bigger "issue" for me will be when I'll need to fill the gaps between the Solidity part and the Go part. I have no knowledge of Go, and I want to be sure to understand what's going on when things are picked from L1/L2 to be "forwarded" to L2/L1.
1 reply
0 recast
0 reaction

StErMi pfp
StErMi
@stermi
I don't want to see it as something that has magically happened, but probably I'll do that as first to speed up things. I'll try to integrate that knowledge in the future.
1 reply
0 recast
0 reaction

maurelian  pfp
maurelian
@maurelian.eth
“Magic” was that my term? I do think of it like that sometimes. There’s also this site which is kind of an annotated geth/op-geth diff https://op-geth.optimism.io/
1 reply
0 recast
0 reaction