Skip to content

Conversation

@alexggh
Copy link

@alexggh alexggh commented Nov 10, 2025

Discovered while running #287 (comment) that using ecx.tx.origin as the origin for bare_call and bare_instantiate messes up the generated address for create2 calls, so use the caller and add a mock hook to be able to prank the origin when needed.

Depends on: paritytech/polkadot-sdk#10272

Signed-off-by: Alexandru Gheorghe <[email protected]>
@alexggh alexggh requested a review from smiasojed November 10, 2025 16:05
Signed-off-by: Alexandru Gheorghe <[email protected]>
Signed-off-by: Alexandru Gheorghe <[email protected]>
Signed-off-by: Alexandru Gheorghe <[email protected]>
@alexggh alexggh merged commit 652d703 into master Nov 14, 2025
79 of 91 checks passed
@alexggh alexggh deleted the alexggh/fix_origin branch November 14, 2025 14:09
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