-
Notifications
You must be signed in to change notification settings - Fork 39
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
In design, are system contracts addresses able to be payable? #1490
Comments
|
But when I do transfer in MetaMask, it returns "Invalid system script transaction". So, can you confirm what you said above? |
Sorry, I forget the call system contract inspection: axon/core/mempool/src/adapter/mod.rs Lines 182 to 200 in e64f03c
Nobody can send tokens to a system contract address because if the transaction calls a system contract address, executor will not execute it in EVM. axon/core/executor/src/system_contract/mod.rs Lines 204 to 223 in e64f03c
|
Please check the Metadata contract address in the Axon internal testnet. Its balance is 1,539.471495196523525479 ETH.
The inspection could be bypassed. How to reproduce?I have checked the latest commit 8a0e1a9. I think I have got the same result. |
@driftluo please check why the transfer process of system contract transactions can be executed. The system contract does not execute in EVM and change the balance. |
Because the rust code won't be called in the EVM executor. The executor will fetch the data of that address and execute the data as code. |
Question
In other words, could I send tokens to a system contract address?
The text was updated successfully, but these errors were encountered: