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 generate_source_to_evm_ins_mapping #1567

Merged
merged 1 commit into from
Jun 3, 2023
Merged

Conversation

A-23187
Copy link
Contributor

@A-23187 A-23187 commented Jan 7, 2023

In generate_source_to_evm_ins_mapping, the statement offset, _length, file_id, _ = mapping_item for unpacking the source mapping items will not work in new solidity versions. Because the generated source mapping items are in the format s:l:f:j:m since solidity v0.6.0, the new field m has been added. See more here source-mappings

@CLAassistant
Copy link

CLAassistant commented Jan 7, 2023

CLA assistant check
All committers have signed the CLA.

@montyly montyly changed the base branch from master to dev January 9, 2023 10:39
@montyly montyly self-requested a review as a code owner January 9, 2023 10:39
@A-23187
Copy link
Contributor Author

A-23187 commented May 31, 2023

@montyly, hi, are there any other problems for this pull request? I see it's still under review.

@0xalpharush 0xalpharush merged commit 5f9abc2 into crytic:dev Jun 3, 2023
@0xalpharush
Copy link
Contributor

Thanks @A-23187!

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