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

log when an l1 > l2 deposit tx is sent #150

Open
jakim929 opened this issue Sep 18, 2024 · 4 comments
Open

log when an l1 > l2 deposit tx is sent #150

jakim929 opened this issue Sep 18, 2024 · 4 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed unprioritized

Comments

@jakim929
Copy link
Contributor

can be confusing if nothing is logged since it's one of the first steps in the Getting started guide

@fainashalts fainashalts added the help wanted Extra attention is needed label Oct 24, 2024
@Ethanol48
Copy link

Ethanol48 commented Nov 1, 2024

Can I work on this?

@jakim929
Copy link
Contributor Author

jakim929 commented Nov 1, 2024

@Ethanol48 assigned! let me know if u run into anything

@Ethanol48
Copy link

Ethanol48 commented Nov 2, 2024

@Ethanol48 assigned! let me know if u run into anything

Just small question for a little guidance, the log should be in the part of execution in Go and not in Solidity rigth?

Could you point me out an example in the repo of a log? like l2 > l1 / l2 > l2

I've been exploring the repo and found this folder called bindings am I in the good direction or not?

@Ethanol48
Copy link

@Ethanol48 assigned! let me know if u run into anything

I think this issue is already resolved, in this demonstration of supersim: https://www.youtube.com/live/Kh4fNshcl5Y?t=25m30s, in this extract is shown how to send Ether from L1 to any L2, or I least I think so the transaction of Ether is sent from the L1, and I tested this workflow and logs when a deposit is detected.

for example with this message:

INFO [11-02|12:56:23.492] OptimismPortal#depositTransaction        chain.id=901 l2TxHash=0xe1aa6ad90633d9caf7afd1a2fb5dd26c2275b838e1d8381dbd7f2e8718a6fea0

But one thing to note, the example given in the docs, does not work, I debugged for some hours and I saw the video showing another method that worked, I think the method in the docs is deprecated, later today I'll create a PR for the docs with the method in the video

@Ethanol48 Ethanol48 mentioned this issue Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed unprioritized
Projects
None yet
Development

No branches or pull requests

3 participants