Skip to content

Conversation

@cameel
Copy link
Collaborator

@cameel cameel commented Dec 22, 2020

Fixes #4698.

Depends on #10819. Don't merge until that PR is merged!. It's on develop now.

This PR adds --interface option to prepare_report.py to allow selecting between doing the compilation via Standard JSON or via the ordinary CLI interface.

It also modifies the existing CI jobs to create both versions of the report to make sure they're identical.

@cameel cameel self-assigned this Dec 22, 2020
@cameel cameel force-pushed the cli-bytecode-comparison branch from 0f67e2f to 5551f4d Compare December 22, 2020 09:23
@cameel cameel force-pushed the refactor-bytecode-comparison-scripts branch from 170e193 to efe25ba Compare December 22, 2020 09:26
@cameel cameel force-pushed the cli-bytecode-comparison branch 2 times, most recently from 1d1294c to fd6e67a Compare December 22, 2020 10:04
@cameel cameel force-pushed the cli-bytecode-comparison branch from ca9fd0d to 98fbf61 Compare January 11, 2021 16:08
Base automatically changed from refactor-bytecode-comparison-scripts to develop January 11, 2021 17:57
@cameel cameel force-pushed the cli-bytecode-comparison branch 2 times, most recently from d426e3b to 0870d13 Compare January 18, 2021 19:36
@cameel cameel force-pushed the cli-bytecode-comparison branch from d0b3402 to 429c711 Compare January 19, 2021 17:24
@leonardoalt
Copy link

@cameel bytecode comparison is failing though

@cameel cameel marked this pull request as draft January 20, 2021 11:19
@cameel
Copy link
Collaborator Author

cameel commented Jan 20, 2021

Yeah, I know. I'm working on a fix: #10822.

Anyway, I'm switching this PR to draft mode. It can be reviewed but I'm still working on resolving minor issues so it's not mergable yet.

@cameel cameel force-pushed the cli-bytecode-comparison branch 4 times, most recently from 9f115ef to 5f41135 Compare January 21, 2021 11:59
@cameel cameel changed the base branch from develop to python-unit-tests-in-ci January 21, 2021 12:02
@cameel cameel force-pushed the python-unit-tests-in-ci branch from 4465e6e to 8c88bb0 Compare January 21, 2021 15:24
@cameel cameel force-pushed the cli-bytecode-comparison branch 3 times, most recently from b5951da to eb081ad Compare January 22, 2021 12:14
@cameel cameel force-pushed the python-unit-tests-in-ci branch 3 times, most recently from 564f963 to cf147fa Compare January 22, 2021 12:41
Base automatically changed from python-unit-tests-in-ci to develop January 22, 2021 14:30
@cameel cameel force-pushed the cli-bytecode-comparison branch from eb081ad to 5e70dd1 Compare January 22, 2021 14:32
@cameel cameel marked this pull request as ready for review January 22, 2021 14:32
@cameel
Copy link
Collaborator Author

cameel commented Jan 22, 2021

Bytecode comparison problems have been resolved so this is now ready.

@cameel cameel force-pushed the cli-bytecode-comparison branch 3 times, most recently from 8d34c08 to dd95291 Compare January 23, 2021 00:12
@cameel cameel force-pushed the cli-bytecode-comparison branch from dd95291 to 3b03bc7 Compare January 26, 2021 13:13
Copy link

@leonardoalt leonardoalt left a comment

Choose a reason for hiding this comment

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

lgtm but it would be good to have another pair of eyes on the python code

@leonardoalt
Copy link

Also please rebase

@cameel cameel force-pushed the cli-bytecode-comparison branch from 3b03bc7 to 53f9a11 Compare January 26, 2021 22:31
@cameel
Copy link
Collaborator Author

cameel commented Jan 26, 2021

Rebased. I thought I rebased it just after the Z3 4.8.10 merge but it must have been a little too early :)

@cameel cameel requested review from Marenz, aarlt and axic January 27, 2021 11:41
@chriseth chriseth merged commit 46bb81d into develop Jan 28, 2021
@chriseth chriseth deleted the cli-bytecode-comparison branch January 28, 2021 10:58
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.

Compare output of solc (not via standard json) in bytecodecomparison

4 participants