Update evm.md

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

View File

@ -1,6 +1,8 @@
# Registering Emitters: EVM
Specifying applications that our EVM application is allowed to listen to is a fairly simple process; We can create a mapping of chainId to bytes32 addresses of the relevant contracts on other chains. The chainId used here is the *wormhole* chainId, and the address used here is the address in *bytes*.
To specify applications that our EVM application is allowed to listen to, we can create a mapping of chainId to bytes32 addresses of the relevant contracts on other chains.
The chainId used here is the *wormhole* chainId, and the address used here is the address in *bytes*.
```solidity
@ -23,4 +25,4 @@ contract Messenger {
}
```
If you have more than one address per chainId that you want to listen to, consider making the mapping into bytes32[].
If you have more than one address per chainId that you want to listen to, consider making the mapping into bytes32[].