Skip to content

Conversation

@yihuang
Copy link

@yihuang yihuang commented Sep 16, 2025

Solution:

  • fill in the precompile Contract parameters in the same way as EVM
    • caller and address are filled in consistent way as normal EVM contracts for four different call types.
    • value, gas are the same as before.
    • readOnly is only true for StaticCall.
  • context: feat: consistent precompile calling convention evm#605

Solution:
- fill in the precompile Contract parameters in the same way as EVM
- context: cosmos/evm#605
@yihuang yihuang changed the title Problem: precompile can't distinguish call types Problem: precompile don't carry full EVM context Nov 11, 2025
@yihuang yihuang marked this pull request as draft November 12, 2025 07:48
@yihuang
Copy link
Author

yihuang commented Nov 12, 2025

I think we can go directly to a minimized geth patch, so I'm closing this one now.

@yihuang yihuang closed this Nov 12, 2025
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