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

OR-1534 update bindings template #128

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

nguyenzung
Copy link
Member

Failed when running devnet with new generated-bindings (by cd op-bindings, "make" and start make devnet-up"

Fix: update bindings template file, refer to: https://github.com/tokamak-network/tokamak-thanos/blob/OR-1257-Update-smart-contracts-for-deposit-TON-in-L1/op-bindings/gen/main.go

I am not sure why the source map generator part was deleted. Please let me know if you have ideas.

Thank you very much!

@steven94kr
Copy link
Member

I'm sorry. I haven't check this code...
https://github.com/tokamak-network/tokamak-thanos/pull/119/files#diff-cc007ce30bf79eb0a7cf1e89f8fec8028a04ab68915b9a5101cae1961b3e837eR316

@AaronLee22
Can you check it again? I want to know if we can remove sourceMap or not. If we can't delete sourceMap, we have to approve this PR and find the other way to make hardhat binding.

Copy link
Member

@steven94kr steven94kr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked it works (hardhat-binding as well!)
I heard that Aaron have used optimism's legacy code. So there is no specific reason. I'm sorry for my missing.
Thank you very much! 🙇🏼‍♂️😍😍

Copy link
Member

@0x6e616d 0x6e616d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@nguyenzung nguyenzung force-pushed the OR-1534-thanos-canyon-fix-generate-go-binding branch from 4101594 to 63f9d94 Compare April 17, 2024 02:18
@nguyenzung nguyenzung merged commit 63a3403 into main Apr 17, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants