Skip to content

Fix transfer_multi_assets precompile function signature#1605

Open
PassKeyRa wants to merge 1 commit intoAstarNetwork:masterfrom
PassKeyRa:master
Open

Fix transfer_multi_assets precompile function signature#1605
PassKeyRa wants to merge 1 commit intoAstarNetwork:masterfrom
PassKeyRa:master

Conversation

@PassKeyRa
Copy link

A 4-byte EVM function selector is computed as the first 4 bytes of keccak256(<function_signature_string>). Because the registered string of the XCM precompile function is transfet_multi_assets() rather than transfer_multi_assets() the on-chain selector is derived from the misspelled string.

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