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

Fix ibc commitments #45

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Fix ibc commitments #45

merged 2 commits into from
Aug 27, 2024

Conversation

yoshidan
Copy link
Contributor

@yoshidan yoshidan changed the base branch from develop to main August 26, 2024 13:01
Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan force-pushed the change_commitment_slot branch from 91f5578 to d9ce6b9 Compare August 26, 2024 13:04
@yoshidan yoshidan requested a review from bluele August 26, 2024 13:21
Comment on lines 13 to 14
"solidity-rlp": "2.0.8",
"solidity-mpt": "0.1.0"
Copy link
Member

Choose a reason for hiding this comment

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

@yoshidan Do you need these dependencies?

@@ -16,6 +17,8 @@ import (

var _ core.Prover = (*Prover)(nil)

var IBCCommitmentsSlot = common.HexToHash("1ee222554989dda120e26ecacf756fe1235cd8d726706b57517715dde4f0c900")
Copy link
Member

Choose a reason for hiding this comment

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

@yoshidan Can you add a comment // keccak256(abi.encode(uint256(keccak256("ibc.commitment")) - 1)) & ~bytes32(uint256(0xff)) to the above line?

Signed-off-by: Naohiro Yoshida <[email protected]>
Copy link
Member

@bluele bluele left a comment

Choose a reason for hiding this comment

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

@yoshidan Thanks! LGTM👍

@yoshidan yoshidan merged commit a2d85a8 into main Aug 27, 2024
2 checks passed
@yoshidan yoshidan deleted the change_commitment_slot branch August 27, 2024 03:41
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.

2 participants