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

Bug: Mismatching lockingbytecodes #286

Open
kiok46 opened this issue Mar 2, 2025 · 1 comment
Open

Bug: Mismatching lockingbytecodes #286

kiok46 opened this issue Mar 2, 2025 · 1 comment

Comments

@kiok46
Copy link
Contributor

kiok46 commented Mar 2, 2025

The bytecode produced outside of the transaction is different when debugging when using the MockNetworkProvider.

How to reproduce?

https://github.com/kiok46/open-debugging This relies on #285 to enable debugging as without it this will fail before logging

fooLockingBytecode:  aa20979f7ee31731a30e9029667531b9da8f90fd3f5f21e35b620afc88ab1590931087
barLockingBytecode:  aa20d4b44242a31b8885b18f4a2d2d5ba9881ca8822d4cbb50c45746797b9b20cb7e87
bazLockingBytecode:  aa209cbbd473d205d27f205459eae57ac0dd99d4a54948e9b33ed527ca5ac528bafb87
Foo.cash:7 0xaa2067774086d772be0228ffb2cb1197d56c0859f349cca45f76f170dc7259056e0387
Foo.cash:9 0xaa20bf51ff24566006ac2b61cf40e2a5c2b0af4a43118d3a8fd84804f1a3f5bfad8a87
Foo.cash:11 0xaa20bf51ff24566006ac2b61cf40e2a5c2b0af4a43118d3a8fd84804f1a3f5bfad8a87
Bar.cash:7 0xaa2067774086d772be0228ffb2cb1197d56c0859f349cca45f76f170dc7259056e0387
Baz.cash:7 0xaa2067774086d772be0228ffb2cb1197d56c0859f349cca45f76f170dc7259056e0387
@mr-zwets
Copy link
Member

mr-zwets commented Mar 3, 2025

The introspection of lockingbytecode in the BitauthIDE will be different than the real lockingbytecode as long as we don't address issue #215 where we currently use the non-optimized bytecode for debugging

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

No branches or pull requests

2 participants