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 keccak256(abi.encodePacked(addr, index)) => keccak256(abi.encode(… #786

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LingYe-WEB3
Copy link

…addr, index))

What type of PR is this (这是什么类型的PR)

  • [✅ ] Typo(勘误)
  • BUG(程序错误)
  • Improvement(提升)
  • Feature(新特性)

Which issue(s) this PR fixes(Optional) (这个PR 修复了什么问题 (可选择))

  • resolve(修复) : #

What this PR does / why we need it (这个PR 做了什么/ 我们为什么需要这个PR)

在solidity的mapping计算插槽位置的计算方式错误,由abi.encodePacked更新为abi.encode

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.

1 participant