Update evm.md

Updated content for readability.
This commit is contained in:
Ian Traas 2022-08-09 10:26:10 -05:00 committed by GitHub
parent c11882dedb
commit cbadcab772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Receving Messages on EVM
To receive messages in EVM we need to implement a function `receiveMsg`. The name of this function is arbitrary, any function name works as long as your relayer knows what to call on the application contract when submitting messages.
To receive messages in EVM, first we need to implement a function `receiveMsg`. The name of this function is arbitrary, so any function name will work as long as your relayer knows what to call on the application contract when submitting messages.
This function will take in an encoded set of `bytes` as the VAA and then call the `parseAndVerifyVM` function on the Core Bridge to validate the message.